1759787334
* furiac start and thread create implementation" * create and kill task * rename debug, add header * remove write.c * kill itself * furi exit/switch * success switch and exit * WIP furi records * add furi record interface * rename furi app control file * record implementation in progress * wip furi implementation * add automatic tests for FURI AC * differ build tests * small changes * FURI record tests description * change furi statuses * FURI record test blank * exit after all application ends * delay: print then wait * fix FURI implementatnion building * pipe record test * concurrent access * uncomplete mute-test * update FURI documentation
28 lines
476 B
C
28 lines
476 B
C
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "main.h"
|
|
#include "flipper_hal.h"
|
|
#include "cmsis_os.h"
|
|
#include "furi.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
// 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
|