1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430-common
René Kijewski 1b89f334e3 msp430: provide oneway-malloc implicitly
For MSP430 boards oneway-malloc is already used *if* `malloc.h` was
included. The problem is that `malloc.h` is not a standard header, even
though it is common. `stdlib.h` in the right place to look for
`malloc()` and friends.

This change removes this discrepancy. `malloc()` is just named like
that, without the leading underscore. The symbols now are weak, which
means that they won't override library functions if MSP's standard
library will provide these functions at some point. (Unlikely, since
using `malloc()` on tiny systems is less then optimal ...)

Closes #1061 and #863.
2014-05-22 15:40:25 +02:00
..
include msp430: provide oneway-malloc implicitly 2014-05-22 15:40:25 +02:00
atomic.c added license headers and doxygen file information 2014-02-02 22:22:03 +01:00
cpu.c core: prefix API functions correctly 2014-05-18 08:53:20 +02:00
crash.c core/cpu: put __builtin_unreachable() into one place 2014-05-07 19:24:55 +02:00
hwtimer_cpu.c Exterminate old-style function definitions 2014-05-12 21:57:09 +02:00
irq.c Exterminate old-style function definitions 2014-05-12 21:57:09 +02:00
lpm_cpu.c remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Makefile Make: exterminate 'clean' buildtarget 2014-04-09 23:07:52 +02:00
Makefile.include msp430: provide oneway-malloc implicitly 2014-05-22 15:40:25 +02:00
msp430-main.c remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
startup.c added license headers and doxygen file information 2014-02-02 22:22:03 +01:00