Commit Graph

282 Commits

Author SHA1 Message Date
florian
716a9c641d * fix compilation of arm-embedded, resolves #36626
git-svn-id: trunk@44034 -
(cherry picked from commit 5aaf68b088)
2023-12-16 17:11:50 +01:00
florian
d35d69b851 + introduce TOSTimestamp
git-svn-id: trunk@44033 -
(cherry picked from commit 3cd4168ab3)
2023-12-16 17:10:56 +01:00
Jeppe Johansen
0b182a1620 Fix types on embedded RTL.
Optimize consoleio for size on AVR.
Add support for RISC-V.
Regenerated makefile

git-svn-id: trunk@42333 -
(cherry picked from commit 9c77e87dd0)
2023-12-16 17:10:29 +01:00
florian
336e72f3c4 * fix compilation on several OSes after r44010
git-svn-id: trunk@44013 -
(cherry picked from commit 69956cd97a)
2023-12-14 16:36:20 +01:00
florian
3aadfc0802 * subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
on unixes can be tackled

git-svn-id: trunk@44010 -
(cherry picked from commit 01302bc47d)
2023-12-12 22:19:17 +01:00
Pierre Muller
4789afb4b0 Regenerated Makefile's after cherry-pick adding soft fpu related units 2022-02-01 14:02:07 -07:00
florian
a589637b1d * patch by Christo Crause: more avr1 controllers and remove attiny28 from avr25 makefile list, resolves #36686
git-svn-id: trunk@44136 -
(cherry picked from commit 297d6e2c60)

# Conflicts:
#	.gitattributes
2021-10-24 12:40:37 +02:00
florian
b77b0df3bd * AVR: attiny28 is an avr1 CPU
git-svn-id: trunk@44132 -
(cherry picked from commit dea63e3d61)
2021-10-24 12:40:37 +02:00
florian
3cb2cff444 * patch by Christo Crause: more AVR controllers, resolves #36683
git-svn-id: trunk@44130 -
(cherry picked from commit 04ad607bb4)

# Conflicts:
#	.gitattributes
2021-10-24 12:40:37 +02:00
florian
a124adb9a7 * patch by Christo Crause: add missing atmega-PB controllers, resolves #36667
git-svn-id: trunk@44128 -
(cherry picked from commit 5040e31f11)

# Conflicts:
#	.gitattributes
2021-10-24 12:40:37 +02:00
florian
5e4de7277a * patch by Christo Craus to reorder the avr controllers for better overview, resolves #36662
git-svn-id: trunk@44124 -
(cherry picked from commit e033269deb)
2021-10-24 12:40:37 +02:00
florian
be4c56a05c * patch by Christo Crause: fix startup code for avrtiny subarch, resolves #36650
git-svn-id: trunk@44100 -
(cherry picked from commit 7d283f530e)
2021-10-24 12:40:37 +02:00
florian
61c6c04f71 + patch by Christo Crause: Support for attiny10x controllers, resolves #36645
git-svn-id: trunk@44081 -
(cherry picked from commit 00214406bc)

# Conflicts:
#	.gitattributes
2021-10-24 12:40:37 +02:00
florian
ea2a93731d * patch by Christo Crause: support for megaAVR 0 and tinyAVR 0/1, #36616, part 3/3
git-svn-id: trunk@44038 -
(cherry picked from commit 9d91d680fb)

# Conflicts:
#	.gitattributes
2021-10-24 12:40:37 +02:00
florian
fd5614576f * patch by Christo Crause: support for megaAVR 0 and tinyAVR 0/1, #36616, part 2/3
git-svn-id: trunk@44037 -
(cherry picked from commit 7892e3f7b7)

