mdk5中的 BSP DFP是mdkkzz什么意思思

看着MDK5有RTE环境,看着挺不错的,以后要用STM32的高级功能的话,这应该会是一个强大的支撑,准备玩一下。但是问题来了,MDK5里面默认的固件库是一个叫做HAL的新库,和以前用的直接给源代码的库还有点不一样。于是开始折腾,期间遇到各种问题,记录,以备后忘。1:MDK5普遍反应点增量编译的时候就是全部重新编译,而且没有给出合适的解决办法,经过实验,只要保证项目路径不含中文及特殊字符就可以了(MDK5.12)2:在看HAL的过程中,看英语实在吃力,硬着头皮看,期间想到很多问题,如main函数要包含什么头文件? 中断应该写在哪里? & 直接导致越看越迷惑,后来无意中直接拖到最后面看到有FAQ,瞬间就释然了。3:有没有例程(模板)可以像以前的固件库一样可以直接贴过来用的? 在软件的安装目录中找到如下文件夹,就能看到一个个的样板工程了,直接贴过来用了。 & & \Keil_v5\ARM\Pack\Keil\STM32F4xx_DFP\2.2.0\Projects\STM32F429I-Discovery\Templates\MDK-ARM彩蛋:关于ucProbe,折腾了两天,一开始总是默认要用RS232去连接,总是port不上去(我还没有学习ucOS),后来乱点,用Jlink连接之后,很郁闷的发现就能用了,图形化的界面对高手来说可能说是累赘,但是对我等新手来说,却是可以强力激发入门兴趣的好东西啊。附图一张:
阅读(...) 评论()MDK 4.73 + MDK 5.10 + Legacy Support + packs & HLP
文件大小:
文件数量:
创建日期:
访问热度:
相关搜索:
磁力链接:
文件列表:
Docs/ARM(R) Compiler toolchain ARM C and C++ Libraries and Floating-Point Support Reference Version 5.03.pdf639.33KBDocs/ARM(R) Compiler toolchain Assembler Reference Version 5.03.pdf3.4MBDocs/ARM(R) Compiler toolchain Compiler Reference Version 5.03.pdf3.54MBDocs/ARM(R) Compiler toolchain Creating Static Software Libraries with armar Version 5.03.pdf464.97KBDocs/ARM(R) Compiler toolchain Developing Software for ARM Processors Version 5.03.pdf1.09MBDocs/ARM(R) Compiler toolchain Errors and Warnings Reference Version 5.03.pdf837.89KBDocs/ARM(R) Compiler toolchain Introducing the ARM Compiler toolchain Version 5.03.pdf465.46KBDocs/ARM(R) Compiler toolchain Linker Reference Version 5.03.pdf1.49MBDocs/ARM(R) Compiler toolchain Migration and Compatibility Version 5.03.pdf497.5KBDocs/ARM(R) Compiler toolchain Using ARM C and C++ Libraries and Floating-Point Support Version 5.03.pdf1.16MBDocs/ARM(R) Compiler toolchain Using the Assembler Version 5.03.pdf1.18MBDocs/ARM(R) Compiler toolchain Using the Compiler Version 5.03.pdf1.84MBDocs/ARM(R) Compiler toolchain Using the fromelf Image Converter Version 5.03.pdf726.99KBDocs/ARM(R) Compiler toolchain Using the Linker Version 5.03.pdf1.6MBDocs/DUI0471J_software_development_guide.pdf1.04MBDocs/DUI0472J_armcc_user_guide.pdf4.3MBDocs/DUI0473J_armasm_user_guide.pdf3.39MBDocs/DUI0474J_armlink_user_guide.pdf2.37MBDocs/DUI0475J_libraries_user_guide.pdf1.46MBDocs/DUI0476J_armar_user_guide.pdf493.12KBDocs/DUI0477J_fromelf_user_guide.pdf743.71KBDocs/DUI0496J_errors_and_warnings_reference_guide.pdf930.47KBDocs/DUI0529J_getting_started_guide.pdf587.17KBDocs/DUI0530J_migration_compatibility_guide.pdf610.79KBKeygen/keygen.exe41.5KBMDK4.73/mdk473.exe563.71MBMDK5.10/ARM.CMSIS.3.20.3.pack49.77MBMDK5.10/ARM.CMSIS.3.20.4.pack49.68MBMDK5.10/Infineon.XMC1000_DFP.1.0.2.pack32.91MBMDK5.10/Infineon.XMC4000_DFP.1.0.2.pack58.96MBMDK5.10/Keil.ARMCortex_DFP.0.0.1.pack129.87KBMDK5.10/Keil.EFM32GGxxx_DFP.1.0.1.pack94.15MBMDK5.10/Keil.EFM32GGxxx_DFP.1.0.2.pack93.5MBMDK5.10/Keil.EFM32Gxxx_DFP.1.0.0.pack29.18MBMDK5.10/Keil.EFM32Gxxx_DFP.1.0.1.pack27.87MBMDK5.10/Keil.EFM32LGxxx_DFP.1.0.0.pack87.52MBMDK5.10/Keil.EFM32LGxxx_DFP.1.0.1.pack86.87MBMDK5.10/Keil.EFM32TGxxx_DFP.1.0.0.pack28.39MBMDK5.10/Keil.EFM32TGxxx_DFP.1.0.1.pack30.17MBMDK5.10/Keil.EFM32WGxxx_DFP.1.0.0.pack90.6MBMDK5.10/Keil.EFM32WGxxx_DFP.1.0.1.pack90.03MBMDK5.10/Keil.EFM32ZGxxx_DFP.1.0.0.pack14.23MBMDK5.10/Keil.EFM32ZGxxx_DFP.1.0.1.pack13.91MBMDK5.10/Keil.FM0plus_DFP.1.0.0.pack1.66MBMDK5.10/Keil.FM3Basic_DFP.1.0.0.pack29.47MBMDK5.10/Keil.FM3Basic_DFP.1.0.1.pack29.46MBMDK5.10/Keil.FM3HighPerformance_DFP.1.0.0.pack22.59MBMDK5.10/Keil.FM3HighPerformance_DFP.1.0.1.pack22.58MBMDK5.10/Keil.FM3LowPower_DFP.1.0.0.pack9.19MBMDK5.10/Keil.FM3LowPower_DFP.1.0.1.pack9.18MBMDK5.10/Keil.FM3UltraLowLeak_DFP.1.0.0.pack3.5MBMDK5.10/Keil.FM3UltraLowLeak_DFP.1.0.1.pack3.5MBMDK5.10/Keil.FM4_DFP.1.0.0.pack32.54MBMDK5.10/Keil.FM4_DFP.1.0.1.pack32.53MBMDK5.10/Keil.Kinetis_K10_DFP.1.0.0.pack52.16MBMDK5.10/Keil.Kinetis_K20_DFP.1.0.0.pack95.25MBMDK5.10/Keil.Kinetis_K20_DFP.1.0.2.pack95.5MBMDK5.10/Keil.Kinetis_K30_DFP.1.0.0.pack20.08MBMDK5.10/Keil.Kinetis_K40_DFP.1.0.0.pack20.98MBMDK5.10/Keil.Kinetis_K50_DFP.1.0.0.pack68.9MBMDK5.10/Keil.Kinetis_K60_DFP.1.0.0.pack38.79MBMDK5.10/Keil.Kinetis_K60_DFP.1.0.1.pack39.33MBMDK5.10/Keil.Kinetis_K70_DFP.1.0.0.pack15.52MBMDK5.10/Keil.Kinetis_KExx_DFP.1.0.0.pack5.88MBMDK5.10/Keil.Kinetis_KLxx_DFP.1.0.0.pack71.84MBMDK5.10/Keil.Kinetis_KLxx_DFP.1.0.1.pack71.84MBMDK5.10/Keil.Kinetis_KMxx_DFP.1.0.0.pack6.4MBMDK5.10/Keil.Kinetis_KMxx_DFP.1.0.1.pack6.81MBMDK5.10/Keil.Kinetis_KVxx_DFP.1.0.0.pack917.14KBMDK5.10/Keil.LPC1100_DFP.1.0.0.pack23.72MBMDK5.10/Keil.LPC1200_DFP.1.0.0.pack3.87MBMDK5.10/Keil.LPC1300_DFP.1.0.0.pack6.53MBMDK5.10/Keil.LPC1500_DFP.1.0.0.pack4.92MBMDK5.10/Keil.LPC1700_DFP.1.0.0.pack6.42MBMDK5.10/Keil.LPC1700_DFP.1.0.2.pack10.11MBMDK5.10/Keil.LPC1800_DFP.1.0.3.pack11.7MBMDK5.10/Keil.LPC1800_DFP.1.0.4.pack11.15MBMDK5.10/Keil.LPC1800_DFP.1.0.6.pack11.72MBMDK5.10/Keil.LPC4300_DFP.1.0.1.pack12.8MBMDK5.10/Keil.LPC800_DFP.1.0.0.pack2.73MBMDK5.10/Keil.LPC800_DFP.1.0.1.pack2.42MBMDK5.10/Keil.MCB1500_BSP.1.0.0.pack3.2MBMDK5.10/Keil.MDK-Middleware.5.1.2.pack32.14MBMDK5.10/Keil.MDK-Middleware.5.1.3.pack32.3MBMDK5.10/Keil.MDK-Middleware.5.1.4.pack32.51MBMDK5.10/Keil.SAM3_DFP.1.0.0.pack63.48MBMDK5.10/Keil.SAM3_DFP.1.0.1.pack63.48MBMDK5.10/Keil.SAM4_DFP.1.0.0.pack37.89MBMDK5.10/Keil.SAM4_DFP.1.0.1.pack43.04MBMDK5.10/Keil.SAMD20_DFP.1.0.0.pack6.13MBMDK5.10/Keil.SAMD20_DFP.1.0.2.pack15.81MBMDK5.10/Keil.SAMG_DFP.1.0.0.pack8.32MBMDK5.10/Keil.STM32F0xx_DFP.1.0.0.pack8.31MBMDK5.10/Keil.STM32F0xx_DFP.1.0.1.pack10.26MBMDK5.10/Keil.STM32F1xx_DFP.1.0.2.pack29.09MBMDK5.10/Keil.STM32F1xx_DFP.1.0.4.pack48.31MBMDK5.10/Keil.STM32F2xx_DFP.1.0.4.pack16.12MBMDK5.10/Keil.STM32F2xx_DFP.1.0.6.pack38.04MBMDK5.10/Keil.STM32F3xx_DFP.1.0.0.pack17MBMDK5.10/Keil.STM32F3xx_DFP.1.0.1.pack16.85MBMDK5.10/Keil.STM32F4xx_DFP.1.0.5.pack21.43MBMDK5.10/Keil.STM32F4xx_DFP.1.0.6.pack34.73MBMDK5.10/Keil.STM32L1xx_DFP.1.0.0.pack16.84MBMDK5.10/Keil.STM32L1xx_DFP.1.0.1.pack15.7MBMDK5.10/Keil.V2M-MPS2_CMx_BSP.1.0.0.pack4.23MBMDK5.10/Keil.XMC1000_DFP.1.0.0.pack24.71MBMDK5.10/Keil.XMC1000_DFP.1.0.1.pack24.34MBMDK5.10/Keil.XMC1000_DFP.1.0.4.pack29.96MBMDK5.10/Keil.XMC4000_DFP.1.0.0.pack54.08MBMDK5.10/Keil.XMC4000_DFP.1.0.1.pack53.49MBMDK5.10/Keil.XMC4000_DFP.1.0.2.pack54.86MBMDK5.10/Legacy Support91.68MBMDK5.10/Legacy Support326.43MBMDK5.10/lwIP.lwIP.1.4.1.pack1.19MBMDK5.10/mdk510.exe284.56MBMDK5.10/mdk79v500u1.exe91.68MBMDK5.10/mdkcm500u1.exe326.43MBMDK5.10/PACK129.87KBMDK5.10/PACK917.14KBMDK5.10/PACK1.19MBMDK5.10/PACK1.66MBMDK5.10/PACK1.78MBMDK5.10/PACK1.78MBMDK5.10/PACK1.99MBMDK5.10/PACK2.42MBMDK5.10/PACK2.73MBMDK5.10/PACK3.2MBMDK5.10/PACK3.5MBMDK5.10/PACK3.5MBMDK5.10/PACK3.87MBMDK5.10/PACK4.23MBMDK5.10/PACK4.92MBMDK5.10/PACK5.88MBMDK5.10/PACK6.13MBMDK5.10/PACK6.4MBMDK5.10/PACK6.42MBMDK5.10/PACK6.53MBMDK5.10/PACK6.81MBMDK5.10/PACK8.31MBMDK5.10/PACK8.32MBMDK5.10/PACK9.18MBMDK5.10/PACK9.19MBMDK5.10/PACK10.11MBMDK5.10/PACK10.26MBMDK5.10/PACK11.15MBMDK5.10/PACK11.7MBMDK5.10/PACK11.72MBMDK5.10/PACK12.8MBMDK5.10/PACK13.91MBMDK5.10/PACK14.23MBMDK5.10/PACK15.52MBMDK5.10/PACK15.7MBMDK5.10/PACK15.81MBMDK5.10/PACK16.12MBMDK5.10/PACK16.84MBMDK5.10/PACK16.85MBMDK5.10/PACK17MBMDK5.10/PACK20.08MBMDK5.10/PACK20.98MBMDK5.10/PACK21.43MBMDK5.10/PACK22.58MBMDK5.10/PACK22.59MBMDK5.10/PACK23.72MBMDK5.10/PACK24.34MBMDK5.10/PACK24.71MBMDK5.10/PACK27.87MBMDK5.10/PACK28.39MBMDK5.10/PACK29.09MBMDK5.10/PACK29.18MBMDK5.10/PACK29.46MBMDK5.10/PACK29.47MBMDK5.10/PACK29.96MBMDK5.10/PACK30.17MBMDK5.10/PACK32.14MBMDK5.10/PACK32.3MBMDK5.10/PACK32.51MBMDK5.10/PACK32.53MBMDK5.10/PACK32.54MBMDK5.10/PACK32.91MBMDK5.10/PACK34.73MBMDK5.10/PACK37.89MBMDK5.10/PACK38.04MBMDK5.10/PACK38.79MBMDK5.10/PACK39.33MBMDK5.10/PACK43.04MBMDK5.10/PACK48.31MBMDK5.10/PACK49.68MBMDK5.10/PACK49.77MBMDK5.10/PACK52.16MBMDK5.10/PACK53.49MBMDK5.10/PACK54.08MBMDK5.10/PACK54.86MBMDK5.10/PACK58.96MBMDK5.10/PACK63.48MBMDK5.10/PACK63.48MBMDK5.10/PACK68.9MBMDK5.10/PACK71.84MBMDK5.10/PACK71.84MBMDK5.10/PACK86.87MBMDK5.10/PACK87.52MBMDK5.10/PACK90.03MBMDK5.10/PACK90.6MBMDK5.10/PACK93.5MBMDK5.10/PACK94.15MBMDK5.10/PACK95.25MBMDK5.10/PACK95.5MBMDK5.10/wolfSSL.CyaSSL.2.8.0.pack1.99MBMDK5.10/wolfSSL.CyaSSL.2.8.1.pack1.78MBMDK5.10/wolfSSL.CyaSSL.2.8.2.pack1.78MBRus_font_dll/!readme_VAI.txt1.78KBRus_font_dll/FontSubstitutes.reg582byteRus_font_dll/toweroff.txt136byteRus_font_dll/UvEdit.dll610KB&相关说明:
&您可能需要的资源:查看: 15944|回复: 32
MDK由以前的MDK4.72A升级到MDK5.0原有的程序出现23个错误,麻烦大家帮我看看
主题帖子精华
中级会员, 积分 323, 距离下一级还需 177 积分
在线时间36 小时
由于MDK4.72A没有STM32F030,所以升级到了MDK5.0
我的程序在MDK4.72A下编译正常没有任何错误,升级软件后程序都出现了同样的问题,请大家帮我看看,这个是什么原因。
Build target '103RE_安卓_Print1'
compiling main.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\main.c: 1 warning, 1 error
compiling Init.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\Init.c: 1 warning, 1 error
compiling Delays.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\Delays.c: 1 warning, 1 error
compiling TIM_x.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\TIM_x.c: 1 warning, 1 error
compiling AD_x.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\AD_x.c: 1 warning, 1 error
compiling PrintProcessings.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\PrintProcessings.c: 1 warning, 1 error
compiling HZlib.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\HZlib.c: 1 warning, 1 error
compiling Usart1.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\Usart1.c: 1 warning, 1 error
compiling Usart2.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\Usart2.c: 1 warning, 1 error
compiling Usart3.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\Usart3.c: 1 warning, 1 error
compiling RefreshPrint.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\RefreshPrint.c: 1 warning, 1 error
compiling PrintEndProcess.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\PrintEndProcess.c: 1 warning, 1 error
compiling AlarmProcess.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\AlarmProcess.c: 1 warning, 1 error
compiling SpecialSymbol.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\User\SpecialSymbol.c: 1 warning, 1 error
compiling misc.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c: 1 warning, 1 error
compiling stm32f10x_rcc.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 1 warning, 1 error
compiling stm32f10x_gpio.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 1 warning, 1 error
compiling stm32f10x_tim.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c: 1 warning, 1 error
compiling stm32f10x_flash.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c: 1 warning, 1 error
compiling stm32f10x_i2c.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c: 1 warning, 1 error
compiling stm32f10x_usart.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 1 warning, 1 error
compiling stm32f10x_adc.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c: 1 warning, 1 error
compiling system_stm32f10x.c...
Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error: &#67: expected a "}"
& & ADC1_2_IRQn & & & & & & & & = 18, & & /*!& ADC1 and ADC2 global Interrupt & & & & & & & & & & & */
Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &#12-D: parsing restarts here after previous syntax error
& } IRQn_T
Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c: 1 warning, 1 error
".\Obj\103RE_安卓_Print1.axf" - 23 Error(s), 23 Warning(s).
Target not created
主题帖子精华
在线时间305 小时
估计是库头文件变了,找原来的头文件过来吧。
我是开源电子网站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺:
微信公众平台:正点原子
主题帖子精华
新手上路, 积分 23, 距离下一级还需 27 积分
在线时间0 小时
我碰到相同的问题,解决方法如下:打开C:\Keil\UV4\PackInstaller.exe,然后在Packs选项中找到Keil::STM32F1xx_DFP单击前面的+号展开,选中1.0.2点击后面的卸载按钮,卸载后编译就正常。
具体什么原因不知.
主题帖子精华
新手上路, 积分 23, 距离下一级还需 27 积分
在线时间0 小时
终于知道原因了,原先的Keil::STM32F1xx_DFP安装包是你直接从uVision4升级到uVision5后保留的,使用PackInstaller将原先的包1.0.2 Remove + Delete Pack,然后重新下载安装Keil::STM32F1xx_DFP,版本应该是1.0.0,问题解决,库不兼容
主题帖子精华
中级会员, 积分 323, 距离下一级还需 177 积分
在线时间36 小时
回复【4楼】soliang:
---------------------------------
现在用原子哥的办法装2个&一个4.72a一个5.0.等有时间在看看你的方法在我这里的应用
主题帖子精华
中级会员, 积分 228, 距离下一级还需 272 积分
在线时间8 小时
主题帖子精华
新手上路, 积分 22, 距离下一级还需 28 积分
在线时间0 小时
回复【4楼】soliang:
---------------------------------
您有这个吗?“Keil::STM32F1xx_DFP,版本应该是1.0.0”&&怎么下不到啊?&&求帮助啊&!&有的话发我一份&&邮箱:&&谢谢了!
主题帖子精华
新手上路, 积分 21, 距离下一级还需 29 积分
在线时间0 小时
我也遇到这个问题了,你们都解决了吗?
主题帖子精华
初级会员, 积分 70, 距离下一级还需 130 积分
在线时间0 小时
回复【8楼】舟阳:
---------------------------------
error:&&#67:&expected&a&"}"这个错误
C/C++选项卡里的define有问题
主题帖子精华
初级会员, 积分 70, 距离下一级还需 130 积分
在线时间0 小时
回复【2楼】正点原子:
---------------------------------
error:&&#67:&expected&a&"}"这个错误
C/C++选项卡里的define有问题
主题帖子精华
初级会员, 积分 70, 距离下一级还需 130 积分
在线时间0 小时
回复【7楼】大明:
---------------------------------
error:&&#67:&expected&a&"}"这个错误
C/C++选项卡里的define有问题
主题帖子精华
初级会员, 积分 57, 距离下一级还需 143 积分
在线时间1 小时
以前Md的芯片能用Hd的定义,现在用了就报错的
主题帖子精华
初级会员, 积分 57, 距离下一级还需 143 积分
在线时间1 小时
回复【11楼】张静茹:
---------------------------------
以前Md的芯片能用Hd的定义,现在用了就报错的
主题帖子精华
初级会员, 积分 70, 距离下一级还需 130 积分
在线时间0 小时
回复【13楼】hoverxx:
---------------------------------
cpu型号&&下载选的哪个内存大小的那个文件,还有这个md&&hd&这三个要对应
主题帖子精华
新手上路, 积分 22, 距离下一级还需 28 积分
在线时间0 小时
回复【4楼】soliang:
终于知道原因了,原先的Keil::STM32F1xx_DFP安装包是你直接从uVision4升级到uVision5后保留的,使用PackInstaller将原先的包1.0.2&Remove&+&Delete&nbspack,然后重新下载安装Keil::STM32F1xx_DFP,版本应该是1.0.0,问题解决,库不兼容
---------------------------------太好了,一下解决
主题帖子精华
新手上路, 积分 23, 距离下一级还需 27 积分
在线时间0 小时
回复【10楼】张静茹:
---------------------------------
在C/C++选项卡里的define中去掉STM32F10X_MD也编译OK,但不知道有没有什么隐患?
主题帖子精华
新手上路, 积分 43, 距离下一级还需 7 积分
在线时间0 小时
回复【3楼】soliang:
---------------------------------
感谢该楼层的回答!这个方法的确是很有用,但是我还是不知道为什么?还有就是,在我的电脑上,用正点原子的例程在不卸载的情况下可以完美编译,但是按照相同的流程自己创建的工程却是出现大量的此类错误。希望有知道的给我们解释下
主题帖子精华
新手上路, 积分 43, 距离下一级还需 7 积分
在线时间0 小时
回复【14楼】张静茹:
---------------------------------
感谢你,让我解决了这个问题,并且明白了为什么!
主题帖子精华
新手上路, 积分 24, 距离下一级还需 26 积分
在线时间0 小时
正确的解决方法:
在C/C++选项卡里,把STM3210X_HD从prepocessor&symbol&define&里面删掉`(*∩_∩*)′
这么做的原因:在老版本的官方STM32F10X.H文件里,这句话不是这么写的,若没记错的话,是
...&&!defined(STM32F10X_HD)&&&&...
原来是有括号的,不做标识符来处理,而新版的,如图,直接说明了出来,那就没有必要,可以根据C/C++知识自己去推断;
具体可以看搜“[STM32系列贴-初级]之STM32F10X工程建立详细过程及问题解决”,去看
主题帖子精华
中级会员, 积分 223, 距离下一级还需 277 积分
在线时间0 小时
回复【16楼】soliang:
---------------------------------
太机智了
趁着年轻,追逐自己所爱的----单片机&&足球!
主题帖子精华
中级会员, 积分 233, 距离下一级还需 267 积分
在线时间17 小时
18楼简单明了,正解
主题帖子精华
新手上路, 积分 21, 距离下一级还需 29 积分
在线时间0 小时
回复【19楼】lifeng202:
---------------------------------
给18楼赞一个。。。
主题帖子精华
新手上路, 积分 40, 距离下一级还需 10 积分
在线时间0 小时
回复【2楼】正点原子:
---------------------------------
&&只要把&&c/c++那个栏目中的&&define的&芯片密度类型改了即可。
主题帖子精华
新手上路, 积分 21, 距离下一级还需 29 积分
在线时间0 小时
遇到同样的问题&楼上正解,我这里是&STM32F10X_XL&改为&&STM32F10X_HD&&后编译正常
主题帖子精华
新手上路, 积分 28, 距离下一级还需 22 积分
在线时间0 小时
18楼正解,根据芯片型号改写STM32F10X_HD这个也可以
三人行必有我师,不能太弱
主题帖子精华
中级会员, 积分 296, 距离下一级还需 204 积分
在线时间33 小时
在MDK5中要注意:C/C++选项中的Defina&&STM32F10X_HD/MD/LD&一定要和目标芯片FLASH的情况严格对应,否则会出现上述报错.
主题帖子精华
中级会员, 积分 236, 距离下一级还需 264 积分
在线时间15 小时
mark&&mark&mark
STM32软硬件相关项目外包开发 QQ:
主题帖子精华
初级会员, 积分 78, 距离下一级还需 122 积分
在线时间9 小时
回复【4楼】soliang:
---------------------------------
您有这个吗?“Keil::STM32F1xx_DFP,版本应该是1 ...
您好,我也遇到上述问题,但是现在下载不了版本为1.0.0的& &不知道你下载到了吗?
主题帖子精华
新手上路, 积分 10, 距离下一级还需 40 积分
在线时间0 小时
估计是库头文件变了,找原来的头文件过来吧。
原子哥咨询个问题,如果是因为从5.05的keil升级到5.18的版本之后。报内存不够的那个错误。。。有木有解决办法。、、没升级之前都ok的
.\out\P92_firmware.axf: Error: L6406E: No space in execution regions with .ANY selector matching smart.o(.data).
.\out\P92_firmware.axf: Error: L6407E: Sections of aggregate size 0x11d64 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 90 error messages.
主题帖子精华
中级会员, 积分 360, 距离下一级还需 140 积分
在线时间111 小时
下不到Keil::STM32F1xx_DFP.1.0.0.pack,删掉STM32F10X_HD也没用。。。更换类型还是不行,神啊,救救我吧
相信自己,每一步都是在进步
主题帖子精华
新手上路, 积分 25, 距离下一级还需 25 积分
在线时间2 小时
也遇到同样问题
主题帖子精华
中级会员, 积分 323, 距离下一级还需 177 积分
在线时间36 小时
也遇到同样问题
我先在装2个软件,老的程序用4.xx;新的程序开发用新的5.xx。
2个不同版本软件可以安装在同一台电脑上
主题帖子精华
初级会员, 积分 81, 距离下一级还需 119 积分
在线时间5 小时
程序应该没问题,碰到类似的问题,包括其他软件升级我都是彻底删除后全新安装,一切OK
Powered by

我要回帖

更多关于 bsp出票是什么意思 的文章

 

随机推荐