enabled float printout for stm32

This commit is contained in:
Robin Müller 2021-06-04 15:50:27 +02:00
parent f78d0c95d3
commit 9149b93b00
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
5 changed files with 10 additions and 4 deletions

View File

@ -163,6 +163,12 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
"-Wl,--gc-sections"
)
endif()
if(TGT_BSP MATCHES "arm/stm32h743zi-nucleo")
target_link_options(${TARGET_NAME} PRIVATE
-Wl,--undefined,_printf_float -Wl,--undefined,_scanf_float
)
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
endif()

View File

@ -26,7 +26,7 @@ if(${OS_FSFW} MATCHES freertos)
"${CMAKE_SCRIPT_PATH}/STM32FreeRTOSConfig.cmake"
PARENT_SCOPE
)
elseif(${OS_FSFW} MATCHES rtems)
set(RTEMS_CONFIG_DIR

View File

@ -28,7 +28,7 @@ ReturnValue_t STM32TestTask::performOneShotAction() {
void STM32TestTask::performSpiL3gd20hTest() {
SPI_HandleTypeDef spiHandle = {};
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::DMA);
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::INTERRUPT);
gyroDevice.initialize();
gyroDevice.performOperation();
}

2
fsfw

@ -1 +1 @@
Subproject commit ad820fbe99d2fa0fb49eb71ed70611bfea7efa99
Subproject commit 070c3f3bbfdbddbda54b18cdb5d1c9928640a0dd

@ -1 +1 @@
Subproject commit cf8235cedeb1fa82e594daa67211d55a51c67b11
Subproject commit 895ba1b455fc9e5c93f3ad6424174773584b5130