Search results
SDCC global constant initialized array in a fixed position in memory
Score: 182.17 %,
Type: Forum topic , Comments: 5 comments
it outside the main function like
uint8_t __at(0x8200) notesFreq[12] = {
173, 181, 192, 193, 194, ... --data 0x8200 will start your data at address 0x8200 (using 0 for address puts it right behind the code ... placed just after the _CODE area by the crt0) and will also allocate the equivalent space in RAM ...
