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

487 Commits

Author SHA1 Message Date
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
Oleg Hahm
1f50d91332 making the pedantic gcc happy 2013-11-23 03:45:26 +01:00
Ludwig Ortmann
709cc9c158 add toa to packets in nativenet
also change order of fields to reflect radio types header
2013-11-22 10:55:49 +01:00
Oleg Hahm
6a1fcaf288 added a dedicated stacksize for float printfs 2013-11-21 20:41:28 +01:00
Christian Mehlis
45ffdeaf52 add missing stdlib.h include 2013-11-21 00:26:13 +01:00
Ludwig Ortmann
c1ea408274 move struct timeval to msp430_types.h 2013-11-19 17:56:05 +01:00
Ludwig Ortmann
3b2b02e99a enable building chronos board 2013-11-19 17:56:05 +01:00
Ludwig Ortmann
f7a1edeb2c fix and clean up some board Makefiles
enables building wsn430-v1_3b and wsn430-v1_4
fixes some but not all chronos building issues
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
03957ab57d dont overwrite CFLAGS in Makefile 2013-11-15 11:41:15 +01:00
Ludwig Ortmann
7caf7881a2 fix msb-430 Makefiles and includes 2013-11-14 15:08:32 +01:00
Oleg Hahm
cc45909ffc Merge pull request #236 from OlegHahm/telosb
Telosb
2013-11-14 01:55:47 -08:00
Oleg Hahm
19f4f45445 added some debug output for the network stack 2013-11-14 10:46:21 +01:00
Ludwig Ortmann
01e30016d6 add lpm syscall barrier for native w/out UART 2013-11-13 23:43:26 +01:00
Ludwig Ortmann
c764728398 pre-init native hwtimer
make it behaver more like a regular timer
2013-11-13 01:31:31 +01:00
Ludwig Ortmann
1df56ed47b cope with SIGIO behaviour
SIGIO appears to be edge triggered, therefore we need to read
continuously until no more data is available
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
2c7070bf0c disable interrupts for sighnd ctx switch 2013-11-13 00:01:42 +01:00
Ludwig Ortmann
9f080c54c6 fix race in thread_yield, cpu_switch_context_exit
call *context only with interrupts disabled, use isr trampoline for
this if necessary
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
7b9d199ec8 make system calls safer/clean up headers
wrap some libc functions that do system calls (terminal output)
wrap read/write with syscall guard
define real_read/write (next dynamic linker find for read/write)
guard system calls in remaining code
introduce native_internhal.h
throw out some debug statements that break things
clean up includes a bit
declare board_init in native_internhal.h
add -ldl to LINKFLAGS for cpu/syscalls
2013-11-13 00:01:42 +01:00
Oleg Hahm
b6a7dc953f initial support for the mbed NXP LPC168
* http://mbed.org/platforms/mbed-LPC1768/
2013-11-09 18:40:25 -08:00
Ludwig Ortmann
bad523831b allow for custom tap names 2013-11-08 13:59:26 +01:00
Oleg Hahm
1117867eaf Merge pull request #231 from thomaseichinger/maca_move
move mc1322x MACA implementation from the boards to RIOT repo
2013-11-06 14:21:58 -08:00
Christian Mehlis
4f4c4bfedd use radio_packet_length_t for native frames 2013-10-29 20:36:13 +01:00
Christian Mehlis
2e59096390 fix wrong error handling introduced in 945aef 2013-10-26 15:40:01 +02:00
LudwigOrtmann
37158553b9 Merge pull request #264 from LudwigOrtmann/native_hwtimer_delta
add time delta to hwtimer
2013-10-25 04:07:32 -07:00
Christian Mehlis
22a2cdaea4 Merge pull request #249 from mehlis/time-rtc
add rtc_time function
2013-10-25 03:55:06 -07:00
Ludwig Ortmann
7e02c7dd2b add time delta to hwtimer 2013-10-25 12:11:54 +02:00
Christian Mehlis
945aefad4f add rtc_time implementation for native 2013-10-25 11:53:45 +02:00
Ludwig Ortmann
7f7290a26a normalize stack defines 2013-10-25 11:40:33 +02:00
Ludwig Ortmann
944d10c07d improve native README 2013-10-24 12:58:28 +02:00
Ludwig Ortmann
45c9f92b5e implement graceful shutdown in native 2013-10-23 23:16:45 +02:00
Oleg Hahm
9f0aed27f3 Merge pull request #245 from LudwigOrtmann/fix_tramp
fix signal handler context switch
2013-10-23 10:05:40 -07:00
Christian Mehlis
7fb1ac4402 msp430: add time_t and struct timespec 2013-10-22 11:07:18 +02:00
Ludwig Ortmann
4c5273211b fix signal handler context switch 2013-10-18 14:23:58 +02:00
Ludwig Ortmann
badcf390d1 initialize processing field in nativenet tap 2013-10-13 21:23:12 +02:00
Ludwig Ortmann
81f3ddde44 free reference pointer, fix indentation 2013-10-13 20:45:35 +02:00
Christian Mehlis
ff7cf37ccd Merge pull request #230 from LudwigOrtmann/issue_154
valgrind support for native
2013-10-11 03:42:41 -07:00
Oleg Hahm
031e335e24 Merge pull request #97 from OlegHahm/makefile_windows_fixes
merged zkasmi/makefile_fixes to makefile_windows_fixes
2013-10-10 09:25:03 -07:00
Oleg Hahm
46deefe0f8 make Makefiles proof for spaces in $PATH 2013-10-09 15:28:53 +02:00
Ludwig Ortmann
21a0f39867 valgrind support 2013-10-09 15:20:59 +02:00
Kévin Roussel
c7501ce5e0 Added mising reference to cpu/msp430-common/include/cpu.h
so as to get the needed definition of F_RC_OSCILLATOR
2013-10-09 15:10:22 +02:00
Kévin Roussel
49c8c419bf Updated the MSP430 hwtimer implementation, to cope with the lack of consistency
of of TI with the TimerX register names.
2013-10-09 15:10:22 +02:00
Ludwig Ortmann
2a031a4eca improve headline in native README 2013-10-09 15:00:51 +02:00
Thomas Eichinger
7abda31b0f move mc1322x MACA implementation from the boards repo to RIOT repo 2013-10-04 14:20:51 +02:00
Ludwig Ortmann
47b6e62982 fix native ctxt switches
fix disableIRQ (remove context switch)
fix enableIRQ (make context switch delay-safe)
change interrupts-off signal-catch behaviour from error to warning
add context switch memory location warning
2013-10-04 10:44:39 +02:00
Ludwig Ortmann
43adafe55a native fix cpu_switch_context_exit 2013-10-04 10:44:39 +02:00
Ludwig Ortmann
d46a03f030 guard rtc syscall 2013-10-04 10:44:39 +02:00
Ludwig Ortmann
24b2cfd95a general clean up
make some variables volatile
remove rx_buffer_next from header
more DEBUG output
fix warnings
coding conventions
change puts to DEBUG
rename end-context/stack
2013-09-30 18:03:53 +02:00
Christian Mehlis
8264a4aee1 minimize stacksize of the idle thread 2013-09-27 14:11:25 +02:00
Zakaria Kasmi
4fb64f8e91 revise error messages and fixed encoding 2013-09-26 23:54:45 +02:00
Zakaria Kasmi
4f4501f09d small changes + coding conventions + updated files descriptions. 2013-09-26 23:47:46 +02:00
Oleg Hahm
1acfee5991 Merge pull request #99 from zkasmi/i2c
full abstracted i2c driver for LPC2387
2013-09-26 14:41:59 -07:00
Thomas Eichinger
b749e59276 added a basic implementation of the ASM module featuring
* CTR encryption
* CBC-MAC mode
* CTR-CBC-MAC mode
* structure for ASM registers
2013-09-26 23:39:58 +02:00
Oleg Hahm
7e66308192 Merge pull request #215 from OlegHahm/msp430-stack_sizes
adjusted default stack sizes for msp430
2013-09-24 05:47:58 -07:00
Oleg Hahm
bfbd765f39 Merge pull request #174 from thomaseichinger/ADC
ADC module of the mc1322x MCU
2013-09-23 04:43:21 -07:00
Thomas Eichinger
040fb1539c moved GPIO implementation from boards to RIOT since ADC implementation depends on it 2013-09-20 14:55:34 +02:00
Oleg Hahm
0a02b060a8 adjusted default stack sizes for msp430
* stack size for idle thread was too small
* main stack gets initialized with KERNEL_CONF_STACKSIZE_DEFAULT +
  KERNEL_CONF_STACKSIZE_PRINTF, leading to a huge main thread stack
