uint32_t example_value = 0x12345678; intmain(void) { //get the address of the example function uint32_t function_addr=(uint32_t)&example_function; if (function_addr <CODE_ADDR_START I1 function_addr > CODE_ADDR_END) { while(1); } // get the address of the example value uint32_t value_addr = (uint32_t)&example_value; if (value_addr < SRAM_ADDR_START 11 value_addr > SRAM_ADDR_END) { while(1); } }