keil MDK中main.c下面的.h文件是怎样生成的

逍尘 2014-08-15 05:09:17
求大神呀STM32
...全文
8673 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
lbing7 2014-11-06
  • 打赏
  • 举报
回复
有些IDE在你把C文件加入工程之后,能自动关联对应的H文件 有些IDE则需要手动添加以形成包含关系~~~
「已注销」 2014-11-06
  • 打赏
  • 举报
回复
xieshifeng180 2014-11-06
  • 打赏
  • 举报
回复 1
include “xxx.h” 这样就包含进来了,编译的时候通过你设置的搜索路径查找这个文件,编译完就成这样了。
unsv29 2014-11-02
  • 打赏
  • 举报
回复
不是生成的。 库带的。 你自己也可以建立一个 然后加进去
nandou 2014-08-18
  • 打赏
  • 举报
回复 1
在.c文件中用include包含了的头文件,就会出现在该文件的下面。
竹影半墙 2014-08-17
  • 打赏
  • 举报
回复
使用了ST库
zhxianbin 2014-08-16
  • 打赏
  • 举报
回复 1
编译后,keil 自动生成的,方便用户打开包含的头文件
逍尘 2014-08-16
  • 打赏
  • 举报
回复
我是菜鸟!!
dceacho 2014-08-15
  • 打赏
  • 举报
回复 2
你自己在main.c里include的啊,你忘记了? 引用了哪些它会自己加到下面的
电脑需先安装Keil MDK5。此固件库为Keil官方提供,直接双击安装即可,安装成功后在MDK5工程的Device可以选择STM32该系列的ARM芯片。 Version: 2.14.0 (2019-07-24) Keil.STM32F4xx_DFP.2.14.0.pack Warning: --C99 is no longer enforced via the device description. Enable 'C99 Mode' in 'Options for Target' dialog's 'C/C++' tab. Updated Pack to include subset of STM32Cube_FW_F4 Firmware Package version V1.24.1 using HAL Drivers V1.7.6. Corrected RTE_Device.h UART5 pin configuration. MX_Device_h.ftl: Updated parsing of USART virtual mode. Updated generation of macros: Added handling for '(' and ')' symbols. Corrected launching STM32CubeMX via "play" button for existing projects overwrites with a new STM32CubeMX project file instead of loading existing project. Updated SVD files: Added SPI4RST missing field to STM32F401xE.svd, STM32F411xx.svd and STM32F412xG.svd. Updated Flash Algorithm: Added new target for STM32F4xx_1536.FLM including fix for GetSecNum() in this target. Updated Boards Examples: MCBSTM32F400: Added USB Device RNDIS example. GUI_VNC example GUIThread priority corrected from osPriorityIdle to osPriorityNormal. Updated File System Demo: corrected invalid free space value shown in case of unmounted drives. Graphics examples use Segger emWin version 5.50.0. All examples: Enable Event Recorder in debug targets. Updated LCDConf.c (ready for GUI_USE_ARGD = 1). Terminating app_main thread with osThreadExit() to avoid endless loop.
Version: 2.15.0 (2020-09-28) Keil.STM32F4xx_DFP.2.15.0.pack Download Updated Pack to STM32Cube_FW_F4 Firmware Package version V1.25.1 using HAL Drivers V1.7.9. STM32CubeMX integration (Version 6.0.1): Added support for Timebase Source TIMx (FrameworkCubeMX_gpdsc.ftl). Removed non-existent include path. CMSIS Flash Algorithm: Corrected STM32F42xxx_43xxx_OPT Algorithm. CMSIS SVD: Updated STM32F42*.svd, STM32F43*.svd files. CMSIS-Driver: I2C: Corrected 2 byte reception in master mode. MCI: Replaced empty delay loops with _NOP(). SPI: Corrected PowerControl function (to return error if Initialize was not called, to abort active transfer if power off was requested). Updated GetDataCount function to give accurate count in DMA mode. Corrected Control function (abort in DMA mode, software controlled slave select in slave mode, TI Frame Format selection, ignore bus speed for slave mode). Corrected Uninitialize function (to power off the peripheral if it is powered). Corrected SPI3_SCK pin configuration. Corrected DMA MemDataAlignment configuration. USART: Corrected DMA MemDataAlignment configuration. USBD_HS/USBH_HS: OTG_HS ULPI clock disabled in low power if internal PHY is used to enable proper operation of OTG_HS port in FS mode during CPU sleep. CAN/EMAC/USBD/USBH: Removed macros already provided by cmsis_compiler.h. Updated Boards Examples: Migrated CubeMX projects to V6.0.1 and updated config files. Changed variant selection to "MDK-Plus" where possible. Updated all USB Host/Device examples with user templates from MDK-Middleware v7.11.1. Terminating app_main thread with osThreadExit() to avoid endless loop Updated MS Windows UBS driver files.

27,375

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 单片机/工控
社区管理员
  • 单片机/工控社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