# Conflicts:
#	.gitattributes
2021-10-24 12:40:37 +02:00
florian
4f5b872098 * patch by Christo Crause: avrtiny26 controller is not subarch avr25 but avr2, resolves #36620
git-svn-id: trunk@44021 -
(cherry picked from commit d2a059bd02)
2021-10-24 12:40:37 +02:00
florian
0a66f8f1dd * patch by Christo Crause: Correct subarch for avrtiny series in compiler, resolves #36619
git-svn-id: trunk@44020 -
(cherry picked from commit 3ab8830b83)
2021-10-24 12:40:37 +02:00
florian
0add128d7b + AVR: initial support of the avrtiny architecture in the rtl
git-svn-id: trunk@43988 -
(cherry picked from commit 28391e04bc)
2021-10-24 12:40:37 +02:00
Jeppe Johansen
821a83f735 * Fix exitcode handling for avrsim target. Patch by Christo Crause
git-svn-id: trunk@42940 -
(cherry picked from commit 05c4f45596)
2021-10-24 12:40:36 +02:00
Jeppe Johansen
ebe4d4cf13 Fixed stack checking for embedded target. Based on work by Christo Crause
git-svn-id: trunk@42157 -
(cherry picked from commit 2f501be2a0)
2021-10-24 12:40:36 +02:00
pierre
918ca565f2 Merge commit 44291
------------------------------------------------------------------------
r44291 | pierre | 2020-03-12 10:53:56 +0000 (Thu, 12 Mar 2020) | 1 line

 Add explicit dependency of AVR specific unit avrsim on consoleio and heapmgr units
------------------------------------------------------------------------
--- Merging r44291 into '.':
C    rtl/embedded/Makefile (resolved by recomputing Makefile using fpcmake)
U    rtl/embedded/Makefile.fpc
--- Recording mergeinfo for merge of r44291 into '.':
 U   .

