Recent

Author Topic: Where did the sources of the ARM units go?  (Read 391 times)

Mathias

  • Jr. Member
  • **
  • Posts: 80
Where did the sources of the ARM units go?
« on: September 22, 2022, 03:29:53 pm »
Where did the sources of the ARM units go?

In January I built an fpc 3.3.1-9929 for my Raspberry Pico. In the sources I find a ..../fpcsrc/rtl/embedded/arm/rp2040.pp and the folder contains 245 other *.pp files.
Earlier I just built the latest trunc (3.3.1-11929), I can't find any rp2040.pp there anymore. Many other files are also missing, the folder only contains 45 files.

Where did the files go?
With old compilers I could build a program for the Raspy Pico with -WpRASPI_PICO.

MiR

  • Full Member
  • ***
  • Posts: 234
Re: Where did the sources of the ARM units go?
« Reply #1 on: September 22, 2022, 04:40:08 pm »
Most of the compiler modules I created are not part of trunk because they were too many. You need to build the 'embedded' target in fpcupdeluxe to see all the modues or clone directly from my repo on gitlab:

https://gitlab.com/michael-ring/freepascal-sources.git


funlw65

  • Full Member
  • ***
  • Posts: 135
    • Visual Pin Configurator for Nucleo 64pin boards
Re: Where did the sources of the ARM units go?
« Reply #2 on: September 24, 2022, 12:13:13 pm »
Most of the compiler modules I created are not part of trunk because they were too many. You need to build the 'embedded' target in fpcupdeluxe to see all the modues or clone directly from my repo on gitlab:

https://gitlab.com/michael-ring/freepascal-sources.git

There are differences between repositories regarding
cortexm4f_start.inc,
cortexm3_start.inc
cortexm0p_start.inc
probably there are more?...

Are these differences because of the compiler evolution?
Lazarus 2.2.0rc3 fpc 3.2.2, Linux, UNIX BSD
widgetset: gtk2, msegui, qt5,  bgrabitmap controls
Immediate mode GUI: raygui 3.0

MiR

  • Full Member
  • ***
  • Posts: 234
Re: Where did the sources of the ARM units go?
« Reply #3 on: September 24, 2022, 01:47:39 pm »
The changes in my code were usually to make debugging easier and very few bugfixes for cornercases, nothing to write home about.

Mathias

  • Jr. Member
  • **
  • Posts: 80
Re: Where did the sources of the ARM units go?
« Reply #4 on: September 24, 2022, 04:51:17 pm »
Most of the compiler modules I created are not part of trunk because they were too many. You need to build the 'embedded' target in fpcupdeluxe to see all the modues or clone directly from my repo on gitlab:

https://gitlab.com/michael-ring/freepascal-sources.git
Thanks, it works with your sources.

Mathias

  • Jr. Member
  • **
  • Posts: 80
Re: Where did the sources of the ARM units go?
« Reply #5 on: September 24, 2022, 04:51:40 pm »
As I noticed, all ARM units are available in your sources. I suspect they were generated from some files by ARM, like Atmel's AVR is.

I have already written a post about this in the issus of your sources.
https://gitlab.com/michael-ring/freepascal-sources/-/issues

 

TinyPortal © 2005-2018