2013-09-19 13:51:09 +02:00
Ludwig Ortmann
9544f617c2 fix frame padding, refactor native tap 2013-09-18 10:13:39 +02:00
Zakaria Kasmi
86818f599b I2C Driver, Coding conventions 2013-09-17 14:35:23 +02:00
Oleg Hahm
d284db620d Merge pull request #178 from OlegHahm/telosb
Telosb support
2013-09-16 15:34:57 -07:00
Oleg Hahm
5f537c38ac changed to _types.h definition for ssize_t 2013-09-12 23:17:27 +02:00
Oleg Hahm
43eea48d25 added define for calloc in msp430-common 2013-09-12 16:08:40 +02:00
Oleg Hahm
a50db45909 added header for msp430 to define missing ssize_t 2013-09-12 14:33:37 +02:00
Ludwig Ortmann
b3a8fdc026 Fix uninitialized packet members
also cast packet data explicitly
2013-09-04 21:02:57 +02:00
Ludwig Ortmann
f8c3e02ae6 fix nativenet payload pointer 2013-09-04 20:39:56 +02:00
Ludwig Ortmann
c2fcbb787e Fix some clang warnings in native
also cleans up a bit
2013-08-30 17:03:34 +02:00
Ludwig Ortmann
b298ab33c5 initialize rx_buffer_next explicitly 2013-08-29 17:03:22 +02:00
Ludwig Ortmann
c6180a6e4f fix NATIVE_MAX_DATA_LENGTH 2013-08-29 16:16:47 +02:00
Ludwig Ortmann
2633967708 make tapsetup.sh more verbose 2013-08-29 16:16:47 +02:00
Ludwig Ortmann
74b1a74525 documentation for nativenet interface 2013-08-29 16:16:47 +02:00
Ludwig Ortmann
37c3059e1c clean up nativenet, add src addr 2013-08-29 16:16:46 +02:00
Milan Babel
09b0baad66 fixed hwtimer on msp430 2013-08-23 22:03:04 +02:00
Thomas Eichinger
659e1c2041 added support for the ADC module of the mc1322x MCU 2013-08-23 12:05:11 +02:00
Ludwig Ortmann
846bcc01a8 Change interface cb parameter to function pointer 2013-08-21 15:13:23 +02:00
Ludwig Ortmann
395a033de6 fix unused parameter warning in posix-rtc.c 2013-08-21 15:13:09 +02:00
Ludwig Ortmann
6fba4d7ced fix unused startup parameter warnings 2013-08-21 15:13:09 +02:00
Ludwig Ortmann
747d33e666 fix warning for sa.sa_sigaction assignments 2013-08-21 15:13:09 +02:00
Oleg Hahm
ebc0b9b552 renamed and moved some defines 2013-08-19 19:00:48 +02:00
Ludwig Ortmann
c1a5a3b5af fix hwtimer_arch_set_absolute return value 2013-08-18 11:25:43 +02:00
Ludwig Ortmann
52b4370e7d fix register_interrupt callback parameter 2013-08-18 11:25:43 +02:00
Christian Mehlis
f784d24fd5 add debug statement 2013-08-17 20:17:15 +02:00
Oleg Hahm
6d130a45ac updated license headers
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
c3dcaa05a7 Merge pull request #146 from LudwigOrtmann/nativenet_osx_hack
Preliminary OSX support hack
2013-08-15 10:46:13 -07:00
Oleg Hahm
2d4de90a9c added missing header guards 2013-08-15 19:39:29 +02:00
Ludwig Ortmann
1bed4e459a Preliminary OSX support hack 2013-08-15 17:04:03 +02:00
Ludwig Ortmann
708ece68cc cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
Ludwig Ortmann
a634709c00 native cc1100x_ng network
not properly passing received data to transceiver atm
2013-08-15 14:05:26 +02:00
Oleg Hahm
38ae187b61 added prototype for msp430_cpu_init() 2013-08-15 10:31:54 +02:00
authmillenon
e2c201f2e0 Merge branch 'remove_carriage_returns' of github.com:authmillenon/RIOT into authmillenon-remove_carriage_returns
Conflicts:
	sys/net/destiny/in.h
	sys/net/destiny/socket.h
	sys/net/destiny/tcp.h
	sys/net/destiny/tcp_hc.c
	sys/net/destiny/tcp_hc.h
	sys/net/destiny/tcp_timer.c
	sys/net/destiny/udp.c
	sys/net/destiny/udp.h
