fix linker error, ignore .stm32env file, fix TouchGFX simulator compilation

This commit is contained in:
Leonard Gies 2025-04-01 23:07:20 +02:00
parent 90c9427f12
commit 5c441a87cd
Signed by: l.gies
GPG Key ID: 6F6FB9338EE44F71
5 changed files with 13 additions and 19 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ TouchGFX/build
/TouchGFX/*_backup.touchgfx
/steering-wheel.ioc_bkp
/STM32Make.make
/.stm32env

View File

@ -1,7 +0,0 @@
# environment variable file used by stm32-for-vscode and the STM32Make.make makefile
# Other environment variables can be added here. If wanting to use the generated makefile in CI/CD context please
# configure the following variables: GCC_PATH, OPENOCD
ARM_GCC_PATH = /Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin
OPENOCD = /opt/homebrew/bin/openocd

View File

@ -242,16 +242,16 @@ TouchGFX/App/app_touchgfx.c
# ASM sources
ASM_SOURCES = \
startup_stm32h7a3xx.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_misra.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_context_restore.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_context_save.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_interrupt_control.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_interrupt_disable.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_interrupt_restore.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_schedule.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_stack_build.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_system_return.S \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_timer_interrupt.S
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_misra.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_context_restore.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_context_save.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_interrupt_control.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_interrupt_disable.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_interrupt_restore.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_schedule.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_stack_build.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_thread_system_return.s \
Middlewares/ST/threadx/ports/cortex_m7/gnu/src/tx_timer_interrupt.s
#######################################

View File

@ -117,7 +117,7 @@ includeDirectories:
# these should be escaped with a: \ or the name should be in double quotes e.g. "HARDWARE_DRIVER*.c"
sourceFiles:
- startup_stm32h7a3xx.s
- Middlewares/ST/threadx/ports/cortex_m7/gnu/src/*.S
- Middlewares/ST/threadx/ports/cortex_m7/gnu/src/*.s
- Core/Src/main.c
- Core/Src/stm32h7xx_it.c
- Core/Src/stm32h7xx_hal_msp.c

View File

@ -1 +1 @@
C:/Users/julia/FT/steering-wheel/Core/Src/vehicle_state.c
../Core/Src/vehicle_state.c