Commit Graph

204 Commits

Author SHA1 Message Date
Jeppe Johansen
1c0c944311 Added x86_64-embedded target. Patch from Benjamin Rosseaux
git-svn-id: trunk@33097 -
2016-02-14 10:57:00 +00:00
florian
dfd261f2d6 * embedded heap manager takes care of ReturnNilIfGrowHeapFails
git-svn-id: trunk@33070 -
2016-02-07 18:28:12 +00:00
florian
0695c92b73 * make Dos.GetMsCount a dummy for embedded targets
git-svn-id: trunk@33065 -
2016-02-07 11:16:39 +00:00
Jeppe Johansen
328b6464ed Add debug info to the CPU units by default, to be able to print register contents with GDB.
git-svn-id: trunk@33064 -
2016-02-06 20:16:45 +00:00
florian
026848b3e1 + use CPU_UNITS_DEFINED to track if a SUBARCH is passed, so with CPU_UNITS_DEFINED=1 it is easily possible to compile without any cpu units
git-svn-id: trunk@32833 -
2016-01-03 09:36:23 +00:00
Jeppe Johansen
f452d9140e Added missing reset vector
git-svn-id: trunk@32786 -
2015-12-29 11:07:20 +00:00
Jeppe Johansen
970f0064ea Downgrade build message from makefile from error to warning for arm-embedded. This makes it possible to build a working RTL with external startup code for subarchs with no cpu units.
git-svn-id: trunk@32750 -
2015-12-26 23:58:09 +00:00
florian
3b50d0b64e * patch by Bernd to fix interrupt handling for the ATtiny1634 and ATtiny167 controllers (use jmp instead of rjmp to jump to the handlers), resolves issue #29122
git-svn-id: trunk@32650 -
2015-12-13 10:44:43 +00:00
florian
7b9a257549 * complain no matching SUBARCH value is passed, issue #29177
git-svn-id: trunk@32649 -
2015-12-13 10:41:12 +00:00
Jeppe Johansen
4b1eb0e4f3 Applied patch from Michael Ring fixing the startup code for Freescale microcontrollers.
git-svn-id: trunk@32568 -
2015-12-02 18:44:20 +00:00
Jeppe Johansen
5ec4d38231 Add support for ram-less AVR chips and simultanously optimize flash/ram size the initfinal calling sequence.
git-svn-id: trunk@32448 -
2015-11-22 00:37:10 +00:00
Jeppe Johansen
49f8d574db Save some space on ATTiny28 since it doesn't have any ram.
git-svn-id: trunk@32445 -
2015-11-21 19:33:42 +00:00
Jeppe Johansen
9aa3c23b18 Added a bunch of new and fixed embedded controller units. From Michael Ring.
git-svn-id: trunk@32386 -
2015-11-21 10:30:49 +00:00
florian
70b8789262 o basic extended pascal support:
+ automatically loaded helper unit
  * Makefiles adapted
  * mode switch
  * mode switches reorganized
+ TimeStamp support

git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
michael
fde42ca8ef * Type helpers, compatible to Delphi XE 8
git-svn-id: trunk@32262 -
2015-11-07 09:40:54 +00:00
nickysn
2e3cb70489 * regenerated makefiles after adding the win16 target
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
florian
d71a3d0533 * charset depends on the objpas unit
git-svn-id: trunk@31438 -
2015-08-28 18:49:02 +00:00
Jeppe Johansen
5a302dfabb Fix some addresses that were missing a zero in CortexM7 unit.
Change all .word directives to .long in stm32f7xx headers.

git-svn-id: trunk@31325 -
2015-08-15 12:23:08 +00:00
Jeppe Johansen
4e646cca60 Forgot to add Cortex-M7 unit to previous commit.
git-svn-id: trunk@31258 -
2015-07-31 22:25:08 +00:00
Jeppe Johansen
2b80d46492 Added STM32F7xx controller units and types.
git-svn-id: trunk@31257 -
2015-07-31 22:21:16 +00:00
Jeppe Johansen
55669f62b1 Added most AVR controllers.
Made absolutevarsym use PUint instead of AWord for its offset to fix range errors.

git-svn-id: trunk@31242 -
2015-07-29 21:01:21 +00:00
florian
42ea874bb1 * avr version corrected for several controllers
git-svn-id: trunk@31237 -
2015-07-27 19:49:02 +00:00
florian
ab43e07320 * reduce code size after r31031
git-svn-id: trunk@31041 -
2015-06-13 17:00:32 +00:00
Jeppe Johansen
353682db67 Enable SUBARCH directive for avr-embedded target.
git-svn-id: trunk@31032 -
2015-06-13 12:40:31 +00:00
Jeppe Johansen
ab9c8bb569 Fixed startup assembler code for the case where there's no data in .bss and/or in .data.
Fixed _stack_top symbol calculation so it works for all controllers.
Added ATTINY2313 controller.