2013-08-15 10:30:02 +02:00
authmillenon
a3b754b662 Remove carriage returns
Git for windows handles those by itself
2013-08-15 10:17:15 +02:00
Oleg Hahm
ec1d7b9bdf Merge pull request #139 from OlegHahm/default_stacksize
Default stacksize
2013-08-14 15:21:48 -07:00
Oleg Hahm
3ad55cce8b changed default stacksize
* the default stacksize no longer set for a thread using printf
* the stacksize for the main thread therefore adds the necessary space
2013-08-14 18:04:25 +02:00
Ludwig Ortmann
f3bbede59b fix printfs in hwtimer_cpu.c 2013-08-14 17:16:50 +02:00
Oleg Hahm
366d25ae38 Merge pull request #112 from OlegHahm/msb430_uart0
Changes according to the pull requests from dc5e7d7e1f introducnig uart for MSB430 and changing the name of the terminal variable.
2013-08-13 08:57:59 -07:00
Oleg Hahm
88b8ccf3e8 Merge pull request #108 from OlegHahm/unmaintained_libs
removed unmaintained code
2013-08-13 00:44:25 -07:00
Oleg Hahm
540515bd98 removed unmaintained tracelog library 2013-08-12 22:38:18 +02:00
Oleg Hahm
5bf958ce20 removed unmaintained syslog library 2013-08-12 22:38:18 +02:00
Oleg Hahm
31646237b1 removed unmaintained code for LPC214x MCU 2013-08-12 22:37:59 +02:00
Oleg Hahm
6239ea2a0b minor changes according to 7a2cc4ae09 2013-08-09 15:57:34 +02:00
Martin
63146190b3 fix changed prototype parameter 1 of thread_stack_init from void* to void(*)(void) 2013-08-09 12:19:03 +02:00
Zakaria Kasmi
c7351493b5 full abstracted i2c driver for LPC2387 2013-08-07 16:54:10 +02:00
Oleg Hahm
39a4dc684e fixes for #62: eliminate unused parameter warnings
NOTE: this commit introduces a kernel API change for mutex_unlock
2013-08-04 04:10:33 +02:00
Oleg Hahm
22c668529d Merge branch 'oleg-master' into mymaster
Conflicts:
	cpu/Makefile.include
	cpu/arm_common/arm_cpu.c
