chore(radio): Move const data from RAM to FLASH. (#4098)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
philmoz
2023-09-29 10:19:06 +02:00
committed by GitHub
co-authored by philmoz
parent 397d30d283
commit ef6316ef6c
38 changed files with 154 additions and 110 deletions
@@ -24,7 +24,7 @@
#if defined(SIMU)
const uint32_t cpu_uid[3] = { 0x12345678, 0x55AA55AA, 0x87654321};
#else
const uint32_t * cpu_uid = (uint32_t *)0x1FFF7A10;
const uint32_t * const cpu_uid = (uint32_t *)0x1FFF7A10;
#endif
void getCPUUniqueID(char * s)
+1 -1
View File
@@ -29,5 +29,5 @@ EXTERN_C(void getCPUUniqueID(char * s));
#if defined(SIMU)
extern const uint32_t cpu_uid[3];
#else
extern const uint32_t * cpu_uid;
extern const uint32_t * const cpu_uid;
#endif