Other Parts Discussed in Thread: MSP430F5342, CSD
I noticed I got a few strange errors (.cinit couldn't find a home if FLASH) I have the LARGE model set for both data and code space so I changed the file lnk_msp430f5342.cmd and put FLASH2 for allocating .cinit.
Easy right? Well now I'm puzzled is .text contiguously allocated or will the linker split it between FLASH and FLASH2 (in my possibly vain hopes I guess). Just a bit nervous as my FLASH space is 99% with that small move and my const is only 4226. So I'm pretty sure I can and will overrun the code space in FLASH and need to flood into FLASH2. (I have 9K statically allocated in FLASH2).
Also if the latter is the case (it floods into FLASH2) would it be a good or bad idea for the ISR functions to call another function if the code for the ISR gets a bit more than a few bytes (the biggest currently is 106 bytes and that makes me nervous as well).
Thanks for any input!
Stephen