2013-07-29 01:36:24 +02:00
Oleg Hahm
a2dff456f7 rebased from origin/master 2013-07-29 01:22:03 +02:00
Oleg Hahm
6d48859269 Merge branch 'master' of github.com:OlegHahm/RIOT 2013-07-29 01:11:42 +02:00
Oleg Hahm
3adb6fa217 removed senseless include of debug.h in a header 2013-07-25 21:56:09 +02:00
Oleg Hahm
6297516371 restructured and fixed arm architecutre files 2013-07-24 23:53:38 +02:00
Oleg Hahm
19e4034ace Merge branch 'thomas-mc1322x'
Conflicts:
	Makefile.modules
	core/kernel_init.c
	core/thread.c
	cpu/arm_common/arm_cpu.c
	cpu/arm_common/syscalls.c
	cpu/lpc_common/hwtimer_cpu.c
	cpu/lpc_common/iap.c
	sys/include/transceiver.h
	sys/net/sixlowpan/sixlowip.c
	sys/net/sixlowpan/sixlowmac.c
	sys/net/sixlowpan/sixlowmac.h
	sys/net/sixlowpan/sixlowpan.c
	sys/transceiver/Makefile
	sys/transceiver/transceiver.c
2013-07-24 23:22:11 +02:00
Oleg Hahm
e9cee715a1 Use basic CFLAGS for ARM bootloader code 2013-07-24 22:22:34 +02:00
Oleg Hahm
42001d8ddb dummy lpm_set implementation 2013-07-24 22:22:08 +02:00
Thomas Eichinger
4bc89bd458 added fixes for compilation for mc1322x 2013-07-24 15:50:16 +02:00
Oleg Hahm
ca75d3c36c fixed some includes 2013-07-24 00:44:28 +02:00
Oleg Hahm
599e266b55 Revert "removed redefined ENABLE_DEBUG"
This reverts commit 69c526f44d.

Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Oleg Hahm
222d34d8a5 added missing include to cc110x_ng 2013-07-24 00:00:03 +02:00
Oleg Hahm
33423cdadb redefining default stack sizes dependent on the use of printf 2013-07-23 13:42:58 +02:00
Thomas Eichinger
92adb3e401 * added proper "struct TMR_struct*" in hwtimer_cpu.c
* removed dublicate definition of the UART structure in mc1322x.h
2013-07-23 10:36:16 +02:00
Christian Mehlis
837bad38eb rename kernel_intern.h
german "intern" to english "internal"
2013-07-16 16:36:37 +02:00
Christian Mehlis
b8176f4488 fixed printf patterns 2013-07-16 15:27:19 +02:00
Christian Mehlis
69c526f44d removed redefined ENABLE_DEBUG 2013-07-16 15:27:19 +02:00
Ludwig Ortmann
33dde8aba8 use proper native board include 2013-07-15 20:52:53 +02:00
Oliver Hahm
57cc002c67 Merge branch 'wsn430'
Conflicts:
	core/include/queue.h
	core/queue.c
	cpu/msp430-common/hwtimer_cpu.c
	cpu/msp430x16x/hwtimer_msp430.c
	sys/lib/hashtable.c
	sys/net/ieee802154/ieee802154_frame.c
	sys/shell/commands/sc_cc110x_ng.c
	sys/transceiver/transceiver.c
	sys/vtimer/vtimer.c
