I'm trying to write code for communicate with rfm69hc rf module over spi and I've written some pin i/o functions I've programmed it with another mcus but they have more than 1 kb flash size.
When I insert rf initialization function to main linker gives error.
"../lnk_msp430g2102.cmd", line 95: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".text" size 0x4e8 . Available memory ranges:
FLASH size: 0x3e0 unused: 0x3a8 max hole: 0x3a8
error #10010: errors encountered during linking; "termo-ti.out" not built
How can I calculate my program size? Shoud I write with assambler the whole project?