Commit 50f7cb2a authored by deroo's avatar deroo
Browse files

put array start on flash word boundary

parent 5cf2021c
......@@ -17,9 +17,11 @@
// private macro: move _flashAddr down by the size of the array being declared
// then make it start on a flash word boundary (the next lowest multiple of 4)
// cannot be done directly in NANO33BLE_FLASH macro
#define _NANO33BLE_FLASH_DECR_ADDR(_bytesInArray) \
_flashAddr -= (_bytesInArray);
_flashAddr -= (_bytesInArray); \
_flashAddr |= 0xFFFFC;
// public macro: declare array in flash at highest flash addresses available
// first push _arrayAddr down by size of array in bytes,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment