I have not been able to link the division and modulus functions that appear in div_mod.S as ram_code. When I try to do this I get errors about interworking.
I would like to do this as I am concerned about battery efficiency when these functions are stored in flash code but are regularly being used.
Does anyone know if this is possible?
you can try replacing ".text" by " .section .ram_code,"ax" " before functions you wanna link in the ram code