打印
[技术问答]

Eclipse编译 N9H工程 可应用整合到Visual Studio (Code)下编译

[复制链接]
653|7
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
twjiang|  楼主 | 2021-4-1 14:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
根据以下编译信息,请自行整合到 Visual Studio (Code) 开发环境!

14:44:31 **** Build of configuration Release for project 2D ****
make all
Building file: D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/main.c
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -I"D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/GCC/../../../Driver/Include" -std=gnu11 -MMD -MP -MF"Src/main.d" -MT"Src/main.o" -c -o "Src/main.o" "D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/main.c"
Finished building: D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/main.c

Building file: D:/Projects/N9H30_emWin_NonOS/Driver/Source/2d.c
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -I"D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/GCC/../../../Driver/Include" -std=gnu11 -MMD -MP -MF"Driver/Driver/2d.d" -MT"Driver/Driver/2d.o" -c -o "Driver/Driver/2d.o" "D:/Projects/N9H30_emWin_NonOS/Driver/Source/2d.c"
Finished building: D:/Projects/N9H30_emWin_NonOS/Driver/Source/2d.c

Building file: D:/Projects/N9H30_emWin_NonOS/Driver/Source/Startup_GCC.S
Invoking: GNU ARM Cross Assembler
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -x assembler-with-cpp -I"D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/GCC/../../../Driver/Include" -MMD -MP -MF"Driver/Driver/Startup_GCC.d" -MT"Driver/Driver/Startup_GCC.o" -c -o "Driver/Driver/Startup_GCC.o" "D:/Projects/N9H30_emWin_NonOS/Driver/Source/Startup_GCC.S"
Finished building: D:/Projects/N9H30_emWin_NonOS/Driver/Source/Startup_GCC.S

Building file: D:/Projects/N9H30_emWin_NonOS/Driver/Source/lcd.c
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -I"D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/GCC/../../../Driver/Include" -std=gnu11 -MMD -MP -MF"Driver/Driver/lcd.d" -MT"Driver/Driver/lcd.o" -c -o "Driver/Driver/lcd.o" "D:/Projects/N9H30_emWin_NonOS/Driver/Source/lcd.c"
Finished building: D:/Projects/N9H30_emWin_NonOS/Driver/Source/lcd.c

Building file: D:/Projects/N9H30_emWin_NonOS/Driver/Source/sys.c
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -I"D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/GCC/../../../Driver/Include" -std=gnu11 -MMD -MP -MF"Driver/Driver/sys.d" -MT"Driver/Driver/sys.o" -c -o "Driver/Driver/sys.o" "D:/Projects/N9H30_emWin_NonOS/Driver/Source/sys.c"
Finished building: D:/Projects/N9H30_emWin_NonOS/Driver/Source/sys.c

Building file: D:/Projects/N9H30_emWin_NonOS/Driver/Source/sys_uart.c
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -I"D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/GCC/../../../Driver/Include" -std=gnu11 -MMD -MP -MF"Driver/Driver/sys_uart.d" -MT"Driver/Driver/sys_uart.o" -c -o "Driver/Driver/sys_uart.o" "D:/Projects/N9H30_emWin_NonOS/Driver/Source/sys_uart.c"
Finished building: D:/Projects/N9H30_emWin_NonOS/Driver/Source/sys_uart.c

Building file: D:/Projects/N9H30_emWin_NonOS/Driver/Source/system_N9H30.c
Invoking: GNU ARM Cross C Compiler
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -I"D:/Projects/N9H30_emWin_NonOS/SampleCode/2D/GCC/../../../Driver/Include" -std=gnu11 -MMD -MP -MF"Driver/Driver/system_N9H30.d" -MT"Driver/Driver/system_N9H30.o" -c -o "Driver/Driver/system_N9H30.o" "D:/Projects/N9H30_emWin_NonOS/Driver/Source/system_N9H30.c"
Finished building: D:/Projects/N9H30_emWin_NonOS/Driver/Source/system_N9H30.c

Building target: 2D.elf
Invoking: GNU ARM Cross C Linker
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mlittle-endian -mfloat-abi=soft -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -ggdb -T "D:\Projects\N9H30_emWin_NonOS\Driver\Source\GCC.ld" -Xlinker --gc-sections -Wl,-Map,"2D.map" --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group -o "2D.elf"  ./Src/main.o  ./Driver/Driver/2d.o ./Driver/Driver/Startup_GCC.o ./Driver/Driver/lcd.o ./Driver/Driver/sys.o ./Driver/Driver/sys_uart.o ./Driver/Driver/system_N9H30.o   
Finished building target: 2D.elf

Invoking: GNU ARM Cross Create Flash Image
arm-none-eabi-objcopy -O binary "2D.elf"  "2D.bin"
Finished building: 2D.bin

Invoking: GNU ARM Cross Print Size
arm-none-eabi-size --format=berkeley "2D.elf"
   text           data            bss            dec            hex        filename
  30720         111144         294920         436784          6aa30        2D.elf
Finished building: 2D.siz


14:44:34 Build Finished (took 2s.315ms)


使用特权

评论回复
沙发
twjiang|  楼主 | 2021-4-1 14:52 | 只看该作者
不使用  Keil 编译器,不怕用盗版被人家天天发律师函了!再搞个 OpenOCD就OK了

使用特权

评论回复
板凳
twjiang|  楼主 | 2021-4-1 17:56 | 只看该作者
请参考:

https://bbs.21ic.com/icview-3115052-1-1.html

https://bbs.21ic.com/icview-3122154-1-1.html

使用特权

评论回复
地板
勇敢的大白菜| | 2021-4-1 17:59 | 只看该作者
感谢楼主的分享,看不大明白。

使用特权

评论回复
5
正圆椭圆| | 2021-4-1 23:38 | 只看该作者
太好了 所有都能用vscode是最好的

使用特权

评论回复
6
BettyBerry| | 2021-4-1 23:47 | 只看该作者
码一个 虽然没有习惯用vscode不过多一个选择总是好的

使用特权

评论回复
7
氧化二氢| | 2021-4-3 23:52 | 只看该作者
具体要怎么操作啊 不是很会弄

使用特权

评论回复
8
尼罗河L| | 2021-4-3 23:53 | 只看该作者
不错 先马一个 暂时没有用这个的想法 不过多一个选择总是好的

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

41

主题

347

帖子

1

粉丝