mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-22 18:53:18 +00:00
979af6c165
* add delay function * todo about delay_isr * remove arduino defines and fix all apps to use core-api/hal-api * delay for local target * remove warnings of task_equal * fix BSP_SD_Init * fix USBD_static * grio read constant pointer to gpio * add TODO about ISR context * const void* arg for pubsub api * mark unused functions * app pointers now pointed to constant apps * fix printf format * fix "unused" warnings in local target * fix const pin read in local target * fix int to pointer warnings in local target * power read mutex error fix * delete old makefile * add -werror Co-authored-by: Aleksandr Kutuzov <aku@plooks.com> Co-authored-by: aanper <mail@s3f.ru>
21 lines
372 B
C
21 lines
372 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;
|
|
}
|
|
|
|
uint8_t BSP_SD_Init() {
|
|
return 0;
|
|
}
|