2013-06-25 15:33:40 +02:00
Oliver Hahm
c8bee9e554 fixed coding style (space after most keywords) 2013-06-24 22:37:35 +02:00
Oliver Hahm
5d70656343 fixed coding conventions (mostly by astyle) 2013-06-21 03:52:57 +02:00
Oliver Hahm
b571286574 * fixed typo 2013-06-18 17:26:53 +02:00
Oliver Hahm
ac10da4509 Merge branch 'fixes-06-14' of git://github.com/mehlis/RIOT into mehlis-fixes-06-14 2013-06-18 17:25:44 +02:00
Oliver Hahm
0d6d8390c0 * updated copyright and license headers in various files 2013-06-18 17:21:38 +02:00
Martin
d32b785816 fix inserted explicit typecasting to ucontext_t* at assignment 2013-06-14 20:21:22 +02:00
Martin
0dd314afbb fix multiple definition of TRANSCEIVER_STACK_SIZE for using with native cpu 2013-06-14 20:21:22 +02:00
Oliver Hahm
fdd1d21e8d Merge branch 'master' into wsn430 2013-06-14 19:41:23 +02:00
Christian Mehlis
57e70a659c Remove undefined variables from Makefiles
The following variables are included in various Makefiles but never
defined.

    $(BOARDINCLUDE)
    $(PROJECTINCLUDE)
    $(CPUINCLUDE)
