Ludwig Ortmann
437c0ee5c9
msp430 lpm stub
2013-12-19 13:04:08 +01:00
Ludwig Ortmann
76cfdc33b1
stack alignment workaround
...
Should be fixed in thread.c instead, this is just a temporary
workaround to enable msp-430 threads in the mean time.
2013-12-19 13:04:08 +01:00
Ludwig Ortmann
2a8411b6a3
fix main return for msp430
...
mspgcc handles main specially, this introduces code to make main
behave normally
2013-12-19 13:04:08 +01:00
Ludwig Ortmann
69f6748a7c
clean up msp430 cpu-conf.h
2013-12-19 13:04:08 +01:00
Oleg Hahm
37a7393a6b
Merge pull request #408 from rousselk/simplify-msp430-headers
...
Simplify msp430 headers
2013-12-19 02:23:21 -08:00
Kévin Roussel
c1f8106138
Quoted (instead of brackets) the custom header files #includes
2013-12-19 10:22:44 +01:00
Oleg Hahm
ead2e117a1
Merge pull request #439 from OlegHahm/thread_yield_prototype
...
put prototype for thread_yield() in core/include
2013-12-18 13:36:55 -08:00
Christian Mehlis
2a9aac7f0b
Merge pull request #423 from OlegHahm/fix_warnings
...
Fix warnings
2013-12-18 12:02:37 -08:00
Thomas Eichinger
cfa8879760
Merge pull request #435 from OlegHahm/fix_assembler_ifdef
...
macros are not handled by the preprocessor in ASM
2013-12-18 11:53:27 -08:00
Oleg Hahm
2cdfc5b585
Merge pull request #382 from OlegHahm/transceiver_return
...
transceiver return signed values for sending
2013-12-18 09:33:32 -08:00
Oleg Hahm
d87d827d88
transceiver return signed values for sending
...
negative values indicate an error value
2013-12-18 18:22:59 +01:00
Oleg Hahm
227c847135
put prototype for thread_yield() in core/include
2013-12-18 17:47:49 +01:00
Oleg Hahm
856548c63d
macros are not handled by the preprocessor in ASM
2013-12-18 16:56:13 +01:00
Thomas Eichinger
0afb992fc7
changed copyright statement
2013-12-18 11:16:41 +01:00
Thomas Eichinger
1d2f1479b6
hwtimer_wait issue fixed
2013-12-18 11:11:15 +01:00
Thomas Eichinger
1fcb47f9ed
fixed interrupt handling for hwtimer
2013-12-18 11:11:15 +01:00
Thomas Eichinger
1e39e7e486
change to the mc1322x IRQ handling
...
since mc1322x lacks a VIC this is a kind of SW VIC with low latency and
compatibility to the VIC API in mind.
2013-12-18 11:11:14 +01:00
Thomas Eichinger
a1cd29d68e
added basic install_irq function
2013-12-18 11:10:21 +01:00
Thomas Eichinger
a26b7ac4ba
remove isr.c to change interrupt handling to VIC model
2013-12-18 11:10:20 +01:00
Thomas Eichinger
8aeaea6fdc
changed CFLAGS to CFLAGS_BASIC (no -mthumb flag)
2013-12-18 11:10:20 +01:00
Thomas Eichinger
39c69166c5
fixes startup code and adds proper irq handler for mc1322x
2013-12-18 11:10:20 +01:00
Kévin Roussel
c6e43adb62
Removed 'flashrom.c' from the 'msp430-common' directory
...
since flash management differs with the MSP430 family
2013-12-18 10:51:46 +01:00
Kévin Roussel
63d78a231c
Made the headers of files in 'cpu/msp430x16x' and 'cpu/cc430' generic
2013-12-18 10:49:23 +01:00
Kévin Roussel
6428daf9c7
Removed all references to a specific MCU in "generic" files
...
Inclusion of generic <msp430.h> file is done in cpu.h
2013-12-18 10:49:23 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Ludwig Ortmann
0817675f5e
fix native hwtimer unsetting
...
reverts bug introduced by 2bfb062
2013-12-14 00:12:47 +01:00
Ludwig Ortmann
d03d7b1773
clean up native hwtimer
2013-12-14 00:07:49 +01:00
Oleg Hahm
72586f7a6d
limit maximum payload size to 255 for nativenet if 6lowpan is used
2013-12-13 18:53:48 +01:00
Christian Mehlis
2bfb06230a
fix: native hwtimer backend emulation
...
searching for the next pending timer was broken
this commit rewrites this functionality
2013-12-11 16:22:14 +01:00
Christian Mehlis
b17ffabce5
reduce minimal timer from 100ms to 10ms
2013-12-10 22:08:49 +01:00
Ludwig Ortmann
916757cf4c
implement err.h
...
valgrind reported invalid reads/writes with glibc err[x]|warn[x] (in
glibc printf) when stdio had been redirected in between.
define _progname (pointing to argv[0])
2013-12-10 17:00:01 +01:00
Ludwig Ortmann
864267f238
daemonization, io socket and file redirection
2013-12-10 17:00:01 +01:00
Oleg Hahm
3319fa484c
remove profiler from lpc_common
...
The profiling functions (gcc -finstrument_function) should be better
defined within the application.
2013-12-06 10:31:20 +01:00
f85adf608f
change my email address
...
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de , which will (hopefully) stay.
2013-12-04 15:09:56 +01:00
Christian Mehlis
ff12887eae
Merge pull request #380 from OlegHahm/fix_watchdog
...
initializes watchdog properly for MSB-A2
2013-12-03 03:17:43 -08:00
Christian Mehlis
faa7b0c702
Merge pull request #394 from LudwigOrtmann/native_fix_include
...
fix native stdlib.h include
2013-12-03 02:26:30 -08:00
Ludwig Ortmann
2d7c328870
fix native stdlib.h include
...
Fixes segfault in OSX introduced by 45ffdea
2013-12-02 11:39:22 +01:00
Ludwig Ortmann
1c128f5ed6
improve valgrind section
2013-12-02 11:17:25 +01:00
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08:00
Oleg Hahm
24314a2167
Merge pull request #358 from OlegHahm/fix_warnings
...
Fix warnings
2013-11-25 17:10:55 -08:00
Oleg Hahm
749a24c515
initializes watchdog properly for MSB-A2
...
It the watchdog does not reset the WDMOD, BSL pin remains ignored.
2013-11-25 16:53:32 +01:00
Ludwig Ortmann
926c1d3da0
GNU Lesser General Public License -> LGPLv2
2013-11-23 13:43:47 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
2f53c0d32f
rework sigmasks
...
only mask signals actively being used
always enable shutdown
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
0c6050a814
mask all signals in signal handler
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
0a6dba11e5
mitigate against signals when signals are off
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
5e1eadc353
add in_isr sighndl safeguard
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3a04671912
replace 1 with EXIT_FAILURE in all err calls
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3ca8181c73
reset context before makecontext call, check
...
check return value of swapcontext
2013-11-23 11:21:40 +01:00