CubeMX: SPI4 + SDMMC1/FatFs + I2S6, audio BSP et debug VS Code (Linux)

Regeneration CubeMX (Appli) preparant le driver ST67W611M1 et la carte SD :
- SPI4 (PE12/13/14, CS PF8) + DMA GPDMA1 canaux 4/5, SPI_RDY (PD12/EXTI12),
  CHIP_EN (PD13) et BOOT (PD15) pour la X-NUCLEO-67W61M1 sur l'Arduino
- SDMMC1 + FatFs (appels d'init non generes dans main, IRQ SDMMC1 prio 14),
  PM14 en open-drain ; I2S6_CK sur PA5 pour liberer PC12 (SDMMC1_CK)
- HAL UART retire ; USE_BSP_COM_FEATURE=0
- Audio preserve : ADF 4/16/24, prio IRQ 2, DMA canal 0 en priorite haute,
  GPDMA1_Channel2_IRQHandler deplace dans audio_irq.c (hors fichiers generes),
  BSP_MX_I2S6_Init (renommage dans le BSP pour eviter le conflit avec CubeMX)
- Middlewares/ST/ST67W6X_Network_Driver, FatFs et sources HAL SPI/SD ajoutes
  (driver ST67 pas encore integre au build)

Build et debug sous Linux :
- gcc/toolchain-env.sh, gdbserver.sh, arm-gdb.sh : outils de STM32CubeIDE par
  glob ; flash.sh les retrouve ; ruby_compat.rb pour Ruby >= 3.2 (TouchGFX)
- makefile_appli : sources SD/SPI/FatFs/audio_irq ; chmod +x des .out TouchGFX
- Objets de build (*.o, *.d, *.su) retires de l'index (deja dans .gitignore)
- AGENTS.md : toolchain Linux, configs VS Code (cppdbg et ST stlinkgdbtarget),
  pieges de l'extension ST (.settings/ide.store.json, preRunCommands reset)

Verifie sur carte : audio OK, debug Appli/Boot OK.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
thomasandClaude Sonnet 5.5 committed 2026-10-23 22:49:06 +02:00
1 parent b119a6abd7
commit 66bb319423
1092 files changed
+172728 -133236

No files matched your search

@@ -1,56 +0,0 @@
Drivers/CMSIS/system_stm32h7rsxx.o: \
/Users/thomas/Documents/Codes/STM32/CelloEffects/Boot/Core/Src/system_stm32h7rsxx.c \
../../../Drivers/CMSIS/Device/ST/STM32H7RSxx/Include/stm32h7rsxx.h \
../../../Drivers/CMSIS/Device/ST/STM32H7RSxx/Include/stm32h7s7xx.h \
../../../Drivers/CMSIS/Include/core_cm7.h \
../../../Drivers/CMSIS/Include/cmsis_version.h \
../../../Drivers/CMSIS/Include/cmsis_compiler.h \
../../../Drivers/CMSIS/Include/cmsis_gcc.h \
../../../Drivers/CMSIS/Include/mpu_armv7.h \
../../../Drivers/CMSIS/Include/cachel1_armv7.h \
../../../Drivers/CMSIS/Device/ST/STM32H7RSxx/Include/system_stm32h7rsxx.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal.h \
../../../Boot/Core/Inc/stm32h7rsxx_hal_conf.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_rcc.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_def.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_ll_rcc.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_rcc_ex.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_gpio.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_gpio_ex.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_dma.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_dma_ex.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_cortex.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_exti.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_flash.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_flash_ex.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_pwr.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_pwr_ex.h \
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_xspi.h
../../../Drivers/CMSIS/Device/ST/STM32H7RSxx/Include/stm32h7rsxx.h:
../../../Drivers/CMSIS/Device/ST/STM32H7RSxx/Include/stm32h7s7xx.h:
../../../Drivers/CMSIS/Include/core_cm7.h:
../../../Drivers/CMSIS/Include/cmsis_version.h:
../../../Drivers/CMSIS/Include/cmsis_compiler.h:
../../../Drivers/CMSIS/Include/cmsis_gcc.h:
../../../Drivers/CMSIS/Include/mpu_armv7.h:
../../../Drivers/CMSIS/Include/cachel1_armv7.h:
../../../Drivers/CMSIS/Device/ST/STM32H7RSxx/Include/system_stm32h7rsxx.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal.h:
../../../Boot/Core/Inc/stm32h7rsxx_hal_conf.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_rcc.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_def.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_ll_rcc.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_rcc_ex.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_gpio.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_gpio_ex.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_dma.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_dma_ex.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_cortex.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_exti.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_flash.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_flash_ex.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_pwr.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_pwr_ex.h:
../../../Drivers/STM32H7RSxx_HAL_Driver/Inc/stm32h7rsxx_hal_xspi.h:
@@ -1,2 +0,0 @@
/Users/thomas/Documents/Codes/STM32/CelloEffects/Boot/Core/Src/system_stm32h7rsxx.c:160:6:SystemInit 4 static
/Users/thomas/Documents/Codes/STM32/CelloEffects/Boot/Core/Src/system_stm32h7rsxx.c:214:6:SystemCoreClockUpdate 40 static