2013-06-13 21:41:24 +02:00
Ludwig Ortmann
cad585e9dd remove context switch in native lpm_sleep
quick fix for now
2013-06-13 18:14:21 +02:00
Oliver Hahm
b8f674f5b6 fix context switch in lpm_sleep 2013-06-12 16:18:32 +02:00
Oleg Hahm
545c786375 Merge branch 'master' of git://github.com/overflowed/RIOT into overflowed-master 2013-06-07 17:28:46 +02:00
Oleg Hahm
5a4211598c Merge branch 'master' of github.com:RIOT-OS/RIOT 2013-06-07 17:24:04 +02:00
Oleg Hahm
59de680e26 * function to check for enabled interrupts on ARM 2013-06-07 17:21:11 +02:00
Milan Babel
df13d9e0fc Merge branch 'master' of github.com:overflowed/RIOT
Conflicts:
	drivers/cc110x_ng/Makefile
2013-06-06 08:41:30 +02:00
Milan Babel
edb34b73c0 fixes for the wsn430
fixed vtimer for the msp430
added spi module for the wsn430 v1.3b
changed some variables to uintXX_t, fixes overflow on msp430
2013-06-06 08:35:17 +02:00
Ludwig Ortmann
49228c8353 fix signal handler, ringbuffer for native FreeBSD 2013-06-03 13:23:57 +02:00
Ludwig Ortmann
4f0e4dec90 fix ucontext.h include for OSX, FreeBSD 2013-06-03 13:10:42 +02:00
Martin
d0ea87524c fixed missing include 2013-06-01 08:28:47 -07:00
Ludwig Ortmann
42f897fc4a use NSIG macro from signal.h for number of signals 2013-05-21 10:53:59 +02:00
Ludwig Ortmann
8f377cd9f5 Merge remote-tracking branch 'upstream/master' 2013-05-17 11:10:48 +02:00
Oleg Hahm
f1044c5ccd Merge branch 'master' of github.com:RIOT-OS/RIOT 2013-05-16 17:12:01 +02:00
Oleg Hahm
cdad71d6e3 * fixed a bug in sbrk() by changing the counter variable from local to global 2013-05-16 17:10:14 +02:00
Ludwig Ortmann
35f9062e37 inital OSX support for native port 2013-05-15 17:45:43 +02:00
Oliver Hahm
2c6b406d2d * renamed msp430_common module name 2013-05-15 15:54:21 +02:00
Ludwig Ortmann
7bf9fa0314 increase MINIMUM_STACK_SIZE to allow for DEBUG 2013-05-15 10:46:09 +02:00
Ludwig Ortmann
b36ddd7fd7 Merge remote-tracking branch 'upstream/master' 2013-05-15 10:18:08 +02:00
Ludwig Ortmann
c6553f6492 interrupt handling rewrite
(including uart0 integration, rt-extension removal)
2013-05-14 18:31:47 +02:00
Thomas Eichinger
ee6d1e1604 implemented hwtimer_arch_(enable|disable)_interrupt() and added ITC definitions 2013-04-25 14:56:32 +02:00
Thomas Eichinger
cc49d42f99 added implementations for hwtimer_arch_unset() and hwtimer_arch_now() 2013-04-25 13:38:55 +02:00
Thomas Eichinger
abc80ba5e4 added implementation of htimer_arch_set_absolute() 2013-04-25 13:32:50 +02:00
Thomas Eichinger
64cbb25d3e * changed httimer_arch_init() to init all 4 timers and added implementation for hwtimer_arch_set 2013-04-25 13:30:09 +02:00
Thomas Eichinger
3dba62afa6 Merge branch 'mc1322x' of github.com:RIOT-OS/RIOT into mc1322x 2013-04-22 09:56:07 +02:00
Oliver Hahm
33ff3c3e60 * added accidentally deleted author line 2013-04-17 12:12:45 +02:00
Ludwig Ortmann
2d29a26b64 fix stack and interrupt bugs 2013-04-15 20:08:46 +02:00
Oliver Hahm
3e5f91e728 * add missing sections for arm-none-eabi-gcc to linkerscript for lpc2387 2013-04-15 14:45:39 +02:00
Oliver Hahm
c39fd9d8dc * minor changes 2013-04-09 23:30:52 +02:00
Oliver Hahm
b0a3ae5382 Merge branch 'master' into mc1322x 2013-04-09 23:29:25 +02:00
Ludwig Ortmann
f669f9a05b Merge remote-tracking branch 'upstream/master'
Conflicts:
	Makefile.dep
