Recent

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

Mathias

  • Jr. Member
  • **
  • Posts: 88
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: 246
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: 148
    • 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?
FreePascal 3.2.2, C 10.2.1, D 1.24 under Linux(init,musl,glibc), DragonflyBSD, NetBSD
gui: gtk2, qt5, raylib4.x+raygui3.x, nanovg 
tui: freevision, tvision2, termbox2+widgets, finalcut
db: typhoon-1.11...

MiR

  • Full Member
  • ***
  • Posts: 246
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: 88
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: 88
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