6extern uint32_t _sidata;
11extern int MCULIBHANDLE;
15 return &userapp_vector;
28 s = (uint8_t *)&_sidata;
29 t = (uint8_t *)&_sdata;
37 if (t >= ((uint8_t *)&_edata)) {
44 s = (uint8_t *)&_sbss;
45 t = (uint8_t *)&_ebss;
60 if (t >= ((uint8_t *)&_edata)) {
65 s = (uint8_t *)&_sbss;
66 t = (uint8_t *)&_ebss;
77 MCULIBHANDLE = MCULIB_HANDLE;
79 return start(MCULIBHANDLE, api);
int start(int MCULIBHANDLE, struct sc_firmware_api *api)
this is called when the board powers up
these are the callbacks available. the firmware "api". provided to the app on startup
this must be implemented by the userapp, stored in flash at the beginning of the file (offset 0)
user application interface