43 #include <nuttx/compiler.h> 55 #define APP_DESCRIPTOR_SIGNATURE_ID 'A','P','D','e','s','c' 56 #define APP_DESCRIPTOR_SIGNATURE_REV '0','0' 57 #define APP_DESCRIPTOR_SIGNATURE APP_DESCRIPTOR_SIGNATURE_ID, APP_DESCRIPTOR_SIGNATURE_REV 60 # define boot_app_shared_section __attribute__((section(".app_descriptor"))) 99 #pragma GCC diagnostic push 100 #pragma GCC diagnostic ignored "-Wattributes" 111 #pragma GCC diagnostic pop 138 #pragma GCC diagnostic push 139 #pragma GCC diagnostic ignored "-Wattributes" 140 #pragma GCC diagnostic ignored "-Wpacked" 150 #pragma GCC diagnostic pop
begin_packed_struct struct bootloader_app_shared_t bootloader_app_shared_t
int bootloader_app_shared_read(bootloader_app_shared_t *shared, eRole_t role)
union bootloader_app_shared_t::@2 crc
void bootloader_app_shared_write(bootloader_app_shared_t *shared, eRole_t role)
begin_packed_struct struct app_descriptor_t app_descriptor_t
void bootloader_app_shared_invalidate(void)