Open rei-vilo opened 6 years ago
Might be related to #63
See Using FRAM above 0x00010000 on the 43oh forum.
See https://github.com/energia/msp430-lg-core/blob/new_compiler/extras/readme.txt for support of MSP-GCC 7.3.1.24 with large arrays in FRAM.
Tested successfully on macOS with minor adaptations.
THE MSP430FR5994 provides 256 KB of FRAM, of which 262,144 bytes are continuous (Main: code memory 043FFFh–004000h, cf. MSP430FR5994 , 6.15 Memory Map Table 6-41. Memory Organization).
How to declare two arrays in R/W mode of 30,000 bytes each?
The previous code throws errors at linking, typical of memory overflow.
Does
memory.x
at ~/Library/Energia15/packages/energia/tools/msp430-gcc/4.6.5/msp430/lib/ldscripts/msp430fr5994/memory.x need to be customised, and how?Thank you!