-
工程目录结构
├── CMakeLists.txt
├── Cortex-M3.cmake
├── inc
├── ldscripts
│ └── STM32F103ZCTX_FLASH.ld
├── src
│ ├── CMakeLists.txt
│ └── ver.h
├── std_lib
│ ├── CMakeLists.txt
│ ├── CMSIS
│ │ ├── core_cm3.c
│ │ ├── core_cm3.h
│ │ ├── gcc_startup
│ │ │ └── startup_stm32f103zctx.s
│ │ ├── stm32f10x_conf.h
│ │ ├── stm32f10x.h
│ │ ├── stm32f10x_it.c
│ │ ├── stm32f10x_it.h
│ │ ├── system_stm32f10x.c
│ │ └── system_stm32f10x.h
│ └── STM32F10x_StdPeriph_Driver
│ ├── inc
│ │ ├── misc.h
│ │ ├── stm32f10x_adc.h
│ │ ├── stm32f10x_bkp.h
│ │ ├── stm32f10x_can.h
│ │ ├── stm32f10x_cec.h
│ │ ├── stm32f10x_crc.h
│ │ ├── stm32f10x_dac.h
│ │ ├── stm32f10x_dbgmcu.h
│ │ ├── stm32f10x_dma.h
│ │ ├── stm32f10x_exti.h
│ │ ├── stm32f10x_flash.h
│ │ ├── stm32f10x_fsmc.h
│ │ ├── stm32f10x_gpio.h
│ │ ├── stm32f10x_i2c.h
│ │ ├── stm32f10x_iwdg.h
│ │ ├── stm32f10x_pwr.h
│ │ ├── stm32f10x_rcc.h
│ │ ├── stm32f10x_rtc.h
│ │ ├── stm32f10x_sdio.h
│ │ ├── stm32f10x_spi.h
│ │ ├── stm32f10x_tim.h
│ │ ├── stm32f10x_usart.h
│ │ └── stm32f10x_wwdg.h
│ └── src
│ ├── misc.c
│ ├── stm32f10x_adc.c
│ ├── stm32f10x_bkp.c
│ ├── stm32f10x_can.c
│ ├── stm32f10x_c
CMake构建(STM32,GD32)的编译管理环境 一
最新推荐文章于 2024-08-16 08:59:41 发布
本文介绍了如何使用CMake构建一个基于STM32 Cortex-M3的嵌入式项目,包括工程目录结构解析、CMakeLists配置以及标准库的组织方式。通过这个教程,读者可以学习到如何有效地管理和编译STM32的C代码工程。
摘要由CSDN通过智能技术生成