mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
0980775f01
custom debug stream run docker with project dir, specify dir to makefile remove unused includes fix broken F1
20 lines
400 B
C
20 lines
400 B
C
extern "C" {
|
|
#include "main.h"
|
|
#include "flipper_hal.h"
|
|
#include "cmsis_os.h"
|
|
}
|
|
|
|
// Arduino defines
|
|
|
|
#define pinMode app_gpio_init
|
|
#define digitalWrite app_gpio_write
|
|
#define digitalRead app_gpio_read
|
|
#define EEMEM
|
|
#define delayMicroseconds delay_us
|
|
#define delay osDelay
|
|
#define byte uint8_t
|
|
|
|
#define OUTPUT GpioModeOutput
|
|
#define INPUT GpioModeInput
|
|
#define LOW false
|
|
#define HIGH true
|