1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

515 Commits

Author SHA1 Message Date
René Kijewski
840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Thomas Eichinger
b4fceaca89 Merge pull request #1313 from thomaseichinger/cortexm_crash
cpu:cortex_common: add core_panic function
2014-06-11 15:02:46 +02:00
Thomas Eichinger
3639ae9b25 cpu:cortex_common: add core_panic function 2014-06-11 14:43:02 +02:00
Hauke Petersen
ebb496cc26 cpu: renamed cortexm_common->cortex-m3_common and cleanup 2014-06-11 00:24:10 +02:00
René Kijewski
ce428a8937 Merge pull request #1292 from Kijewski/issue-1288
core/cortex-m: add missing NORETURNs to thread_arch
2014-06-09 22:11:29 +02:00
Ludwig Ortmann
dbc36fc2c5 native: add id option 2014-06-06 16:30:54 +02:00
René Kijewski
b6dc5c9b76 core/cortex-m: add missing NORETURNs to thread_arch 2014-06-05 21:01:35 +02:00
Ludwig Ortmann
1e5e19bc23 native: set optional path with unix socket option
fixes #1045
2014-06-03 16:46:40 +02:00
Ludwig Ortmann
e36590cda7 native: fix coding style 2014-06-03 16:46:40 +02:00
Thomas Eichinger
c70ae14ff0 cleanup licenses to fix #392 2014-05-27 11:54:55 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
Thomas Eichinger
1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
2014-05-26 13:21:09 +02:00
René Kijewski
4e4f908379 Initial import of the x86 port
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
Oleg Hahm
ad28f4f1c0 cosmetics: converted tabs into spaces for lpc1768 header 2014-05-24 15:57:29 +02:00
Oleg Hahm
ef4fe6616c documentation: unified descriptive text for cpu 2014-05-24 15:56:57 +02:00
Oleg Hahm
a2db556139 cosmetics: cleaned up arm_common.h
* converted tabs to white spaces, fixed indentation, and removed SVN clutter
2014-05-24 15:16:26 +02:00
Oleg Hahm
de6e70c594 copyriot: fixed copyriot header for arm_common 2014-05-24 15:12:36 +02:00
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
Oleg Hahm
bf00b019e4 documentation: CMSIS cleanup
Put all CMSIS documentation into a dedicated subgroup of cpu.
2014-05-22 13:01:36 +02:00
René Kijewski
06eb95d687 Merge pull request #1216 from LudwigOrtmann/issue-1215
native: set _native_pid correctly in daemon mode
2014-05-20 14:09:44 +02:00
Ludwig Ortmann
c9f68e79b9 native: set _native_pid correctly in daemon mode
This fixes a bug that leads to all unix sockets being created as
`/tmp/riot.tty.0`.
2014-05-20 08:53:26 +02:00
Oleg Hahm
31351a0dc0 msp430: workaround: define errno values if not provided by MSP430 lib 2014-05-19 18:54:20 +02:00
Oleg Hahm
9bef59cc55 documentation: fix CMSIS doxygen for SAM3x8e 2014-05-19 10:45:05 +02:00
Oleg Hahm
ef5ec344fd core: prefix API functions correctly
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Ludwig Ortmann
aa4e61fab2 documentation: clean up doxygen mess after cortex
fixes #1190
2014-05-16 19:47:54 +02:00
Ludwig Ortmann
cbf39bf012 native: add missing include
crash.c was missing native_internal.h
2014-05-16 17:24:45 +02:00
Oleg Hahm
5d7f7dd686 Merge pull request #1079 from BytesGalore/add_NORETURNs
core: and cpu: Added NORETURN to functions that should not return
2014-05-16 00:33:20 +02:00
Ludwig Ortmann
9b47af0b54 Merge pull request #1184 from LudwigOrtmann/native_license_unification
Native license unification
2014-05-15 18:36:15 +02:00
Ludwig Ortmann
98bbb80571 documentation: append my email to my name everywhere 2014-05-15 18:07:17 +02:00
Ludwig Ortmann
3a3c04e66e native/tramp.S: add missing license header 2014-05-15 18:07:17 +02:00
Jan S
ba907471f3 fixed printf specifiers 2014-05-15 17:42:57 +02:00
René Kijewski
0b9c0fb475 Merge pull request #1154 from Kijewski/issue-1150
msp430: fix missing members in `struct tm`
2014-05-15 14:59:24 +02:00
Ludwig Ortmann
b43fa2327e native/tramp.S: use ret instead of manual return 2014-05-15 11:38:24 +02:00
Ludwig Ortmann
e0a1217f20 native: refactor one debug/errx use in irq_cpu.c 2014-05-15 11:37:18 +02:00
René Kijewski
55b12034a9 msp430: fix missing members in struct tm
Closes #1150.
2014-05-14 19:57:41 +02:00
Thomas Eichinger
7a031e5669 net: handle macro redefinitions for OS X
undefine macros and reorder header includes to get rid of system
defined macros on OS X

fixes #1165
2014-05-14 19:43:58 +02:00
René Kijewski
d98ebf62cd native: fixup #1145: function declaration 2014-05-14 16:54:34 +02:00
René Kijewski
8038e96d09 Merge pull request #1119 from Kijewski/error_old-style-definition
Exterminate old-style function definitions
2014-05-14 13:31:30 +02:00
Ludwig Ortmann
ba00bdb853 Merge pull request #1159 from thomaseichinger/fix_license_sam3x8e
sam3x8e: fix license to LGPL
2014-05-14 11:53:52 +02:00
Ludwig Ortmann
a109968112 Merge pull request #1156 from LudwigOrtmann/license_header_fix
license: fix license header grammar
2014-05-14 10:22:19 +02:00
Thomas Eichinger
1ab77eea4d fix license to LGPL
fixes #1155 needs @haukepetersen to review
2014-05-14 10:20:32 +02:00
Thomas Eichinger
60b03ab7c1 Merge pull request #1157 from thomaseichinger/fix_licenses
mc1322x: redbee-econotag: fix licenses to LGPL
2014-05-14 10:05:17 +02:00
Thomas Eichinger
38f3ea6d78 fix licenses to LGPL fixes #1148 2014-05-14 10:04:34 +02:00
Ludwig Ortmann
2314915ff2 license: fix license header grammar
insert missing "is"
2014-05-14 09:49:09 +02:00
Ludwig Ortmann
166b88f1ae native: internal getpid syscall 2014-05-14 09:13:57 +02:00
Ludwig Ortmann
4c961bfb6e native: refactor getpid calls 2014-05-14 09:13:57 +02:00
Hauke Petersen
3cc435c074 board: Initial import of arduino-due
- switched to flashing using the programming port
- fixed Makefile.include
- fixes some documentation

- removed newlib nano.specs

- added OSX flashing support

- fixed flasher and port for OSX

- fixed port on OSX

- fixed bossac linux tool

- added license header
2014-05-13 21:20:09 +02:00
Hauke Petersen
31915bfe61 cpu: Initial import of SAM3X8E
- fixed spelling in uart driver
- marked cortexm-common a phony target
- fixed Makefiles
- added reboot interface implementation
- fixed documentation

- added UART0_BUFSIZE define

- added license header

- fixed documentation issues
2014-05-13 21:19:38 +02:00
Hauke Petersen
27133d25fe cpu: Initial import of cortexm_common files
- fixes to cortexm-common
- Added ARM CMSIS headers to cortexm_common
- thread_exit fixes to cortexm-common
- cortexm-common adjusted documentation

- cortexm_common added eINT dINT defines for now
2014-05-13 21:19:18 +02:00
Ludwig Ortmann
27eb2aedc1 native: update README
Move README to to README.md
Fix spelling and markup
2014-05-13 11:25:34 +02:00