Part Number: MSP430F5529
I'm trying to port FunkOS from F2xx series to F5xx series and I came upon an warning #17003-D. The size of the code is about 1.5kB and RAM usage is 547B. The warning message is:
"../port/MSP430_CC/F2xx/taskportasm.asm", line 69: warning #17003-D: relocation from assembly code range "$../port/MSP430_CC/F2xx/taskportasm.asm:68:84$" to symbol "Task_SetScheduler" overflowed; the 17-bit relocated address 0x1057c is too large to encode in the 16-bit field (type = 'R_MSP430X_ABS16' (15), file = "./port/MSP430_CC/F2xx/taskportasm.obj", offset = 0x00000004, section = ".text")
I can't understand where the 17-bit address 0x1057c comes from since the code is only 1.5kB. Can you help me with this code ot give me a hint how I can call the C function from assembler in a way that will not produce this warning?
I searched the forum and one thng that I found was to change processor options --near_data to none. This did not help

Here is my project:
