mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 19:53:08 +00:00
110a9efc3c
* proof of concept * fix syntax for rust and add auto fix syntax * fix syntax for C * fix bug with files owner * add information to wiki * try to add ci * format code from master * even more format fixes * change docker to docker-compose * Exclude ./target_*/build directories from format check * Run rustfmt only on project files * add ulimit setup for long clang list * merge * fix rustfmt, exclude target Inc directory * sync with master * abspath Co-authored-by: aanper <mail@s3f.ru> Co-authored-by: Vadim Kaushan <admin@disasm.info>
17 lines
No EOL
330 B
C
17 lines
No EOL
330 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;
|
|
} |