mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-20 17:53:20 +00:00
59513b05ee
* fixed inline functions for modern C standart * more stack for application * added library * init fatfs library * fatfs example application * Merge with current master * fix typo and delete old files * cmsis os 2 reentrance fix * Reworked dependency wait to support multiple dependency * Build FatFS on local target, syscall.c is target-specific. * run local target ok * testcase for fatfs Co-authored-by: aanper <mail@s3f.ru>
19 lines
354 B
C
19 lines
354 B
C
/*
|
|
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;
|
|
}
|
|
|
|
void BSP_SD_Init() {}
|