|
SingingCat 0
application
|
handling of flash via streams More...
#include "flashapp.h"#include "led.h"#include "app_update.h"#include "user_app_exe.h"Go to the source code of this file.
Functions | |
| int | flash_app_close (int fd, int reason) |
| int | flash_app_consumer (int streamfd, byte *b, int size) |
| called by stream whenever we got sufficient bytes (and only on full blocks!) More... | |
| int | flash_app_init (void *base, uint32_t flags) |
| void | flash_debug () |
| int | flash_write (byte *b, void *adr, int size) |
| unlock, erase, write, lock More... | |
| void | flashcom (struct command *com) |
| set up a flash connection, associate with stream, called by command-handler for command "flash-app" More... | |
Variables | |
| const struct consumerinfo | flashconsumerinfo = { &flash_app_consumer, &flash_app_close } |
handling of flash via streams
Definition in file flashapp.c.