Skip to content

Commit

Permalink
nRF52: free up 800b more flash by removing vector table padding
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Jan 10, 2024
1 parent 9520746 commit 08a0f7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2v21 : ...
2v21 : nRF52: free up 800b more flash by removing vector table padding

2v20 : Ensure String.charCodeAt returns NaN for out of bounds chars
Bangle.js2: When rendering overlays, *do not* use the current FG/BG color for 1 bit overlays
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ __isr_vector:
.long I2S_IRQHandler
.long FPU_IRQHandler
.long 0 /*Reserved */

#ifdef BIG_VECTOR_TABLE // see https://github.com/espruino/Espruino/commit/da38facc65a8855f70fd4e25024a9276d8d4c8e0#commitcomment-135831015
/* 0xE0 = 224 */
.long 0 /*Reserved */
.long 0 /*Reserved */
.long 0 /*Reserved */
Expand All @@ -138,6 +141,7 @@ __isr_vector:
.long 0 /*Reserved */
.long 0 /*Reserved */
.long 0 /*Reserved */
/* 0x100 = 256 */
.long 0 /*Reserved */
.long 0 /*Reserved */
.long 0 /*Reserved */
Expand Down Expand Up @@ -330,6 +334,7 @@ __isr_vector:
.long 0 /*Reserved */
.long 0 /*Reserved */
.long 0 /*Reserved */
#endif

.size __isr_vector, . - __isr_vector

Expand Down

0 comments on commit 08a0f7b

Please sign in to comment.