This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS320F28388D:尝试设置 GPIO 引脚。 编译时不应出现的问题。

Guru**** 2619215 points

Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1018257/tms320f28388d-trying-to-setup-the-gpio-pins-problems-with-compiling-that-should-not-occur

器件型号:TMS320F28388D
主题中讨论的其他器件:C2000WARESysConfig

首先、我是一个老大-我的职业生涯比你年龄大。 我被用于命令行。 您的 GUI 配置混乱。 我在这方面损失了2个完整的日子。

我所能做的是:获取 Hello World、以便从两个 CPU (在不同的时间)打印到控制台。 我有扩展坞和开发板。

我要做的是设置 GPIO 引脚。

我一直在努力做的是:

  • 从 hello.c 开始
  • 将 GPIO .c 和.h 文件放入项目中(通过 project->add files)
  • 清理编译。

我似乎通过 project->add 文件包含了这些文件,因为我可以在目录中看到它们所在的位置&&可以修改它们(请参阅"#warning")

我必须逐条记录包含哪些*。h 文件。 这就是#warnings 的来源。

我的问题是:

  • 并不完全清楚文件的实际位置、即编译器认为它们是什么与它们实际的位置
  • 我没有得到干净的编译。 我得到:

>>编译失败
subdir_rules.mk:9:目标'GPIO_ex1_setup.obj'的配方失败
"...\device.h"、第46行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/device.h
"...\cpu.h"、第54行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/cpu.h
"...\cpu.h"、第515行:错误#20:标识符"size_t"未定义
"...\GPIA.h"、第344行:错误#20:标识符"size_t"未定义
"...\device.h"、第52行:致命错误#35:#ERROR 指令:"必须在项目属性中定义 CPU1或 CPU2。 否则、头文件中的偏移量将不准确。"
在"../GPIO_ex1_setup.c"的编译中检测到2个错误和1个灾难性错误。

(忽略 CPU1/CPU2消息-我知道如何解决-大鱼炸)

首先、我遇到了.h 文件不喜欢"uint8_t"的问题-我能够找到 stdint.h 文件的位置/位置(使用"stdint.h"、而不是 如果你看,我能够添加警告,告诉我.h 文件确实在使用中。

但是-(这让我感到很震惊) size_t 不起作用。 WTF??? 这 一行来自 cpu.h: cpu_handle cpu_init (void *pMemory、const size_t numBytes);

我尝试附加 PDF、但您的 BRAINDAMAGED 表格不允许我这样做。 如果不允许您附加图像文件,那么它的作用是什么!!!!

'(是的、我很沮丧)

我需要什么

  • 向工程中添加文件的教程(这意味着除猜测之外、其他文件有效的教程)(我看了看、找不到一个)
    • 我需要创建一个控制 GPIO 的项目
    • 我认为这是一个能够创建我的应用的"大家好的世界"-如果我无法从 GPIO 代码段创建项目、我就无法执行主任务。
  • size_t 条形码的原因。 (40多年来,我有超过100万个 C LOC)-我*从未*看到过这一点)

如果我无法获得一些帮助、下一步是将整个目录结构剥离到裸片文件中。

此外-目录 C:\C2000Ware\C2000Ware_3_04_00_00\driverlib\f2838x\examples\C28x\GPIO\ccs 具有三个*。projectspec 文件。 如何使用它们? 我尝试了几种方法、但无法使其正常工作。

我将继续把我的头绑在墙上、但将非常感谢帮助。 我喜欢 TI 支持。

hello_gpio.c 是基本功能-甚至没有尝试调用 GPIO 函数(已合理地记录这些函数)

#include
/**
* hello.c
*
int main (空)

printf ("Hello World!\n");

返回0;

完整的错误报告为:

****项目 hello_gpio 的配置调试构建****

"C:\\clients\Xona\\compiler\\ccs\\utils\\bin\\gmake"-k -j 8 all -O

编译文件:"../GPIO_ex1_setup.c"
调用:C2000编译器
"c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/project/test_1/hello_gpio/Debug/syscfg -v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -include_path="C:/clients/Xona/project/test_1/hello_gpio -include_path="C:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include -idive"-printf_support=idive---tmu0-include_display_subsection-exabi_subs=raine_display-exabi_subsepd_subsection-subsection-ex-expinflat_gui_subs=-ex-ex_priot_gui_en_gui_en_ex-ex-inue_display_subsep-ex_priot_gui_gui_gui_gui_off-ex_panag_subsep-inueld_subs=

>>编译失败
subdir_rules.mk:9:目标'GPIO_ex1_setup.obj'的配方失败
"...\device.h"、第46行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/device.h
"...\cpu.h"、第54行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/cpu.h
"...\cpu.h"、第515行:错误#20:标识符"size_t"未定义
"...\GPIA.h"、第344行:错误#20:标识符"size_t"未定义
"...\device.h"、第52行:致命错误#35:#ERROR 指令:"必须在项目属性中定义 CPU1或 CPU2。 否则、头文件中的偏移量将不准确。"
在"../GPIO_ex1_setup.c"的编译中检测到2个错误和1个灾难性错误。
编译已终止。
gmake:***[GPIO_ex1_setup.obj]错误1.
编译文件:"../GPIO_ex2_toggle.c"
调用:C2000编译器
"c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/project/test_1/hello_gpio/Debug/syscfg "-v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -include_path="C:/clients/Xona/project/test_1/hello_gpio -include_path="C:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include -idive"-printf_support=idive-mu_support=tmu0-include_exabi_subs=rainat_subs=-ex_priendit_subs=-abi_subs=gpf-ex-ex-abi_subs=inflag_subs=-ex-ab_ex-ex-ab_subsection_subsection_ex-ex-ex-ab2_prive_display_subs=gpf-ex-ab_subsep_ab_ab_subsection_ex-ex-ex-ex

>>编译失败
subdir_rules.mk:9:目标'GPIO_ex2_toggle.obj'的配方失败
"...\cpu.h"、第54行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/cpu.h
"...\cpu.h"、第515行:错误#20:标识符"size_t"未定义
"...\GPIA.h"、第344行:错误#20:标识符"size_t"未定义
"...\device.h"、第46行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/device.h
"...\device.h"、第52行:致命错误#35:#ERROR 指令:"必须在项目属性中定义 CPU1或 CPU2。 否则、头文件中的偏移量将不准确。"
在编译"./GPIO_ex2_toggle.c"时检测到2个错误和1个灾难性错误。
编译已终止。
gmake:***[GPIO_ex2_toggle.obj]错误1.
编译文件:"../GPIO_ex3_interrupt.c"
调用:C2000编译器
"c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/project/test_1/hello_gpio/Debug/syscfg -v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -include_path="C:/clients/Xona/project/test_1/hello_gpio -include_path="C:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include -idive"-printf_support=idive-tmu_support=tmu0 -include_display_subsection-exabi_subs=rupt_ine_influ_exabi_subsection-ex-inat_subs=-ex-intrab_subsection_ination_sepat_influation_reamag_inat_inat_inat_ex-ex-ex-inat_inat_ex-ex-inu_subsection_ex-ex-inu_inu_inu_inu_

>>编译失败
subdir_rules.mk:9:目标'GPIO_ex3_interrupt.obj'的配方失败
"...\cpu.h"、第54行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/cpu.h
"...\cpu.h"、第515行:错误#20:标识符"size_t"未定义
"...\GPIA.h"、第344行:错误#20:标识符"size_t"未定义
"...\device.h"、第46行:警告#1181-D:#warning 指令:"c:/clients/Xona/project/test_1/hello_gpio/device.h
"...\device.h"、第52行:致命错误#35:#ERROR 指令:"必须在项目属性中定义 CPU1或 CPU2。 否则、头文件中的偏移量将不准确。"
在"../GPIO_ex3_interrupt.c"的编译中检测到2个错误和1个灾难性错误。
编译已终止。
gmake:***[GPIO_ex3_interrupt.obj]错误1.
gmake:目标"全部"不会由于错误而重新生成。

****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Bandit、

    没问题! 我可以让您启动并运行!  

    我理解您的沮丧... 整个世界都在转向 GUI。。。

    但是、为了让您顺利进行、我们不建议从空白 CCS 项目开始、然后自行添加所有内容。 始终从示例工程开始、然后重命名该工程+修改代码。

    这些项目中已经内置了项目属性、从 RAM 运行进行调试的能力和用于生产的闪存。 您的堆栈和堆大小、链接器命令文件、库都在您执行此操作时自动出现在那里。

    所以、

    1.下载 CCS

    2.下载 C2000Ware

    启动 CCS、在顶部单击"Project"->"Import CCS Project"。

    然后浏览到 C:\C2000Ware\C2000Ware_3_04_00_00\driverlib\f2838x\examples\C28x\GPIO\ccs

    然后、"Projects"列表将显示在"CCS Import CCS Project"对话框中。

    最后选择所需的项目、并将其导入 CCS!

    NIMA

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    首先、我必须切换到闪存、因为 RAM 不够大

    我知道 GPIO0是基板上的引脚49。

    所以-这个部件起作用了。

    请说明 RAM 不够大的原因-正是您的演示无法加载 RAM (CPU1)

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    .text 是否适合或其他部分不适合?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    QA 需要加强其游戏。 例如:我尝试获取 RAM/闪存的使用。 我尝试了资源管理器

    我更新了资源管理器。 我遵循了需要更新的说明。 例如、它指示按"OK"按钮。 没有"确定"按钮。 所述的更新路径为:

     https://software-dl.ti.com/ccs/esd/tirex/updates/tirex-4.8.0

    但是、右键单击复制路径不允许复制地址。 您需要选择要复制的文本和 ctl-c。 这是令人恼火的。

    此外、完成后、会出现一个框、提示您必须重新引导。 但是:重新启动什么? 工具还是机器? 该工具 要求重新启动。 弹出窗口需要更显式。

    这是原始示例。 我所做的唯一更改是 printf(): printf("GPIO_pin (%d)\n",myGPIOOutput0 );

    "../2838x_RAM_lnk_CPU1.cmd"、第67行:错误#10099-D:程序不能放入可用存储器、或者该段包含需要无法为此段生成的 trampoline 的调用站点。 对齐/分块放置在".text"大小为0x29bcpage 0的段中失败。 可用存储器范围:
    RAMD0大小:0x800未使用:0x0最大孔:0x0
    RAMD1大小:0x800未使用:0x0最大孔:0x0
    RAMLS0大小:0x800未使用:0x1最大孔:0x1
    RAMLS1大小:0x800未使用:0x256最大孔:0x256
    RAMLS2大小:0x800未使用:0x800最大孔:0x800
    RAMLS3大小:0x800未使用:0x800最大孔:0x800

    未定义的首次引用
    符号
    ------ --------
    RamfuncsLoadSize ./device/device.obj
    RamfuncsLoadStart ./device/device.obj
    RamfuncsRunStart ./device/device.obj


    错误#10234-D:未解析的符号仍然存在
    >>编译失败
    Makefile:147:目标'GPIO_ex2_toggle.out'的配方失败
    错误#10010:链接期间遇到错误;未构建"GPIO_ex2_toggle.out"
    gmaked[1]:***[GPIO_ex2_toggle.out]错误1.
    gmake:***[全部]错误2.
    Makefile:143:目标'all'的配方失败

    ****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    QA 需要加强其游戏。 例如:我尝试获取 RAM/闪存的使用。 我尝试了资源管理器

    我更新了资源管理器。 我遵循了需要更新的说明。 例如、它指示按"OK"按钮。 没有"确定"按钮。 所述的更新路径为:

     https://software-dl.ti.com/ccs/esd/tirex/updates/tirex-4.8.0

    但是、右键单击复制路径不允许复制地址。 您需要选择要复制的文本和 ctl-c。 这是令人恼火的。

    此外、完成后、会出现一个框、提示您必须重新引导。 但是:重新启动什么? 工具还是机器? 该工具 要求重新启动。 t

    弹出窗口需要更显式。

    ===================================================================================================

    奇怪

    我从头开始重建。 唯一可用的配置是 CPU1_RAM、但如果我选择 FLASH_lnk_CPU1.cmd、它似乎会构建闪存版本

    为什么看不到 CPU1_FLASH? 我第一次构建项目时也是如此。

    此外、当我再次重建时、我会得到一个干净的 RAM 构建

    ===================================================================================================

    这是原始示例。 我所做的唯一更改是 printf(): printf("GPIO_pin (%d)\n",myGPIOOutput0 );

    这显示了使用 RAM_lnk 时的错误

    "../2838x_RAM_lnk_CPU1.cmd"、第67行:错误#10099-D:程序不能放入可用存储器、或者该段包含需要无法为此段生成的 trampoline 的调用站点。 对齐/分块放置在".text"大小为0x29bcpage 0的段中失败。 可用存储器范围:
    RAMD0大小:0x800未使用:0x0最大孔:0x0
    RAMD1大小:0x800未使用:0x0最大孔:0x0
    RAMLS0大小:0x800未使用:0x1最大孔:0x1
    RAMLS1大小:0x800未使用:0x256最大孔:0x256
    RAMLS2大小:0x800未使用:0x800最大孔:0x800
    RAMLS3大小:0x800未使用:0x800最大孔:0x800

    未定义的首次引用
    符号
    ------ --------
    RamfuncsLoadSize ./device/device.obj
    RamfuncsLoadStart ./device/device.obj
    RamfuncsRunStart ./device/device.obj


    错误#10234-D:未解析的符号仍然存在
    >>编译失败
    Makefile:147:目标'GPIO_ex2_toggle.out'的配方失败
    错误#10010:链接期间遇到错误;未构建"GPIO_ex2_toggle.out"
    gmaked[1]:***[GPIO_ex2_toggle.out]错误1.
    gmake:***[全部]错误2.
    Makefile:143:目标'all'的配方失败

    ****构建完成****

    ====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

    当我获得与 RAM_lnk (刚刚开始)的清晰编译/链接时

    如果您首先执行 flash_lnk、似乎"error #10234-D:unresolved symbols remain "会得到解决

    --------------------------


    ****项目 GPIO_ex2_toggle 的配置 CPU1_RAM 纯净构建****

    "C:\\clients\Xona\\compiler\\ccs\\utils\\bin\\gmake"-k -j 8 clean -O

    DEL /F "syscfg\board.h""syscfg\pinmux.csv ""GPIO_ex2_toggle.hex""syscfg\board.c""GPIO_ex2_toggle.out"
    del /F "GPIO_ex2_toggle.obj""syscfg\board.obj""device\device.obj""device\f2838x_codestartbranch.obj"
    DEL /F "GPIO_ex2_toggle.d""syscfg\board.d" device\device.d"
    del /F "device\f2838x_codestartbranch.d"
    rmdir /S/Q "syscfg\"
    找不到 C:\clients\Xona\project\test_4\GPIO_ex2_toggle\cPU1_RAM\GPIO_ex2_toggle.hex
    找不到 C:\clients\Xona\project\test_4\GPIO_ex2_toggle\cPU1_RAM\device\f2838x_codestartbranch.d
    已完成清理

    ****构建完成****

    ****为项目 GPIO_ex2_toggle 构建配置 CPU1_RAM ****

    "C:\\clients\Xona\\compiler\\ccs\\utils\\bin\\gmake"-k -j 8 all -O

    编译文件:"../GPIO_ex2_toggle.syscfg"
    调用:SysConfig
    "c:/clients/Xona/compiler/ccs/utils/sysconfig_1.7.0/sysconfig_cli.bat -d "F2838x"-s "C:/clients/Xona/C2000Ware/C2000Ware_3_04_00_00/.metadata/sdk.json -o "syscfg"--package 337bga --part F2838x_337bga "./gpio_ex2_toggle.syscfg"
    正在运行脚本...
    正在验证...
    正在生成代码...

    写入 C:\clients\Xona\project\test_4\GPIO_ex2_toggle \cPU1_RAM\syscfg\board.c.
    写入 C:\clients\Xona\project\test_4\GPIO_ex2_toggle \cPU1_RAM\syscfg\board.h..
    写入 C:\clients\Xona\project\test_4\GPIO_ex2_toggle \cPU1_RAM\syscfg\pinmux.csv ...
    完成构建:"../GPIO_ex2_toggle.syscfg"

    编译文件:"../device/f2838x_codestartbranch.asm
    调用:C2000编译器
    "c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/project/test_4/gpio_ex2_toggle/device /clients/Xona/C2000Ware/C2000Ware_3_04_00_00/driverlib/f2838x/driverlib /clients/Xona/project/test_4/gpio_ex2_toggle/CPU1_RAM/syscfg /device/f2838x_codestartbranch.asm -v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -off -include_path="C:/clients/Xona/project/test_4/gpio_ex2_toggle /clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include -include_path="C:subsection="cus_expression_expression-d_subsection=dprob-section_express-code.comprintrab_code.compru_subsection=d_code.compru_code.combuld_probi-board=d_code.htm-code_subsection_codest-code.combuld_code.com_code.com_intrab_subsection=d_codest-code.com_probi-f_code.combi-board-intrab_subsection=d_codest-codest-inategine-board-ine-intrab-code.com_subsep-ine-ine-ine-ine-ine-in
    已完成构建:"./device/f2838x_codestartbranch.asm

    构建文件:"SYSCFG/board.c"
    调用:C2000编译器
    "c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/project/test_4/gpio_ex2_toggle/device /clients/Xona/C2000Ware/C2000Ware_3_04_00_00/driverlib/f2838x/driverlib "-v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -off -include_path="C:/clients/Xona/project/test_4/gpio_ex2_toggle /clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include -include_path="c:subsection_support=fulation_sensore-board-board.cn_subsectionId=c=cus_board-board-refug_guest-board-board-board-intrabout_subsepd_subsepd_guide-d_guest_guide-d_guide-d_guide-d_guide-d=-ines=-ine_display_guide-d_subsepd_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d=-in /clients/Xona/project/test_4/gpio_ex2_toggle/CPU1_RAM/syscfg
    完成构建:"SYSCFG/board.c"

    编译文件:"../GPIO_ex2_toggle.c"
    调用:C2000编译器
    "c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/C2000Ware/C2000Ware_3_04_00_00/driverlib/f2838x/driverlib "-v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -off -include_path="C:/clients/Xona/project/test_4/gpio_ex2_toggle /clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include -include_path="C:/clients/Xona/project/test_4/gpio_ex2_toggle/device /clients/Xona/project/test_4/gpio_ex2_toggle/CPU1_RAM/syscfg -expression_subsection=gpf-expression_gui_supervase-board-express-expin_gui_gui_gui_gui_expression-express-ine-d_gui_gui_gui_gui_expression-ex-ines=d_gui_gui_gui_gui_gui_express-ines=d_guidi_ex-ines=d_guidi_ex-ex-intrag_gui_gui_gui_gui_gui_gui_guides=-ines=-ines=d_ex-ex-ines=d_guid
    完成构建:"../GPIO_ex2_toggle.c"

    编译文件:"../device/device.c
    调用:C2000编译器
    "c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/C2000Ware/C2000Ware_3_04_00_00/driverlib/f2838x/driverlib /device/device.c "-v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -off -include_path="C:/clients/Xona/project/test_4/gpio_ex2_toggle /clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include -include_path="C:/clients/Xona/project/test_4/gpio_ex2_toggle/device /clients/Xona/project/test_4/gpio_ex2_toggle/CPU1_RAM/syscfg -supervase_display_subsection=d_subsection-prob="-prob_subsection_subsection_subs="-prob_subsection_subs="-probe_display_subsection_subs"-=d_subsection_subsection-board-board-board_supervId=d_subs"-=d_guest-board-file_display_guide-board-ine_display_guidepd_guide-board-ine_display-ine_display_guidepd=d_guidep-ine-ines=d_guidep-ine-ine-ine-ine-board-ine-ine-board-ine-board
    已完成构建:"./device/device.c

    构建目标:"GPIO_ex2_toggle.out"
    调用:C2000链接器
    "c:/clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/bin/cl2000 /clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/lib /syscfg/board.obj -v28 -ml -mt --cla_support=cla2 -float_support=fpu64 -idiv_support=idiv0 -tmu_support=tmu0 -off -define=debug -define=cpu1 -warn_suppress=10063 -diag_warn=225 -tmu_support=tmu_ex-rom-exclus_exclus_ex-express-rom-rom-exclus_code.xml_express-express-expression_express-expression_express-exclus_express-rom-exclus_ram_code_display_express-exclus_express-ine-expression_express-exclus_expression_express-express-express-express-express-rom-express-express-express-rom-rom-express-express-express-express-express-express-express-express-express-exclus_ram_ram_ram_subsection-ex /clients/Xona/C2000Ware/C2000Ware_3_04_00_00/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib /device/f2838x_codestartbranch.obj /device/device.obj /clients/Xona/compiler/ti-cgt-c2000_20.2.2.LTS/include

    构建目标完成:"GPIO_ex2_toggle.out"

    ****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="309403" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1018257/tms320f28388d-trying-to-setup-the-gpio-pins-problems-with-compiling-that-should-not-occur/3767738 #3767738"]未定义的第一个引用
    符号
    ------ --------
    RamfuncsLoadSize ./device/device.obj
    RamfuncsLoadStart ./device/device.obj
    RamfuncsRunStart ./device/device.obj [/quot]

    你是对的。 如果您的清理+编译(重建)

    --

    如果要从 RAM 运行、则需要编辑链接器命令文件。 组合一些要组合的 RAM 存储器部分。  

    NIMA