Martine Lenders
61daeff04c
Merge pull request #5881 from miri64/core/enh/add-verbose-assert
...
core: define macro for verbose behavior for assert()
2016-10-31 20:13:59 +01:00
Martine Lenders
65a11162fe
core: define macro for verbose behavior for assert()
...
Since this is also done for MSP430 specifically that file can be
removed.
2016-10-31 13:51:54 +01:00
Oleg Hahm
69b703729f
cpu: make standard stack sizes configurable
2016-10-27 11:46:47 +02:00
Oleg Hahm
a8004a8b3a
cpu: some cosmetics
2016-10-27 11:46:47 +02:00
MohmadAyman
720136491a
cpu: unify naming of ISR stacksize macro
2016-06-01 22:47:34 +02:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
a7adbac4c5
cpu: msp430: adapt to thread.h
2016-03-05 18:20:17 +01:00
9b7ebb9f30
cpu: msp430-common: fix unistd.h
2016-02-28 22:46:28 +01:00
2d2bfbf7c9
cpu: msp430: remove dINT/eINT
2015-12-14 21:34:48 +01:00
04bc408931
cpu: msp430: add write() + needed libc header fixes
2015-11-28 22:09:37 +01:00
c4e55a2e6d
cpu: msp430-common: add unistd.h
2015-11-25 14:36:45 +01:00
Martine Lenders
a370a12f75
msp430: fix doc to time.h
2015-10-28 13:59:52 +01:00
Martine Lenders
77b0ffffec
msp430: include missing types to time.h
2015-10-28 13:59:35 +01:00
c122571801
cpu: msp430-common: fix context save/restore
...
Previously, __restore_context was meddling with the to-be-restored
context SR on the stack, not correctly restoring GIE.
Now, we let the CPU restore the correct status register as saved in
__save_context.
Contains some simplification of the context save/restore logic.
2015-09-22 10:43:27 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
Oleg Hahm
e15bdd257a
debug: replace __FILE__ by RIOT_RELATIVE_FILE
2015-09-20 01:51:47 +02:00
c3fa148256
cpu: msp430-common: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
Martine Lenders
93f555ef69
Merge pull request #3782 from OlegHahm/RIOT_assert
...
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
Oleg Hahm
f3245cecac
core: panic: last instruction's address for assert
2015-09-11 23:23:31 +02:00
Oleg Hahm
d7161b6d4b
cpu: inline function to print instruction register
2015-09-11 23:23:31 +02:00
f433c9a5c7
cpu: msp430-common: remove obsolete UART0_BUFSIZE define
2015-09-04 17:46:23 +02:00
Hauke Petersen
68e7965b50
cpu/msp43-common: re-added deprecated e|dINT defs
2015-09-03 10:31:30 +02:00
Hauke Petersen
fd8c0de3d2
cpu/msp430-common: simplified hwtimer configuration
2015-09-02 17:10:28 +02:00
Hauke Petersen
7d25b41610
cpu/msp430-common: removed legacymsp430.h code
2015-09-02 16:47:52 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Hauke Petersen
75472eddf4
cpu: remove transceiver defines from cpu_conf files
2015-08-06 12:13:54 +02:00
Joakim Gebart
897f40fabe
cpu/msp430-common: Clean up Doxygen groups
2015-07-20 12:40:31 +02:00
Oleg Hahm
c0d5d2e9b6
Merge pull request #2571 from haukepetersen/rm_msp430_edint
...
cpu/msp430-common: removed e|dINT calls
2015-07-14 15:46:33 +02:00
Joakim Gebart
499666f24a
cpu/msp430-common: Add getchar declaration
2015-07-14 08:11:19 +02:00
Joakim Gebart
153c97fc74
cpu/msp430-common: Add stdlib.h header to ensure malloc is defined.
...
Fixes warnings of the kind:
/data/riotbuild/riotbase/sys/bloom/bloom.c: In function 'bloom_new':
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:5: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration]
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:22: error: incompatible implicit declaration of built-in function 'calloc' [-Werror]
2015-07-14 08:11:15 +02:00
haukepetersen
36a99a0c70
cpu/msp430-common: removed e|dINT calls
2015-05-29 12:07:57 +02:00
Hauke Petersen
a5e4b02ed8
cpu: fixed doxygen for multiple headers
2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Martine Lenders
41f60aca4c
pktbuf: port to use ng_ version
2015-02-19 13:51:27 +01:00
Martine Lenders
9077299d06
msp430: add assert header
2015-02-12 14:24:06 +01:00
Oleg Hahm
db58a8b226
Merge pull request #2214 from rousselk/msp430-fix-intr
...
Msp430 misc interrupt-related fixes
2014-12-19 16:35:39 +01:00
Kévin Roussel
91fd567c8f
Use custom assembly code instead of MSP GCC primitives for dINT()/eINT()
...
and all other functions that enable or disable interrupts
2014-12-19 11:11:14 +01:00
Kévin Roussel
f9b0df7e4b
Use TimerB for 'hwtimer' module implementation
2014-12-19 10:53:12 +01:00
Kévin Roussel
25ac0db606
Robust use of TimerA for 'hwtimer' module
2014-12-19 10:53:12 +01:00
Kévin Roussel
d101b30dd8
Make hwtimer_spin() work even with interrupts disabled
...
by using only 16 significative bits on MSP430 hardware timers
2014-12-17 12:21:07 +01:00
BytesGalore
a4d2ee307c
cpu: added extern "C"
to headers
2014-11-24 19:10:15 +01:00
Oleg Hahm
10a4540f2d
license: added missing license for msp430 time.h
2014-11-21 15:10:19 +01:00
Oleg Hahm
39abba1bc2
licenses: fix miss-spelled & missing boiler plates
2014-11-10 18:59:55 +01:00
Martine Lenders
a569f2b92c
net: Initial import of a global packet buffer
2014-10-16 11:52:30 +02:00
René Kijewski
4e50d74272
core: Provide ssize_t in a common place
...
Now you can include `kernel_types.h` if you need the `ssize_t`, without
facing problems due to the terrible MSP toolchain.
2014-09-26 14:04:30 +02:00
René Kijewski
d4f144eb47
Add license statement to {msp430_types,net_help}.h
2014-09-25 10:14:58 +02:00
Kévin Roussel
a691d0798a
Fixed comments
2014-09-09 13:18:39 +02:00
Kévin Roussel
cf683d9866
Fix thread_yield by avoiding the (too) early re-enablement of IRQ,
...
that is: before the newly selected thread's context is totally restored
2014-08-29 15:09:22 +02:00
Ludwig Ortmann
2439bd839c
doc: fix more license headers
...
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00