rt thread 中stm32f107 样例工程keil工程 编译不通过 处理

原始错误

.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol rt_components_board_init (referred from board.o).
.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol rt_components_init (referred from application.o).
.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol msh_auto_complete (referred from shell.o).
.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol msh_exec (referred from shell.o).
.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol msh_is_used (referred from shell.o).
.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol devfs_init (referred from dfs.o).
.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol ff_convert (referred from ff.o).
.\build\rtthread-stm32.axf: Error: L6218E: Undefined symbol ff_wtoupper (referred from ff.o).

处理

  1. kernel文件件加入component.c
  2. finsh文件夹中加入msh.c
  3. Filessystem工程文件夹加入
  • components\dfs\filesystems\devfs\devfs.c
  • \components\dfs\filesystems\elmfat\option\ccsbcs.c(275) : WCHAR ff_convert ( /* Converted character, Returns zero on error */
  1. 需要移除Dirvers中的rt_stm32f10x_spi.c

你可能感兴趣的:(嵌入式开发)