Markus Hitter
52e2585f13
ARM: use arduino.h for UART pinout.
...
This removes another 36 bytes binary size and six(!) MBED files.
The mess of MBED files is now pretty much resolved, only a few
essential ones left.
2015-08-12 14:26:35 +02:00
Markus Hitter
43b2ac6e0b
ARM: get sersendf.c/.h in.
...
Needed a bit a tweak to adjust va_arg() to 32 bit. Tests ran fine,
at the end it turned out mendel.c had an obsolete #include.
2015-08-12 14:26:34 +02:00
Markus Hitter
5dec638919
ARM: get sermsg.c/.h in.
...
Compiled flawlessly, ran all test flawlessly, and at the end it
turned out mendel.c had an obsolete #include. Very nice.
2015-08-12 14:26:34 +02:00
Markus Hitter
829e4d475b
Makefiles: add a hint on how to list these predefined macros.
...
No functional change.
2015-08-12 14:26:34 +02:00
Markus Hitter
52f5a56d71
ARM: move serial handling code directly into serial-arm.c.
...
This makes another seven mbed files obsolete and reduces binary
size by another 100 bytes Flash and 16 bytes RAM:
SIZES ARM... lpc1114
FLASH : 1624 bytes 5%
RAM : 140 bytes 4%
EEPROM : 0 bytes 0%
2015-08-12 14:26:34 +02:00
Markus Hitter
776f90ff2c
ARM: simplify serial and get rid of mbed-pinmap_common.c.
...
We have only one UART, we use only one UART, so it's pointless to
do pin mapping calculations at runtime.
Binary size down by 268 bytes:
SIZES ARM... lpc1114
FLASH : 1724 bytes 6%
RAM : 156 bytes 4%
EEPROM : 0 bytes 0%
2015-08-12 14:26:34 +02:00
Markus Hitter
a5cb1bd31a
ARM: get rid of mbed-mbed_error.h and mbed-error.c.
...
Same functionality, drastically smaller binary:
SIZES ARM... lpc1114
FLASH : 1992 bytes 7%
RAM : 156 bytes 4%
EEPROM : 0 bytes 0%
That's a reduction by 3948 bytes Flash and 20 bytes RAM.
2015-08-12 14:26:34 +02:00
Markus Hitter
4cfeca08e1
ARM: get serial working based on MBED code.
...
Pretty complex, this MBED system, it requires no less than
24 additional files. This will be fleshd out before too long.
SIZES ARM... lpc1114
FLASH : 5956 bytes 19%
RAM : 176 bytes 5%
EEPROM : 0 bytes 0%
2015-08-12 14:26:34 +02:00
Markus Hitter
9e9e946c6d
Makefile-ARM: get uploading to work.
2015-08-12 14:26:34 +02:00
Markus Hitter
3cc81cdba8
Makefile-ARM: adjust sizes reporting to our only target.
2015-08-12 14:26:33 +02:00
Markus Hitter
575174940f
ARM: get a minimum amount of Teacup compiled for ARM.
...
Makefile can't even upload, yet.
SIZES ARM... lpc1114
FLASH : 944 bytes 3%
RAM : 132 bytes 4%
EEPROM : 0 bytes 0%
2015-08-12 14:26:33 +02:00