Recent

Author Topic: Setting up an ARM embedded project?  (Read 4134 times)

Ruptor

  • Full Member
  • ***
  • Posts: 201
Re: Setting up an ARM embedded project?
« Reply #15 on: July 14, 2025, 12:07:50 pm »
The only thing you need to do is to tell FPC (and Lazarus) about the desired target when cross-compiling. FPC cannot guess the target other than using the default target (settings).
Sorry for tardy responses I am a 24/7 carer for my 100 year old mum.
I think I set everything but Lazarus can't see things. Still trying to understand your previous post. %)


Ruptor

  • Full Member
  • ***
  • Posts: 201
Re: Setting up an ARM embedded project?
« Reply #16 on: July 14, 2025, 12:14:28 pm »
Which specific chip do you want to compile for?
As per wiki STM32F103C8  Cortex M3.
Confused with armv6m & armv7m where Fpcup & Lazarus seem to swap them automatically as if the 7m compiler covers both.
« Last Edit: July 14, 2025, 12:16:58 pm by Ruptor »

Ruptor

  • Full Member
  • ***
  • Posts: 201
Re: Setting up an ARM embedded project?
« Reply #17 on: July 15, 2025, 03:06:39 pm »
I reinstalled everything doing compiler trunk first then compiler trunk then cross with armv7m target. Now after messing with the paths I get this hitting the test button under project options. If I add another path to the x86_64-linux where the files are it complains there are duplicates with cross files.

 

TinyPortal © 2005-2018