keycard-pro/app/mem.c

13 lines
372 B
C

#include "mem.h"
#include "common.h"
APP_ALIGNED(uint8_t g_mem_heap[MEM_HEAP_SIZE], 4);
APP_ALIGNED(uint8_t g_flash_swap[HAL_FLASH_BLOCK_SIZE], 4);
APP_SECTION(uint32_t g_bootcmd, ".bootcmd,\"aw\",%nobits@");
const uint8_t ZERO32[32] __attribute__((aligned(4))) = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};