[fpc-devel] Cortex-M0 (SAMD21G18A) and gcc-arm-none-eabi-8-2018-q4-major-win32

Jeppe Johansen jeppe at j-software.dk
Sun Jun 2 18:07:58 CEST 2019


It's been snuck in now :)

On 5/26/19 1:14 PM, Michael Ring wrote:
>
> Just one note of caution:
>
> When you encounter strange behaviour of your Code on Cortex-M0 in 
> respect to DIV commmand then check the mailinglist, Jeppe has provided 
> a fix but I am not quite sure if the fix has made it into official trunk.
>
> Michael
>
> Am 26.05.19 um 09:15 schrieb Dimitrios Chr. Ioannidis via fpc-devel:
>>
>> Hi,
>>
>>   yesterday I tried ( for first time ) to use the fpc for arm with 
>> the gcc-arm-none-eabi-8-2018-q4-major-win32 toolchain and I got this 
>> error :
>>
>> "G:\Programming\dimitris\tools\gcc-arm-none-eabi\bin\arm-none-eabi-objcopy.exe: 
>> G:\Programming\dimitris\tools\mbf\Samples\Blinky\Blinky.hex 64-bit 
>> address 0x4b4fa300000000 out of range for Intel Hex file"
>>
>> As I'm not familiar with ARM, does anyone have a clue or a hint on 
>> what I'm doing wrong ?
>>
>> FYI,
>>
>> FPC trunk builded with :
>>
>> ">make.exe clean crossall crossinstall OS_TARGET=embedded 
>> CPU_TARGET=arm SUBARCH=armv6m CROSSOPT="-O1" 
>> INSTALL_PREFIX=G:\Programming\dimitris\tools\fpc-trunk 
>> CROSSBINDIR=G:\Programming\dimitris\tools\gcc-arm-none-eabi\bin 
>> BINUTILSPREFIX=arm-none-eabi-"
>>
>> and the
>>
>> project options are :
>>
>> "G:\Programming\dimitris\tools\fpc-trunk\bin\x86_64-win64\fpc.exe
>> -Tembedded
>> -Parm
>> -MObjFPC
>> -Scgi
>> -Ch8192
>> -Cs8192
>> -O1
>> -gw2
>> -l
>> -vewnhibq
>> -Fi..\..\Source
>> -Filib\arm-embedded
>> -Fu..\..\Source
>> -Fu.
>> -FUlib\arm-embedded
>> -FE.
>> -oBlinky
>> -Cparmv6m
>> -XParm-none-eabi-
>> -Wparduinozero"
>>
>> PS: I used the "Microcontroller Board Framework" ( 
>> https://github.com/michael-ring/mbf ) from Michael Ring cause the 
>> official FPC doesn't have my MCU ( ATSAMD21G18A ).
>>
>>
>> regards,
>>
>> -- 
>>
>> Dimitrios Chr. Ioannidis
>>
>>
>> _______________________________________________
>> fpc-devel maillist  -fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190602/69117f76/attachment.html>


More information about the fpc-devel mailing list