How tomasdileo/stm32-dev-env works
Project type and purpose
• This is a bare-metal embedded firmware template targeting the STM32F103C6Tx MCU, built with STM32CubeIDE and STM32Cube HAL (FW_F1 V1.8.6).
• Provides startup/system code, CMSIS and HAL layers, plus three user modules: LCD driver (LCD_NC), keypad scanner, and CLOCK (date/time) helper.
File structure
• Top-level files: project settings (.ioc, .ld, Eclipse .settings), README.md, simulation project file, imagenes/ for docs.
• Core/Startup:
• startup_stm32f103c6tx.s (vector table & reset handler)
• system_stm32f1xx.c (clock configuration)
• Core/Inc & Core/Src: user modules (CLOCK.c/.h, KEYPAD.c/.h, LCD_NC.c/.h), main.c, interrupt handlers, HAL MSP.
• Drivers/CMSIS: ARM core headers and device definitions.
• Drivers/STM32F1xx_HAL_Driver: HAL peripheral drivers (GPIO, EXTI, RTC, ADC, DMA, etc.).
README for insights
• Confirms it’s a classroom template.
• Pin-out and initialization lives in main.c.
• Emphasizes two helpers: LCD_NC (LCD API) and CLOCK.