2013-04-08 17:43:39 +02:00
Ludwig Ortmann
2f74d35709 removed posix real-time extension timers from cpu 2013-04-03 18:53:19 +02:00
Oliver Hahm
0add4cad21 * mc1322x specifics syscalls 2013-04-02 02:07:41 +02:00
Oliver Hahm
24300304f3 * added startup code for mc1322x 2013-04-02 02:07:13 +02:00
Oliver Hahm
ce294b4249 * changed to struct based register access for mc1322x 2013-04-02 02:06:24 +02:00
Oliver Hahm
9556ca3e7c * split up syscalls in arm and lpc specific code 2013-04-02 02:04:19 +02:00
Oliver Hahm
2177b130d7 * added header and preliminary hwtimer code for mc1322x
* renamed start to startup
2013-04-01 02:11:43 +02:00
Oliver Hahm
5ae8c46c88 * moved profiling code to lpc specific part and added includes to cpu Makefile 2013-04-01 02:10:26 +02:00
Oliver Hahm
cc68d7caa6 * assuming size_t to be always unsigned 2013-04-01 00:46:17 +02:00
Oliver Hahm
efd73d735b * initial not yet compiling(!) support for mc1322x 2013-04-01 00:18:52 +02:00
Oliver Hahm
f13ef5f500 * restructured cpu folder to distinguish between arm and lpc common files 2013-04-01 00:18:07 +02:00
Oliver Hahm
a918a9ddde * removed include of signal.h 2013-04-01 00:13:19 +02:00
Oleg
1ee0196ef4 Merge pull request #33 from mikoff/master
updated Chronos support
2013-03-31 13:08:14 -07:00
Oliver Hahm
ad0b7a852d * convert to coding conventions 2013-03-31 20:48:49 +02:00
mikoff
4f638eb887 All files, which used by chronos board were edited according to new texas instruments headers, all warnings fixed 2013-03-30 21:44:16 +01:00
Oliver Hahm
e6177e811a * moved cpu and board specific parts to corresponding Makefiles
* introduced variable for cpu folder
2013-03-23 18:38:12 +01:00
Ludwig Ortmann
671cb6560f native cc110x_ng placebo 2013-03-21 17:08:41 +01:00
Ludwig Ortmann
1197314093 native cpu fixes
init hwtimer with interrupts enabled
more error checking for hwtimer
fix signal handler init in hwtimer
error checking for irq (not necessary yet afaik)
2013-03-21 16:55:57 +01:00
Benjamin Valentin
15d6070ad6 fix bug introduced by 7cef6c4655
stack_start used to be stack_start + stack_size, so re-setting stk to stack_start would set the pointer to the *end* of the stack instead of the beginning.
2013-03-19 16:57:32 +01:00
Oleg
ec11e9b1f3 Merge pull request #26 from LudwigOrtmann/master
added and improved doxygen documentation
2013-03-13 21:07:51 -07:00
Ludwig Ortmann
1a628ee810 remove unused define 2013-03-13 22:01:04 +01:00
Ludwig Ortmann
f8f9557b0b fix error message 2013-03-13 22:00:41 +01:00
Ludwig Ortmann
175300e58c add native cpu doxygen documentation,
also fix and improve some of the existing
2013-03-13 21:56:56 +01:00
Oliver Hahm
7cef6c4655 * adapted thread_stack_init() for ARM and msp430 to the new prototype introduced by bd5b46628f 2013-03-13 16:49:23 +01:00
Ludwig Ortmann
8019551694 renamed makefiles within Makefiles 2013-03-12 16:03:37 +01:00
Ludwig Ortmann
3ec4800ae8 renamed makefiles 2013-03-12 15:44:12 +01:00
Ludwig Ortmann
f8973bb007 Merge remote-tracking branch 'upstream/master' 2013-03-12 15:23:24 +01:00
Oliver Hahm
0d06e1bc18 Merge branch 'master' of github.com:RIOT-OS/RIOT 2013-03-10 16:46:46 +01:00
Oliver Hahm
7a4dec1830 * replaced new Makefile name in Makefiles 2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27 * renamed makefiles to Makefile 2013-03-09 23:45:56 +01:00
Oleg Hahm
2ed63bd5c6 * removed outdated (and probably confusing) FeuerWhere project as an author 2013-03-08 11:30:23 +01:00
Oleg Hahm
2277b366b2 * removed outdated occurrences of (u|µ)kleos and FeuerWare 2013-03-07 20:51:26 +01:00
Oleg Hahm
02897cbd1d * removed unnecessary includes from msp430-common files 2013-03-07 19:23:51 +01:00
Ludwig Ortmann
144ebba9ca fix some compiler warnings 2013-03-07 13:53:14 +01:00
Ludwig Ortmann
795ab695c0 copyright preambel 2013-03-06 10:29:49 +01:00
Ludwig Ortmann
d65536f77b native cpu initial import 2013-03-06 01:08:15 +01:00
Oleg Hahm
d31ee82518 * removed legacy projects folder and Jamfiles 2013-02-27 19:08:16 +01:00
Oliver Hahm
82f2e3d4e0 * added missing makefiles for msb430h
* updated some makefiles and fixed includes for msb430h
2013-02-11 22:10:03 +01:00
Oleg Hahm
5df0bd0cc4 * updated and integrated makefiles
* added some auto dependencies
2013-02-08 17:37:02 +01:00
Oleg Hahm
3791039974 * integrated makefiles
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
55bb484b22 [cpu arm_common]
* added usb ram as heap3
* some feuerware merge adaptation

