Hi Greg,

Thank you for your suggestions; I did add the -mlong-calls to the platform
Make.defs

-ARCHCFLAGS = -fno-builtin
+ARCHCFLAGS = -fno-builtin -mlong-calls

I tried it out, same issue. Let me know if you have other ideas; I wonder
if anyone has done
in-system programming like this before without a boot-loader?

Thank you!
-james


On Mon, Dec 12, 2022 at 11:05 PM James Dougherty <jafr...@gmail.com> wrote:

> Hi Greg,
>
> No,l I don't, the relevant extract from make V=1 is as below!
>
> arm-none-eabi-gcc" -- -fno-builtin -Wall -Wstrict-prototypes -Wshadow
> -Wundef -fno-strict-aliasing -g -Os -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16
> -mfloat-abi=hard -I.
>
> I will test that out tomorrow...
>
> Thank you!
> -James
>
>
> On Mon, Dec 12, 2022 at 12:18 PM Gregory Nutt <spudan...@gmail.com> wrote:
>
>> Do you have the compiler option -mlong-calls selected?  That is necessary
>> in order to call from the FLASH address space (at 0xxx xxxx) to the SRAM
>> address space (2xxx xxxx).
>>
>

Reply via email to