git-svn-id: trunk@31031 -
2015-06-13 12:30:50 +00:00
Jeppe Johansen
db6093023b Fixed initialization code for MK20D7 controllers.
Added flash configuration section to RTL and linker script.

git-svn-id: trunk@30972 -
2015-06-02 22:59:03 +00:00
florian
e9ef6347d2 * ATmega16 support by Anton Kavalenka, resolves issue #28217
git-svn-id: trunk@30943 -
2015-05-31 15:55:39 +00:00
florian
6a26268793 * correct number of interrupt vectors
git-svn-id: trunk@30939 -
2015-05-30 18:01:38 +00:00
florian
cf552b2a0b + ATmeag168/ATmeag368 support
git-svn-id: trunk@30938 -
2015-05-30 18:01:14 +00:00
florian
0cd521fc8b + ATmega48/ATmega88 support
git-svn-id: trunk@30937 -
2015-05-30 17:55:49 +00:00
florian
e9d886cdfc * cleanup
git-svn-id: trunk@30931 -
2015-05-28 21:10:58 +00:00
florian
0f73675354 + ATtiny24/ATtiny44/ATtiny84 support
git-svn-id: trunk@30930 -
2015-05-28 21:10:39 +00:00
Jeppe Johansen
36dfe750d8 Added Freescale MK20D7 controller support.
git-svn-id: trunk@30925 -
2015-05-28 11:46:22 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
florian
bbcc66ad15 * PASCALMAIN does not return, so we can jmp to it
git-svn-id: trunk@30770 -
2015-05-02 19:18:10 +00:00
florian
ca9ef3d209 * cometics
git-svn-id: trunk@30769 -
2015-05-02 19:16:49 +00:00
florian
f5edf77a05 + Atmega8 support
git-svn-id: trunk@30768 -
2015-05-02 18:18:00 +00:00
florian
8ee9550d22 + misising part of r30759 (commit of sysstrh.inc shouldn't have gone in r30759):
slightly modified patch by lelekx to implement plugable file routines for the embedded target, resolves issue #22918

git-svn-id: trunk@30764 -
2015-05-02 13:51:32 +00:00
florian
c2c87828e9 + slightly modified patch by lelekx to implement plugable file routines for the embedded target, resolves issue #22918
git-svn-id: trunk@30759 -
2015-05-02 08:03:18 +00:00
florian
500a2051ac * dependencies updated
git-svn-id: trunk@30755 -
2015-05-01 16:36:22 +00:00
florian
8de58f5db2 * use heapmgr to make more test programs work with avrsim
git-svn-id: trunk@30753 -
2015-05-01 16:33:11 +00:00
florian
b8198963f3 * use modeswitch result instead of mode objpas, so the objpas unit is not pulled in
git-svn-id: trunk@30752 -
2015-05-01 16:31:07 +00:00
florian
7b48232d71 * moved common code to a separate include file
git-svn-id: trunk@30664 -
2015-04-19 12:53:06 +00:00
florian
2ecadc065e * noreturn directive
git-svn-id: trunk@30663 -
2015-04-19 12:52:21 +00:00
florian
07cba31a0a * cosmetics
git-svn-id: trunk@30631 -
2015-04-17 20:12:57 +00:00
florian
77bc87a809 * do not compile consoleio in objpas mode to avoid dependency on the objpas unit, resolves also #27856
git-svn-id: trunk@30607 -
2015-04-15 19:45:34 +00:00
Jeppe Johansen
65a69129c5 Add initial support for STM32F429 core
git-svn-id: trunk@30599 -
2015-04-14 21:55:37 +00:00
florian
bae4d89913 - avrsim needs no separate rule
git-svn-id: trunk@30598 -
2015-04-14 21:19:08 +00:00
florian
886e3e8d02 * disable several complex procedures for avr with a newly introduced define: EXCLUDE_COMPLEX_PROCS. They
might compile with an improved register allocator in the future

git-svn-id: trunk@30546 -
2015-04-11 14:43:39 +00:00
florian
a01a010824 * disable lineinfo unit for avr for now
git-svn-id: trunk@30440 -
2015-04-05 19:08:33 +00:00