[projects test_suite]

* fixed some test scripts
2012-11-08 11:37:29 -05:00
Oliver Hahm
e49a17f4f7 Merge branch 'feuerware-integration' 2012-11-07 15:25:25 -05:00
Oliver Hahm
92281753ad Merge branch 'stable'
Conflicts:
	core/sched.c
	sys/auto_init.c
2012-11-05 19:15:57 -05:00
Oliver Hahm
4433b5cf5b [cpu cc430 gpioint]
* some improvements to the debouncing
2012-11-05 18:43:03 -05:00
Oliver Hahm
a20088f6e8 [core sched]
* fixed thread_getlastpid()
* enable interrupts again in thread_sleep() to avoid getting stuck w/
    disabled interrupts

[cpu lpc2387]
* added hwtimer as dependency for MCI driver

[project test_*]

* fixed some expect scripts
2012-11-01 13:18:17 +01:00
Oliver Hahm
918a31cf8c [core hwtimer] [cpu arm]
* adapted core and arm cpu
2012-03-08 18:58:39 +01:00
Oliver Hahm
b051659d71 [drivers adc]
* added lpc2387 adc driver and generic interface
2012-02-16 22:14:47 +01:00
Oliver Hahm
09721a2230 [cpu arm_common hwtimer]
* declared inline function as static as linker cannot find it otherwise
2012-01-07 18:47:00 +01:00
Oliver Hahm
2af5835d21 [cpu arm_common + tools toolchains]
* updated newlib and gcc
* removed unnecessary compiler flags for soft-float and VFP

[cpu lpc2387]

* fixed broken Jamfile
2012-01-04 17:46:28 +01:00
Oliver Hahm
c3d24e2057 core/ 2011-12-28 11:37:05 +01:00
Oliver Hahm
a6257e5236 [cpu arm_common profiling]
* some fixes and more documentation
2011-12-28 11:18:11 +01:00
Oliver Hahm
7b1b145b4f [cpu lpc2387]
* added mci driver

[sys shell]

* added commands for memory card access
2011-12-12 17:50:22 +01:00
Oliver Hahm
1213b0a4fe * changed file endings from dos to unix
* assigned ctors and dtors sections to ram region
2011-08-31 10:49:26 +02:00
Oliver Hahm
f75b18fb29 * merged from stable 2011-08-30 17:42:05 +02:00
Oliver Hahm
ecec50e905 [cpu lpc3487]
* removed unnecessary from linkerscript
2011-06-27 09:41:56 +02:00
Oliver Hahm
15d27d8244 * Wiselib update for the linekrscript
* some minor changes in vtimer
2011-06-24 18:54:20 +02:00