发帖
9 0 0

【PB-03F-kit】 点亮RGB

lovzx
论坛元老

25

主题

246

回帖

1万

积分

论坛元老

积分
10179
PB&TG系列 2605 9 2024-12-6 17:15:03
──── 0人觉得很赞 ────

使用道具 举报

2024-12-9 14:57:39
keil 5.0和 v5版本的编译器下载地址https://www.123684.com/s/sz92jv-YexlA?提取码:0FRj
点的很亮!
2024-12-9 01:16:49
我之前手残升级了keil,导致编译不过了,看了你这帖子下载一个v5版本试试
2024-12-9 14:59:23
业余菜狗 发表于 2024-12-9 01:16
我之前手残升级了keil,导致编译不过了,看了你这帖子下载一个v5版本试试

狗哥可以了吗,我是第一次用keil搞了好久才搞好
2024-12-12 21:54:44
大佬帮我看看 还是报错
2024-12-13 09:11:39
molun 发表于 2024-12-12 21:54
大佬帮我看看 还是报错

和文中一样的错误吗
2024-12-13 15:32:22
lovzx 发表于 2024-12-13 09:11
和文中一样的错误吗
  1. Build started: Project: gpio
  2. *** Warning: The configured compiler version '5.06 update 7 (build 960)' does not support the selected User Based Licensing technology.
  3. *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\Program Files\Keil_v5\ARM\ARM_Compiler_5.06u7\Bin'
  4. Build target 'gpio'
  5. compiling main.c...
  6. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  7.     #error Unknown compiler.
  8. Source\main.c: 0 warnings, 1 error
  9. compiling gpio_Main.c...
  10. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  11.     #error Unknown compiler.
  12. Source\gpio_Main.c: 0 warnings, 1 error
  13. compiling my_printf.c...
  14. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  15.     #error Unknown compiler.
  16. ..\..\..\components\driver\log\my_printf.c: 0 warnings, 1 error
  17. compiling gpio.c...
  18. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  19.     #error Unknown compiler.
  20. ..\..\..\components\driver\gpio\gpio.c: 0 warnings, 1 error
  21. compiling gpio_demo.c...
  22. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  23.     #error Unknown compiler.
  24. Source\gpio_demo.c: 0 warnings, 1 error
  25. compiling jump_table.c...
  26. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  27.     #error Unknown compiler.
  28. ..\..\..\misc\jump_table.c: 0 warnings, 1 error
  29. compiling OSAL_gpio.c...
  30. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  31.     #error Unknown compiler.
  32. Source\OSAL_gpio.c: 0 warnings, 1 error
  33. compiling uart.c...
  34. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  35.     #error Unknown compiler.
  36. ..\..\..\components\driver\uart\uart.c: 0 warnings, 1 error
  37. compiling pwrmgr.c...
  38. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  39.     #error Unknown compiler.
  40. ..\..\..\components\driver\pwrmgr\pwrmgr.c: 0 warnings, 1 error
  41. compiling clock.c...
  42. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  43.     #error Unknown compiler.
  44. ..\..\..\components\driver\clock\clock.c: 0 warnings, 1 error
  45. compiling key.c...
  46. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  47.     #error Unknown compiler.
  48. ..\..\..\components\driver\key\key.c: 0 warnings, 1 error
  49. compiling adc.c...
  50. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  51.     #error Unknown compiler.
  52. ..\..\..\components\driver\adc\adc.c: 0 warnings, 1 error
  53. compiling startup_ARMCM0.c...
  54. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  55.     #error Unknown compiler.
  56. RTE/Device/ARMCM0/startup_ARMCM0.c: 0 warnings, 1 error
  57. compiling flash.c...
  58. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  59.     #error Unknown compiler.
  60. ..\..\..\components\driver\flash\flash.c: 0 warnings, 1 error
  61. compiling system_ARMCM0.c...
  62. D:\MOLUN\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error:  #35: #error directive: Unknown compiler.
  63.     #error Unknown compiler.
  64. RTE/Device/ARMCM0/system_ARMCM0.c: 0 warnings, 1 error
  65. ".\Objects\gpio_demo.axf" - 15 Error(s), 0 Warning(s).
  66. Target not created.
  67. Build Time Elapsed:  00:00:00
复制代码
2024-12-13 16:17:42

破案了,要卸载所有的6.0以上版本才行
lovzx 发表于 2024-12-9 14:59
狗哥可以了吗,我是第一次用keil搞了好久才搞好

没搞了
您需要登录后才可以回帖 立即登录
高级模式
返回
统计信息
  • 会员数: 30486 个
  • 话题数: 44654 篇