Init commit
This commit is contained in:
4
bsp_stm32_freertos/utility/CMakeLists.txt
Normal file
4
bsp_stm32_freertos/utility/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
print.c
|
||||
)
|
||||
|
7
bsp_stm32_freertos/utility/print.c
Normal file
7
bsp_stm32_freertos/utility/print.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include <hardware_init.h>
|
||||
#include <boardconfig.h>
|
||||
|
||||
void printChar(const char* character) {
|
||||
HAL_UART_Transmit(&huart3, (uint8_t *)character, 1 , DEBUG_UART_MS_TIMEOUT);
|
||||
}
|
||||
|
Reference in New Issue
Block a user