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:
aanper
2020-08-17 12:45:53 +03:00
parent 419a7644a4
commit 0980775f01
16 changed files with 320 additions and 45 deletions

18
target_lo/Inc/main.h Normal file
View File

@@ -0,0 +1,18 @@
#include <stdint.h>
#include <stdlib.h>
#include <limits.h>
#define HAL_MAX_DELAY INT_MAX
typedef uint32_t UART_HandleTypeDef;
uint16_t HAL_UART_Transmit(
UART_HandleTypeDef* handle,
uint8_t* bufer,
uint16_t size,
uint32_t wait_ms
);
typedef uint32_t TIM_HandleTypeDef;
#define LED_RED_GPIO_Port 1
#define LED_RED_Pin 1