git-svn-id: branches/fixes_3_2@47823 -
2020-12-20 11:27:04 +00:00
pierre
0830edbde5 Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini
git-svn-id: branches/fixes_3_2@46923 -
2020-09-23 09:47:20 +00:00
Jonas Maebe
b6eafa3039 * regenerated Makefiles
git-svn-id: branches/fixes_3_2@46868 -
2020-09-15 19:54:06 +00:00
michael
a14117e0bb * Merging revisions r45805 from trunk:
------------------------------------------------------------------------
    r45805 | michael | 2020-07-19 00:35:36 +0200 (Sun, 19 Jul 2020) | 1 line
    
    * Add TerminatedSet (delphi compatibility, bug ID #37388)
    ------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@46598 -
2020-08-23 09:24:13 +00:00
marco
522350a85d * fixes to 3.2.1
git-svn-id: branches/fixes_3_2@45662 -
2020-06-20 16:47:24 +00:00
pierre
59600e12bc Add missing pieces of commit r41949 into fixes branch
git-svn-id: branches/fixes_3_2@43601 -
2019-11-28 10:47:22 +00:00
marco
a4864e36f2 # revisions: 39668,39669,39671,39672,40652,41280,41281,42240,42244,42245,42286,42326,42456,42461,43048,43107,43108,43109,43110,43111,43112,43113
git-svn-id: branches/fixes_3_2@43394 -
2019-11-05 15:31:21 +00:00
marco
b8e3d6efa1 # revisions: 41570,41571,41938,42457,42327,42556,42557
git-svn-id: branches/fixes_3_2@43393 -
2019-11-05 15:16:28 +00:00
pierre
c689563167 ------------------------------------------------------------------------
r42555 | pierre | 2019-08-02 11:21:43 +0000 (Fri, 02 Aug 2019) | 1 line

 Add .NOTPARALLEL for beos and haiku RTLs
------------------------------------------------------------------------
--- Merging r42555 into '.':
U    rtl/beos/Makefile
U    rtl/beos/Makefile.fpc
U    rtl/haiku/Makefile
U    rtl/haiku/Makefile.fpc
--- Recording mergeinfo for merge of r42555 into '.':
 U   .
------------------------------------------------------------------------
r43042 | pierre | 2019-09-19 20:49:12 +0000 (Thu, 19 Sep 2019) | 3 lines

  + Add math unit dependency to types$(PPUEXT) rule.
  * Fix missing close-brace in several types$(PPUEXT) rules.

------------------------------------------------------------------------
--- Merging r43042 into '.':
U    rtl/<all target OS directories>/Makefile
U    rtl/<all target OS directories>/Makefile.fpc

git-svn-id: branches/fixes_3_2@43184 -
2019-10-13 10:07:21 +00:00
pierre
12c54a62e7 Update all Makefile's to enable x86_64-haiku target
git-svn-id: branches/fixes_3_2@42135 -
2019-05-28 22:07:11 +00:00
pierre
02c14a51c8 ------------------------------------------------------------------------
r41159 | pierre | 2019-02-01 13:26:46 +0000 (Fri, 01 Feb 2019) | 1 line

 Fix parallel make for embedded rtl
------------------------------------------------------------------------
--- Merging r41159 into '.':
U    rtl/embedded/Makefile
U    rtl/embedded/Makefile.fpc
--- Recording mergeinfo for merge of r41159 into '.':
 U   .

git-svn-id: branches/fixes_3_2@41974 -
2019-05-02 16:16:24 +00:00
pierre
554d1f4b57 ------------------------------------------------------------------------
r41159 | pierre | 2019-02-01 13:26:46 +0000 (Fri, 01 Feb 2019) | 1 line

 Fix parallel make for embedded rtl
------------------------------------------------------------------------
--- Merging r41159 into '.':
U    rtl/embedded/Makefile
U    rtl/embedded/Makefile.fpc
--- Recording mergeinfo for merge of r41159 into '.':
 U   .

git-svn-id: branches/fixes_3_2@41889 -
2019-04-17 13:47:59 +00:00
yury
2d48bc8b9c * Regenerated makefiles.
git-svn-id: branches/fixes_3_2@40541 -
2018-12-13 18:18:24 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
nickysn
65d8836952 * updated dependencies of unit ports (objpas and x86 is no longer required on
certain platforms) and regenerated makefiles

git-svn-id: trunk@39373 -
2018-07-04 00:33:12 +00:00
pierre
d6be56e225 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38750 -
2018-04-12 15:23:03 +00:00
florian
055a49b202 * patch by Christo Crause: the subarch type for atmega 8, 8A, 16 & 32 was incorrect. Atmega8A was also listed under the wrong subarch type in the makefile, also fixed.
* atmega8a needs to use rjmp now

git-svn-id: trunk@38282 -
2018-02-18 10:54:59 +00:00
florian
6726150147 + embedded uses also FPC_STDOUT_TRUE_ALIAS to save memory
git-svn-id: trunk@38212 -
2018-02-11 19:06:46 +00:00
florian
7d1d91e9cc * compile math (and sysutils as a a dependency) unit on m68k-embedded, resolves #33068
* some more features having only minimal impact on memory requiremets and needed for math/sysutils enabled on m68k-embedded

git-svn-id: trunk@38092 -
2018-01-31 20:57:07 +00:00
pierre
bdd3b4e695 * Move rtl.cfg content to system.cfg
+ New rtl.cfg containg non-feature options of former file (i8086 only)
  * Use system.cfg for system unit compilation
  + add @rtl.cfg option for i8086 CPU

git-svn-id: trunk@37920 -
2018-01-06 12:27:28 +00:00
pierre
595938637e Add explicit FPC_SYSTEM_OPT variable that is only used for compilation of system units, thus allowing to explicitly pass -Sf option
git-svn-id: trunk@37890 -
2018-01-02 16:50:58 +00:00
florian
d315d3cc96 * after r34939, it was not taken care of the extra storage needed for the size field, fixed, should fix #32875
git-svn-id: trunk@37883 -
2017-12-30 16:38:13 +00:00
Jeppe Johansen
4a169e6b1a Changed subarch of at90pwm161
git-svn-id: trunk@37858 -
2017-12-29 11:30:35 +00:00
florian
5bedaf11f4 * fpcmake.inc and Makefiles renerated after last commit
git-svn-id: trunk@37834 -
2017-12-27 15:08:18 +00:00
florian
b41cb26727 + write selected features in ppu of the system unit and load them further on
* ppu version update
* -Sf might be used only during system unit compilation
* loadsystemunit factored out so the system unit can be loaded earlier than other units to get features set

git-svn-id: trunk@37708 -
2017-12-10 16:32:56 +00:00
florian
b086b10adf * enable more features for avr6
* ifdef'ed uncompilable procedures

git-svn-id: trunk@37584 -
2017-11-12 22:14:21 +00:00
florian
7debc7920a * enable more features if avr6 is defined
git-svn-id: trunk@37583 -
2017-11-12 22:14:19 +00:00
florian
6cd65d9511 * avrsim also provided when SUBARCH is avr6
git-svn-id: trunk@37581 -
2017-11-12 22:14:16 +00:00
florian
3a6f1fda78 * implemented _FPC_haltproc and Default_IRQ_handler in pascal, resolves issue #32633
git-svn-id: trunk@37545 -
2017-11-01 16:33:36 +00:00
florian
c7d5525b56 + implemented some AVR specific intrinsics
git-svn-id: trunk@37544 -
2017-11-01 16:33:34 +00:00