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

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Sun May 26 09:15:58 CEST 2019


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190526/cfbe94d8/attachment.html>


More information about the fpc-devel mailing list