Я пытаюсь отлаживать с помощью отладчика Pio в vscode. У меня есть этот код от Aceinna openIMU. Я не могу понять, как настроить файл запуска. json. Он всегда сообщает мне следующую ошибку при сборке приложения перед отладкой:
Processing OpenIMU300ZI (platform: aceinna_imu; board: OpenIMU300)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/aceinna_imu/OpenIMU300.html
PLATFORM: Aceinna IMU 1.2.5 > Aceinna OpenIMU 300
HARDWARE: STM32F405RG 120MHz, 128KB RAM, 1MB Flash
DEBUG: Current (stlink) External (blackmagic, jlink, stlink)
PACKAGES:
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 4 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <OpenIMU300-base-library> 1.0.9
| |-- <Core> 1.0.4
|-- <CLI>
| |-- <OpenIMU300-base-library> 1.0.9
| | |-- <Core> 1.0.4
| |-- <Core> 1.0.4
|-- <Core> 1.0.4
Building in debug mode
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/startup_stm32f405xx.o
arm-none-eabi-as: unrecognized option '-Og'
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/stm32f4xx_cryp.o
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/stm32f4xx_cryp_aes.o
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/stm32f4xx_cryp_des.o
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/stm32f4xx_cryp_tdes.o
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/stm32f4xx_dac.o
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/stm32f4xx_dbgmcu.o
*** [.pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/startup_stm32f405xx.o] Error 1
Compiling .pio/build/OpenIMU300ZI/libc1f/OpenIMU300-base-library_ID6538/STM32F405/src/stm32f4xx_dcmi.o
========================================================================================================== [FAILED] Took 1.31 seconds ==================
Любая полезная идея?
Спасибо, M C.