enabled float printout for stm32
This commit is contained in:
@ -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()
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
2
fsfw
Submodule fsfw updated: ad820fbe99...070c3f3bbf
2
fsfw_hal
2
fsfw_hal
Submodule fsfw_hal updated: cf8235cede...895ba1b455
Reference in New Issue
Block a user