enabled float printout for stm32
This commit is contained in:
parent
f78d0c95d3
commit
9149b93b00
@ -163,6 +163,12 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|||||||
"-Wl,--gc-sections"
|
"-Wl,--gc-sections"
|
||||||
)
|
)
|
||||||
endif()
|
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")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ if(${OS_FSFW} MATCHES freertos)
|
|||||||
"${CMAKE_SCRIPT_PATH}/STM32FreeRTOSConfig.cmake"
|
"${CMAKE_SCRIPT_PATH}/STM32FreeRTOSConfig.cmake"
|
||||||
PARENT_SCOPE
|
PARENT_SCOPE
|
||||||
)
|
)
|
||||||
|
|
||||||
elseif(${OS_FSFW} MATCHES rtems)
|
elseif(${OS_FSFW} MATCHES rtems)
|
||||||
|
|
||||||
set(RTEMS_CONFIG_DIR
|
set(RTEMS_CONFIG_DIR
|
||||||
|
@ -28,7 +28,7 @@ ReturnValue_t STM32TestTask::performOneShotAction() {
|
|||||||
|
|
||||||
void STM32TestTask::performSpiL3gd20hTest() {
|
void STM32TestTask::performSpiL3gd20hTest() {
|
||||||
SPI_HandleTypeDef spiHandle = {};
|
SPI_HandleTypeDef spiHandle = {};
|
||||||
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::DMA);
|
GyroL3GD20H gyroDevice(&spiHandle, spi::TransferModes::INTERRUPT);
|
||||||
gyroDevice.initialize();
|
gyroDevice.initialize();
|
||||||
gyroDevice.performOperation();
|
gyroDevice.performOperation();
|
||||||
}
|
}
|
||||||
|
2
fsfw
2
fsfw
@ -1 +1 @@
|
|||||||
Subproject commit ad820fbe99d2fa0fb49eb71ed70611bfea7efa99
|
Subproject commit 070c3f3bbfdbddbda54b18cdb5d1c9928640a0dd
|
2
fsfw_hal
2
fsfw_hal
@ -1 +1 @@
|
|||||||
Subproject commit cf8235cedeb1fa82e594daa67211d55a51c67b11
|
Subproject commit 895ba1b455fc9e5c93f3ad6424174773584b5130
|
Reference in New Issue
Block a user