WIP target lo
custom debug stream run docker with project dir, specify dir to makefile remove unused includes fix broken F1
This commit is contained in:
21
target_lo/Src/lo_hal.c
Normal file
21
target_lo/Src/lo_hal.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
Flipper devices inc.
|
||||
|
||||
Dummy hal for local fw build
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "main.h"
|
||||
#include <unistd.h>
|
||||
|
||||
UART_HandleTypeDef DEBUG_UART = 0;
|
||||
|
||||
uint16_t HAL_UART_Transmit(
|
||||
UART_HandleTypeDef* handle,
|
||||
uint8_t* bufer,
|
||||
uint16_t size,
|
||||
uint32_t wait_ms
|
||||
) {
|
||||
uint16_t res = write(1, (const char*)bufer, size);
|
||||
return res;
|
||||
}
|
Reference in New Issue
Block a user