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

1482 Commits

Author SHA1 Message Date
Lucas Jenß
742c39e838 Merge pull request #2881 from x3ro/clarify-stacksize-constants
Clarify and unify naming of thread-related constants (stacksize and priority)
2015-05-21 16:55:30 +02:00
Hauke Petersen
807c6432cc board/stm32f4discovery: fixed doxygen in periph_conf 2015-05-21 13:19:41 +02:00
Joakim Gebart
7b4450bd0a mulle: Use BITBAND_REG32 instead of BITBAND_REG 2015-05-21 11:00:49 +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
Oleg Hahm
8cb0e59283 Merge pull request #3030 from gebart/pr/tab-fixes2
Tab indentation fixes
2015-05-20 18:27:28 +02:00
Johann Fischer
b0e73b9a8c Merge pull request #2983 from jfischer-phytec-iot/pr@kw2x-rf-autoinit
boards/pba-d-01-kw2x: add network interface auto init
2015-05-20 10:00:23 +02:00
Joakim Gebart
964fdb5cf2 mulle: Add PWM configuration 2015-05-20 06:19:51 +02:00
Joakim Gebart
fc926e57bf pba-d-01-kw2x: Add PWM_MAX_VALUE 2015-05-20 06:16:42 +02:00
Joakim Gebart
4656e022cc boards/redbee-econotag: Replace tabs by spaces 2015-05-19 12:25:28 +02:00
Joakim Gebart
6f59d41335 boards/pttu: Replace tabs by spaces 2015-05-19 12:25:10 +02:00
Joakim Gebart
36849276b3 boards/pba-d-01-kw2x: Replace tabs by spaces 2015-05-19 12:24:56 +02:00
Hauke Petersen
1c610df0f5 boards/yunjia-nrf51822: enabled nrfmin radio driver 2015-05-19 10:02:57 +02:00
Hauke Petersen
8d1b51423a boards/pca10005: enabled nrfmin radio driver 2015-05-19 10:02:57 +02:00
Hauke Petersen
8d831eab14 boards/pca10000: enabled nrfmin radio driver 2015-05-19 10:02:57 +02:00
Hauke Petersen
e991b1c4d0 boards/airfy-beacon: enabled nrmin radio driver 2015-05-19 10:02:57 +02:00
Joakim Gebart
19c17c529c mulle: Add FEATURES_MCU_GROUP=cortex_m4 2015-05-19 08:56:29 +02:00
Jonas
9b66477180 adapted new auto-init process to kw2xrf driver
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
Peter Kietzmann
b3e78ddc33 Merge pull request #3016 from gebart/pr/tab-indentation
Inconsistent indentation in some files
2015-05-18 15:45:15 +02:00
Joakim Gebart
b1bc737c0d msba2-common: Replace tabs by spaces 2015-05-18 07:10:41 +02:00
3c00ff0c9b drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
Jonas
4b8613b944 add pba-d-01-kw2x board to m4-group 2015-05-17 00:43:58 +02:00
Johann Fischer
1d46291d49 Merge pull request #2059 from jfischer-phytec-iot/wip@mkw2xd
RIOT port for the MKW22D512 SiP and Phytec PBA-D-01 PhyWave Evaluations-Board
2015-05-15 10:01:56 +02:00
Johann F
b0b5027bca add support for phyWAVE-KW2x Board, pba-d-01-kw2x
- default cpu model is kw21d256
2015-05-15 08:05:43 +02:00
Joakim Gebart
4352dbe26d mulle: Add GPIO_26 on PTE4 2015-05-14 18:12:37 +02:00
Oleg Hahm
2bd9a5d595 Merge pull request #2936 from d00616/change_nrf_rtt_source
cpu/nrf51822: change RTT from RTC0 to RTC1
2015-05-12 20:57:23 +02:00
Oleg Hahm
714c10e44f Merge pull request #2966 from anandsr21/arm_stm32f0discovery_led_fix
arm: stm32f0discovery led color fix
2015-05-12 08:43:27 +02:00
Anand Srivastava
f694d46b43 boards/stm32f0discovery: led color fix 2015-05-11 16:26:28 +05:30
bapclenet
3f2afcd596 Merge pull request #2918 from daniel-k/samd21_rtt
cpu/samd21: Add RTT driver
2015-05-11 10:31:13 +02:00
Oleg Hahm
69f07c601f Merge pull request #2949 from OlegHahm/crash_panic_foobar
core: panic unification
2015-05-10 21:54:43 +02:00
daniel-k
a31848ceb8 cpu/samd21: implement peripheral real time timer (periph/rtt) 2015-05-10 21:09:31 +02:00
Oleg Hahm
828839316b core: renamed crash.h to panic.h 2015-05-09 18:44:10 +02:00
Frank Holtz
bb2f94a2b9 cpu/nrf51822/periph/rtt Change RTC from 0 to 1 2015-05-09 17:58:40 +02:00
Joakim Gebart
e9c567107d all: remove extra blank lines at the end 2015-05-09 09:10:08 +02:00
Joakim Gebart
5021c5a85e boards/msba2-common/tools/flashutil.sh: whitespace fixes 2015-05-09 08:54:34 +02:00
BytesGalore
f9a79eee41 RIOT/Makefile.include: added compile time warning on conflicting features 2015-05-07 21:05:08 +02:00
haukepetersen
43f8a04c41 boards/samr21-xpro: added init of network interfaces 2015-04-30 15:08:49 +02:00
haukepetersen
10615f863e board/iot-lab: added network interface init 2015-04-30 15:08:49 +02:00
Francesco Ermini
ca743ae97b cpu/sam3x: extend gpio implementation
fix functions arguments

extended sam3x GPIO from 16 to 31

fix GPIO_NUMOF to 32

add GPIOs

extend GPIO 16-31  for ArduinoDue/UDOO

fix white space at the end  gpio_clear
2015-04-15 17:56:00 +02:00
Oleg Hahm
c1ecccfbd8 Merge pull request #2282 from gebart/pr/k60-initial
Add support for Kinetis K60 CPUs and Eistec Mulle IoT board
2015-04-10 00:22:21 +02:00
12efead799 nucleo-f334: add GPIO support 2015-04-08 19:52:14 +02:00
be9dcece23 nucleo-f334: add SPI pin defines 2015-04-08 19:52:03 +02:00
Ludwig Ortmann
70fc6686ff boards/samr21-xpro: fix led macros/init 2015-04-04 16:09:06 +02:00
Joakim Gebart
4ae819c011 mulle: Initial import of Eistec Mulle board.
Initially supports only Mulles with serial number > 220 (due to missing
MK60DN256ZVLL10 support in k60).

See also: https://github.com/RIOT-OS/RIOT/wiki/Board%3A-Mulle

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-03-28 08:32:46 +01:00
Hauke Petersen
ebd6ec1675 Merge pull request #2707 from haukepetersen/fix_f3discovery_features
boards/stmf3discovery: fixed MCU GROUP
2015-03-27 11:51:26 +01:00
Ludwig Ortmann
29a614e4c4 Merge pull request #2318 from LudwigOrtmann/flash-targets
boards/samr21-xpro: enable specifying a flash port
2015-03-26 21:07:42 +01:00
Hauke Petersen
a00afbb6dd boards/stmf3discovery: fixed MCU GROUP 2015-03-24 15:28:45 +01:00
Peter Kietzmann
68e3054e2d Merge pull request #2641 from Tom-VdE/master
boards/Makefile.features: one feature per row
2015-03-23 09:37:42 +01:00
Tom Van den Eynde
65b1334b4b boards/yunjia-nrf51822: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:40 +01:00
Tom Van den Eynde
05073bf50a boards/wsn430-v1_4: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:35 +01:00
Tom Van den Eynde
484612617f boards/wsn430-v1_3b: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:29 +01:00
Tom Van den Eynde
a9234c5b59 boards/udoo: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:23 +01:00
Tom Van den Eynde
a387f6f3d6 boards/stm32f4discovery: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:18 +01:00
Tom Van den Eynde
c20401362d boards/stm32f3discovery: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:12 +01:00
Tom Van den Eynde
63245ea678 boards/stm32f0discovery: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:06 +01:00
Tom Van den Eynde
e5f90a6056 boards/samr21-xpro: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:14:01 +01:00
Tom Van den Eynde
d73de8a3bd boards/pca10005: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:54 +01:00
Tom Van den Eynde
8c8c2c876c boards/pca10000: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:49 +01:00
Tom Van den Eynde
9d330872cd boards/openmote: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:42 +01:00
Tom Van den Eynde
01d0ea6507 boards/nucleo-l1: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:35 +01:00
Tom Van den Eynde
e57176b760 boards/nucleo-f091: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:29 +01:00
Tom Van den Eynde
e563e2df36 boards/native: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:24 +01:00
Tom Van den Eynde
42bdb4465a boards/msbiot: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:18 +01:00
Tom Van den Eynde
087b3e6b85 boards/msba2: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:13 +01:00
Tom Van den Eynde
93eb5c8f43 boards/iot-lab_M3: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:07 +01:00
Tom Van den Eynde
270bc751a8 boards/fox: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:13:02 +01:00
Tom Van den Eynde
cedbcf8c25 boards/chronos: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:12:56 +01:00
Tom Van den Eynde
435fc3094f boards: cc2538dk: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:12:49 +01:00
Tom Van den Eynde
4d1de9f8e8 boards/avsextrem: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:12:43 +01:00
Tom Van den Eynde
51581907c4 boards/arduino-due: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:12:37 +01:00
Tom Van den Eynde
692517c89c boards/airfy-beacon: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:12:10 +01:00
Ludwig Ortmann
54020a1aea Merge pull request #2599 from LudwigOrtmann/pr/nucleo-f334-periph-cpuid
boards/nucleo-f334: indicate periph_cpuid feature
2015-03-19 22:16:56 +01:00
Thomas Eichinger
549a913939 Merge pull request #2636 from haukepetersen/fix_nucleof334_openocd
boards/nucleo-f334: adjusted openocd config
2015-03-18 16:57:41 +01:00
Hauke Petersen
88831f0872 Merge pull request #2617 from LudwigOrtmann/pr/bossac-revert
boards/arduino-due: revert bossac binary
2015-03-18 16:40:19 +01:00
Hauke Petersen
4fadff4a9a boards/nucleo-f334: adjusted openocd config 2015-03-18 16:27:12 +01:00
Hauke Petersen
346810ce12 boards: added SPI definitions for NRF based boards
added SPI defines for
- yunjia-nrf51822
- pca10005
- airfy-beacon
2015-03-17 10:37:47 +01:00
Hauke Petersen
9f65959f4b Merge pull request #2594 from haukepetersen/add_board_nucleof091
boards: added support for ST nucleo-f091
2015-03-17 10:30:31 +01:00
Ludwig Ortmann
4ecb60bdcc boards/arduino-due: revert bossac binary
The file was accidentally changed in 2362623490
2015-03-16 21:59:31 +01:00
Ludwig Ortmann
14063d22ba boards/nucleo-f334: indicate periph_cpuid feature 2015-03-16 21:46:44 +01:00
Hauke Petersen
88749ee324 boards/spark-core: fixed make flash target 2015-03-16 20:27:22 +01:00
Hauke Petersen
38430d4dba boards/arduino-due: fixed broken flash target 2015-03-16 20:20:26 +01:00
Hauke Petersen
7ccf184cd1 boards: added support for nucleo-f091 2015-03-16 16:23:44 +01:00
Hauke Petersen
0f00ae627f board/stm32f0discovery: fixed GPIO ISR defines 2015-03-13 15:32:48 +01:00
Thomas Eichinger
1eac81b562 Merge pull request #2593 from haukepetersen/fix_stm32f0_timerdef
cpu/stm32f0: cleanup for timer IRQ macro
2015-03-13 14:23:41 +01:00
Thomas Eichinger
64410350bd Merge pull request #2552 from jhollister/add_cpuid
Added cpuid_get for STM boards
2015-03-13 10:59:09 +01:00
Hauke Petersen
0f5c941cf6 board/stm32f0discovery: cleaned up timer defines
- make irq prio 'timer global'
- removed unused timer_1 defs
2015-03-13 10:21:56 +01:00
Hauke Petersen
fde32bf066 Merge pull request #2578 from fnack/msb_feat
boards/msbiot: Extend the provided features
2015-03-12 11:42:47 +01:00
Fabian Nack
54d98a4c68 boards/msbiot: Add DAC feature 2015-03-11 13:53:34 +01:00
Fabian Nack
faf6a1d3da boards/msbiot: Add ADC feature 2015-03-11 13:53:34 +01:00
Fabian Nack
b66ed3ab73 boards/msbiot: Add random feature 2015-03-11 13:53:34 +01:00
James Hollister
722835989d cpu/stm32f4: added cpuid_get to stm32f4 2015-03-08 12:18:37 -07:00
James Hollister
10f4aacf6c cpu/stm32f3: added cpui_get for stm32f3 2015-03-08 12:14:19 -07:00
James Hollister
3d6ab85bb3 cpu/stm32f0: added cpuid_get for stm32f0 2015-03-08 12:13:10 -07:00
Fabian Nack
869a6dc805 boards/msbiot: Switch from st-util to openocd 2015-03-06 10:12:49 +01:00
Ludwig Ortmann
7344f770a3 boards/samr21-xpro: allow specifying flash device 2015-03-03 21:19:48 +01:00
Philipp Rosenkranz
02d0c88284 tests/travis: split buildtests into MCU groups. 2015-02-22 15:04:52 +01:00
Martine Lenders
449d2735c5 native: fix termflags 2015-02-21 16:14:36 +01:00
Ludwig Ortmann
cec87139a5 core, cpu, drivers, tests: remove trailing space 2015-02-18 13:52:48 +01:00
Fabian Nack
b2fb894c90 board - msbiot: Prepare msbiot for mpu9150 driver usage 2015-02-13 10:08:38 +01:00
Hauke Petersen
12e301352d Merge pull request #2444 from haukepetersen/fix_doc_boardqemu
board/qemu-i386: some cleanup in file headers
2015-02-12 23:46:16 +01:00
Hauke Petersen
4a9c5b4302 board/qemu-i386: changed to use default license header 2015-02-12 16:08:04 +01:00
Hauke Petersen
ae20715bca board/qemu-i386: cleanup doxygen headers
- fixed doxygen group name
- fixed some minor formatting
- added missing file description
2015-02-12 16:05:41 +01:00
Hauke Petersen
a96c2b5943 Merge pull request #2443 from haukepetersen/fix_doc_boards1
boards: unified doxygen group names
2015-02-12 15:54:40 +01:00
Hauke Petersen
d45ab123bf board/z1: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
f70aeeb0d2 board/udoo: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
63fc72979d board/stm32f4discovery: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
6bc5088712 board/stm32f3discovery: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
622045f934 board/stm32f0discovery: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
7b98e71139 board/spark-core: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
d476a3d30c board/samr21-xpro: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
19b5a7b0a6 board/pttu: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Hauke Petersen
ac5a6b9ffe board/pca10005: fixed doxygen group name 2015-02-12 15:11:00 +01:00
Hauke Petersen
3de716ada3 board/pca10000: fixed doxygen group name 2015-02-12 15:11:00 +01:00
Hauke Petersen
a4797d7db7 board/openmote: fixed doxygen group name 2015-02-12 15:11:00 +01:00
Hauke Petersen
bd8b4c52f5 board/nucleo-l1: fixed doxygen group name 2015-02-12 15:11:00 +01:00
Hauke Petersen
7fa166ce3c board/x86-multiboot-common: fixed doxygen headers 2015-02-12 14:26:25 +01:00
Hauke Petersen
baacfc3064 board/nucleo-f334: fixed doxygen group name 2015-02-12 13:40:36 +01:00
Hauke Petersen
46827fe7a2 board/msbiot: fixed doxygen group name 2015-02-12 13:39:47 +01:00
Hauke Petersen
c8d15660f2 board/mbed_lpc1768 fixed doxygen group name 2015-02-12 13:39:08 +01:00
Hauke Petersen
84df8e15ed board/iot-lab_M3: fixed doxygen group name 2015-02-12 13:38:11 +01:00
Hauke Petersen
0dbd3cf6d2 board/fox: fixed doxygen group name 2015-02-12 13:37:39 +01:00
Hauke Petersen
f4f5e4c9ff board/f4vi1: fixed doxygen group name 2015-02-12 13:37:01 +01:00
Hauke Petersen
3b792080e0 board/cc2538dk: fixed doxygen group name 2015-02-12 13:35:53 +01:00
Hauke Petersen
f642cbb7e1 board/arduino-mega2560: fixed doxygen group name 2015-02-12 13:34:50 +01:00
Hauke Petersen
fcce4368d7 board/arduino-due: fixed doxygen group 2015-02-12 13:33:59 +01:00
Hauke Petersen
46dd66d0bf board/airfy-beacon: fixed doxygen group name 2015-02-12 13:26:50 +01:00
Hauke Petersen
06d4e24101 board/yunjia-nrf51822: fixed doxygen group name 2015-02-12 13:25:59 +01:00
Thomas Eichinger
5155dc799f board/fox: specify target CPU for openocd 2015-02-10 14:27:46 +01:00
Thomas Eichinger
a124834d8d board/iot-lab_M3: specify target CPU for openocd 2015-02-10 14:27:46 +01:00
haukepetersen
de3200a88f board/samr21-xpro: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
596b7ce734 board/nucleo-l1: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
d076bc13e3 board/nucloe-f334: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
a5a1ffe6ba board/iot-lab_M3: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
a44ff8f8df board/fox: use unified openocd file 2015-02-10 14:27:45 +01:00
haukepetersen
95bf4e2f94 board/yunjia-nrf51822: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
d973729e13 board/stm32f4discovery: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
c737bacace board/airfy-beacon: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
f334a8b317 board/stm32f0discovery: use unified openocd script 2015-02-10 14:27:45 +01:00
haukepetersen
03858bffe9 board/stm32f3discovery: use unified openocd script 2015-02-10 14:27:45 +01:00
Thomas Eichinger
5595bbb94b Merge pull request #2372 from haukepetersen/add_f0discovery_openocd
board/stm32f0discovery: switched to OpenOCD
2015-01-30 13:21:19 +01:00
Hauke Petersen
4142125af8 Merge pull request #2364 from thomaseichinger/f3dicovery-openocd
boards/stm32f3discovery: use OpenOCD for flashing, debugging and resetting
2015-01-30 11:14:19 +01:00
Hauke Petersen
a944d29edc board/stm32f0discovery: switched to OpenOCD
switched flashing and debug scripts to use OpenOCD
2015-01-30 11:08:25 +01:00
Thomas Eichinger
dd45333a09 SQUASHME: Fixed issues and omitted parameters 2015-01-29 14:48:20 +01:00
Hauke Petersen
3834d8709c board/stm32f4discovery: optimized openocd script
removed redundant flash erase (speeds up flashing quite a bit)
2015-01-29 13:49:38 +01:00
Thomas Eichinger
7b4472718f SQUASHME: fix permissions 2015-01-29 13:28:55 +01:00
Thomas Eichinger
f6741b719e SQUASHME: adding ports for openocd 2015-01-28 15:05:48 +01:00
Thomas Eichinger
7dbb1fd6b0 boards/stm32f3discovery: use OpenOCD to flash, debug and reset 2015-01-28 15:05:22 +01:00
Joakim Gebart
d60a6045d8 nucleo-f334: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:55:39 +01:00
Joakim Gebart
bc542fa31d yunjia-nrf51822: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:55:04 +01:00
Joakim Gebart
9968280705 udoo: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:55:04 +01:00
Joakim Gebart
b6f67a72ec stm32f4discovery: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:54:49 +01:00
Joakim Gebart
913922813e stm32f3discovery: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
2a3f710f1c stm32f0discovery: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
cd0511726a spark-core: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
38fc33717b samr21-xpro: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
ee300272d4 pca10005: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
934cc2ccdd pca10000: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
779de1bda6 openmote: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
3c336ad170 nucleo-l1: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
99f7586fe8 msbiot: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
a55f49825e mbed_lpc1768: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
082944e231 iot-lab_M3: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
222e68ddd5 fox: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
afe7ee2126 f4vi1: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
2cb7735ce2 cc2538dk: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
530fc8709d arduino-due: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Joakim Gebart
33756675dc airfy-beacon: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Thomas Eichinger
0b79dffa87 boards/nucleo-f334: correct CPU_USAGE variable 2015-01-28 11:21:51 +01:00
haukepetersen
834335027d boards: added support for nucleo-f334 2015-01-27 23:14:10 +01:00
Hauke Petersen
2f60e4c7fd Merge pull request #2359 from thomaseichinger/nucleo-l1_openocd_futureproof
boards/nucleo-l1: use upstream openocd configuration
2015-01-27 22:08:54 +01:00
Peter Kietzmann
eb92f43432 Merge pull request #1812 from BytesGalore/guarding_headers
boards: core: cpu: drivers: sys: added missing header guards
2015-01-27 21:59:14 +01:00
Thomas Eichinger
36cb57bb33 Merge pull request #2305 from x3ro/samr21-autostart-gdb
Samr21: autostart gdb when running make debug
2015-01-27 21:07:55 +01:00
Lucas Jenss
5fdbf0ccfe Samr21: autostart gdb when running make debug 2015-01-27 20:49:58 +01:00
Christian Mehlis
bea0171754 stm32f4discovery: use openocd for flashing 2015-01-27 20:32:57 +01:00
BytesGalore
714ee38355 boards: core: cpu: drivers: sys: added missing header guards 2015-01-27 19:10:57 +01:00
Thomas Eichinger
7f05dc2725 boards/nucleo-l1: use upstream openocd configuration
Configuration for the ST Nucleo L152RE board was merged into
OpenOCD upstream. This commit changes scripts for flashing,
debugging and reseting to use this and removes RIOT's configuration
file.
2015-01-27 15:21:33 +01:00
Thomas Eichinger
4b7cc95529 boards/nucleo-l1: check presence of stm32l.cfg
In current updates OpenOCD split up stm32l.cfg into stm32l1.cfg and
stm32l0.cfg. This provides a check in openocd.cfg for this file so
openocd doesn't fail.
2015-01-26 15:24:25 +01:00
Fabian Nack
c1cc08a727 boards/msbiot: Add PWM config to MSB-IoT 2015-01-22 14:33:35 +01:00
Peter Kietzmann
eaf9cc32e6 Merge pull request #2308 from haukepetersen/fix_stm32f0_gpioclks
cpu/stm32f0: fixed port clk en for GPIO driver
2015-01-21 10:20:10 +01:00
haukepetersen
827f34be19 board/nucleo-l1: capitalized doxygen group 2015-01-21 09:31:45 +01:00
Hauke Petersen
7ec85a3797 board/stm32f0discovery: fixed GPIO CLKEN defines 2015-01-21 08:20:28 +01:00
Hauke Petersen
c3cdfe7ef7 Merge pull request #2315 from fnack/spi_clock
cpu/stm32f4: Fix SPI baud rate control settings
2015-01-16 11:19:18 +01:00
Fabian Nack
f9a72b477d boards/msbiot: add spi feature for msbiot to include it in the tests 2015-01-16 09:24:48 +01:00
Fabian Nack
9a365b0647 boards: Introduce spi bus divider to distinguish APB2 and APB1 bus 2015-01-16 09:24:48 +01:00
Hauke Petersen
c61056ad0f board/stm32f4discovery: adjusted GPIO clken defines 2015-01-15 14:24:48 +01:00
Hauke Petersen
63b2bbd684 board/msbiot: ajusted GPIO clken defines 2015-01-15 14:24:17 +01:00
Hauke Petersen
b435a488fa Merge pull request #2026 from thomaseichinger/stm32l1
stm32l1: initial port for the nucleo-l1 board and stm32l1 cpu
2015-01-12 21:33:21 +01:00
Thomas Eichinger
07d76d7127 stm32l1: initial port for the nucleo-l1 board and stm32l1 cpu 2015-01-12 15:13:19 +01:00
Troels Hoffmeyer
29b0e73350 samr21: cpuid implemented by reading 128 bits from flash 2015-01-12 13:50:16 +01:00
Thomas Eichinger
2ea028dd51 Merge pull request #2011 from haukepetersen/add_stm32f3_spi
cpu/stm32f3: added SPI driver
2015-01-09 11:46:06 +01:00
Oleg Hahm
9bddd61115 Merge pull request #2207 from gebart/pr/lpc2387-gc-sections
msba2: Use --gc-sections when linking.
2015-01-08 14:05:27 +01:00
Hauke Petersen
7f0ffcf615 board/stm32f3discovery: added SPI configuration 2015-01-07 20:18:25 +01:00
Thomas Eichinger
d6c4d5581f Merge pull request #2215 from bapclenet/samr21/RTC
cpu/samd21: add rtc periph implementation
2015-01-06 18:21:22 +01:00
Oleg Hahm
d3a88013f7 Merge pull request #2218 from thomaseichinger/openwsn-ng
pkg/openwsn: update to current openwsn version
2014-12-31 18:33:09 +01:00
Thomas Eichinger
914aaff8ea boards/fox: define empty orange LED macros 2014-12-31 00:14:40 +01:00
Oleg Hahm
d798539f86 make: boards: add feature config to Makefiles 2014-12-22 20:34:40 +01:00
Oleg Hahm
15fc9cb4cb make: do not overwrite features for chronos 2014-12-22 20:34:17 +01:00
Ludwig Ortmann
dd18ef2935 Merge pull request #2185 from Kijewski/issue-2184
x86: QEMU has changed its command line arguments
2014-12-20 18:51:23 +01:00
Hauke Petersen
28751d8773 board/mbed_lpc1768: added CLKSEL to periph_conf 2014-12-19 13:48:08 +01:00
René Kijewski
a76c029eda x86: Fix make term for BOARD=qemu-i386
Fixes #2184.

QEMU has changed its command line arguments.
2014-12-19 08:53:50 +01:00
bapclenet
55aabf9dfb cpu/samd21: add rtc periph implementation 2014-12-18 15:25:49 +01:00
Thomas Eichinger
a9379881cf pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
Thomas Eichinger
ca53077e3c Merge pull request #1998 from Troels51/samr21-hwtimer-fix
samr21: 32 hwtimer
2014-12-17 17:29:36 +01:00
Troels Hoffmeyer
7124ec6258 samr21: implemented 32 bit hwtimer 2014-12-17 14:44:54 +01:00
Thomas Eichinger
5689a7d218 Merge pull request #1997 from Troels51/samr21-transceiver-port
samr21: implemention of transceiver via spi
2014-12-17 11:56:37 +01:00
Joakim Gebart
390b8394d6 msba2: Use --gc-sections when linking.
- Add `-Wl,--gc-sections` to LDFLAGS
 - Add `-fdata-sections` and `-ffunction-sections` to CFLAGS
 - Update lpc2387 linker script to keep the isr vector and init
   sections when garbage collecting.
 - Keep .ctors and .dtors sections (similar to what binutils default
   linker script does when building for Linux targets)

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2014-12-17 11:37:58 +01:00
Hauke Petersen
765c4f38e5 Merge pull request #2201 from BytesGalore/mbed_lpc1768_uartUSB
board/mbed_lpc1768 changed the serial device to UART0
2014-12-17 10:35:03 +01:00
BytesGalore
c40e5267a6 board/mbed_lpc1768 changed the serial device to UART0
-> enables USB/serial communication
2014-12-17 07:27:28 +01:00
Ludwig Ortmann
e7f6f640f6 Merge pull request #2060 from OlegHahm/periph_rtc
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Troels Hoffmeyer
33ef43c8e2 samr21: implemented transceiver via spi, gpio changes 2014-12-16 17:43:30 +01:00
Oleg Hahm
124c13bbab pttu: add periph_rtc also to this MSB-A2 variant 2014-12-16 17:02:44 +01:00
Oleg Hahm
f7b197007d travis: make travis happy for empty header files 2014-12-16 17:02:44 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Oleg Hahm
498edb1854 cc430: lpc2387: switch to new periph/rtc interface
Removes the old interface.
2014-12-16 17:02:44 +01:00
Oleg Hahm
ed54a5765a boards: created periph-conf.h for remaining boards 2014-12-16 17:02:44 +01:00
Hauke Petersen
54ca0b9a65 board/mbed_lpc1768: added timer definitions 2014-12-16 16:57:31 +01:00
Thomas Eichinger
29c5822e02 Merge pull request #2016 from bapclenet/master
cpu/samd21: I2C driver implementation (Master mode)
2014-12-15 16:58:19 +01:00
Ludwig Ortmann
093085b4ff native: workaround for missing __builtin_bswap16
Implements a workaround for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624

This is present in current versions of ubuntu 12.04 and debian 7.7 (stable).
2014-12-15 09:27:40 +01:00
Ludwig Ortmann
c0ef84bb9f native: move rtc to periph
* adapt implementation to new interface
* remove now superfluous drivers directory
2014-12-13 15:21:52 +01:00
Ludwig Ortmann
1340fadcbe boards,drivers,examples: unset ENABLE_DEBUG 2014-12-12 14:29:06 +01:00
bapclenet
54fb0f0610 cpu/samd21: add i2c periph implementation 2014-12-11 08:32:27 +01:00
Oleg Hahm
bd80cbcaff Merge pull request #2172 from haukepetersen/add_mbed_makeflash
board/mbed_lpc1768: added flash script
2014-12-09 17:17:07 +01:00
Hauke Petersen
b0fb2a601c Merge pull request #2167 from haukepetersen/add_lpc1768_uart
cpu/lpc1768: added basic UART driver
2014-12-09 16:27:41 +01:00
Hauke Petersen
8161689337 board/mbed_lpc1768: added flash script 2014-12-09 15:57:20 +01:00
Ludwig Ortmann
122d488a42 Merge pull request #2165 from haukepetersen/fix_test_uart
test/periph_uart_xx: switched to feature based whitelisting
2014-12-09 14:44:15 +01:00
Hauke Petersen
6e87ee19ff board/mbed_lpc1768: changed binary ouput to .bin 2014-12-09 13:31:17 +01:00
Hauke Petersen
e4fa4a61b7 board/mbed_lpc1768: added UART configuration 2014-12-08 19:48:20 +01:00
Hauke Petersen
3db9935fa5 boards: added missing UART feature
added for:
- airfy-beacon
- arduino-mega2560
- cc2538dk
- msbiot
- openmote
- pca1000[0|5]
- spark-core
- stm32f4discovery
- yunjia-nrf51822
2014-12-08 18:15:46 +01:00
Ludwig Ortmann
0027f90be4 Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Oleg Hahm
000450c894 Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Martin
bfaacbbd38 cpu/arm_common: c++: initial support for c++ added _kill (weak) and weak attribute for _kill_r
boards/msba2: provided c++ feature (cpp)
2014-12-03 07:30:29 +01:00
Oleg Hahm
0c967c4d3f cpu: msp430: renamed msp430x16x to msp430fxyz 2014-12-02 17:46:57 +01:00
Fabian Nack
dc658f8be0 boards - msbiot: prepare msbiot for new cc110x driver 2014-12-01 17:14:09 +01:00
Oleg Hahm
df9c09d946 doc: fixed typos and other misspellings 2014-11-30 21:32:12 +01:00
Oleg Hahm
d3d68c876f doc: use @brief for single defines 2014-11-30 21:18:24 +01:00
Oleg Hahm
ae8dd90884 doc: added missing closing doxygen brackets 2014-11-30 21:16:41 +01:00
Ludwig Ortmann
07da49de40 native/make/osx: circumvent unavailable gobjcopy
It's not used anyways, so just create an empty hex file if gobjcopy is
not found.
2014-11-28 17:28:27 +01:00
Oleg Hahm
823105bcae doc: remove superfluous parameter for @file
doxygen can figure this out much better on its own.
2014-11-28 14:20:24 +01:00
Hauke Petersen
f1fda21ab7 Merge pull request #2018 from brummer-simon/devel-dac_driver
Basic DAC Driver, implementation on stm32f4discovery
2014-11-26 17:52:39 +01:00
Hauke Petersen
e0bb9d5689 board/stm32f3discovery: added PWM
- added PWM feature
- added PWM definitions to periph_conf.h
2014-11-26 16:56:59 +01:00
Christian Mehlis
3cd370ff6b Merge pull request #2005 from haukepetersen/fix_nrf_enablehfclk
cpu/nrf51822: added HFCLK initialization
2014-11-25 23:41:34 +01:00
Simon Brummer
5a4b966d9c Basic DAC Driver, implementation on stm32f4discovery 2014-11-25 22:37:32 +01:00
Leon George
437322b478 boards/stm32f4discovery: fix typo in comment for section 2014-11-25 21:35:52 +01:00
Hauke Petersen
4e7ed0b5eb board/spark-core: enabled C++ 2014-11-25 20:29:13 +01:00
Hauke Petersen
62d53f91b4 Merge pull request #2086 from mehlis/spark-core-fix-uart-freq
spark-core fix UART speed
2014-11-25 20:27:31 +01:00
Christian Mehlis
c7e949c277 Merge pull request #2073 from aep/master
nrf51: halt works better
2014-11-25 20:23:37 +01:00
Christian Mehlis
7ee1703d2d spark-core fix UART speed 2014-11-25 20:20:52 +01:00
Hauke Petersen
82f8bd9ab2 Merge pull request #2053 from thomaseichinger/samr21-features
boards/samr21-xpro: declare implemented features
2014-11-25 18:59:12 +01:00
Thomas Eichinger
b5071385db Merge pull request #2036 from haukepetersen/fix_openmote_cpp
boards: enable C++ for CC2538 based boards
2014-11-25 18:57:40 +01:00
Thomas Eichinger
57470eb77e Merge pull request #2065 from LudwigOrtmann/issue-392
license header + pattern cleanup
2014-11-24 10:36:16 +01:00
Arvid E. Picciani
88c3b8f914 nrf51: halt works better 2014-11-22 19:25:53 +01:00
Ludwig Ortmann
01800f15f5 cpu/board: update stale redbee license headers 2014-11-21 15:18:11 +01:00
Hauke Petersen
2220a9fab0 core/cpu/boards: removed fw_puts from RIOT 2014-11-21 13:09:02 +01:00
Hauke Petersen
467c6cf307 board/cc2538dk: enabled C++ support 2014-11-21 11:43:21 +01:00
Hauke Petersen
1607e3aefb board/openmote: enabled C++ support 2014-11-21 11:43:21 +01:00
Hauke Petersen
764207e02e board/mbed_lpc1768: heavy clean-up
- removed legacy code
- added default defines
- created periph_conf.h
2014-11-20 17:40:57 +01:00
Thomas Eichinger
23f8d2104f boards/samr21-xpro: declare implemented features 2014-11-20 15:02:23 +01:00
PeterKietzmann
6d091245a4 Initial import of i2c lowlevel driver for stm32f4 2014-11-20 14:46:13 +01:00
StefanPfeiffer
88eba292d0 Merge pull request #2035 from haukepetersen/fix_f4vi1_cpp
board/f4vi1: enabled support for C++
2014-11-20 13:03:24 +01:00
BytesGalore
54c6fe7431 Merge pull request #2033 from haukepetersen/fix_msbiot_cpp
board/msbiot: added support for C++
2014-11-19 21:26:42 +01:00
Hauke Petersen
58fffcb50f Merge pull request #2030 from haukepetersen/fix_nrf_cpp
boards: added C++ support for NRF51822 based boards
2014-11-19 15:59:42 +01:00
Hauke Petersen
00bbfe452a boards: enabled C++ for NRF51822 based boards 2014-11-19 15:40:28 +01:00
Ludwig Ortmann
adb24b06b8 native: add random peripheral implementation 2014-11-19 14:26:58 +01:00
Hauke Petersen
b4327e491c board/mbed_lpc1768: cleaned up Makefile.include 2014-11-19 11:17:56 +01:00
Oleg Hahm
73dddfb601 Merge pull request #1635 from thomaseichinger/import_agilefox
boards: initial import for HiKoB Agilefox
2014-11-18 19:44:24 +01:00
Hauke Petersen
cff1dfc32d Merge pull request #2034 from haukepetersen/fix_mbed_cpp
board/mbed_lpc1768: enabled C++ support
2014-11-18 19:43:42 +01:00
Hauke Petersen
6cb72c273d board/mbed_lpc1768: enabled C++ support 2014-11-18 19:23:19 +01:00
Hauke Petersen
3bdcf93996 board/f4vi1: enabled support for C++ 2014-11-18 18:41:01 +01:00
Hauke Petersen
af2711147b board/msbiot: added support for C++ 2014-11-18 18:20:06 +01:00
Hauke Petersen
fdbf6720c3 boards: enabled C++ for arduino-due and udoo 2014-11-18 18:11:25 +01:00
Thomas Eichinger
256ce73d2c boards: initial import for HiKoB fox 2014-11-18 17:24:47 +01:00
Hauke Petersen
594d9251c9 Merge pull request #1987 from BytesGalore/EasyCPPMixing_stm32f0discovery_support_fix
cpu/stm32f0 C++ stmf0discovery support fix
2014-11-17 18:21:19 +01:00
Hauke Petersen
d1e57faf34 Merge pull request #1994 from BytesGalore/EasyCPPMixing_samr21_xpro_support_fix
cpu/samd21 C++ samr21-xpro support fix
2014-11-17 18:20:50 +01:00
Martine Lenders
d4e651ad8b Merge pull request #2015 from LudwigOrtmann/native_real-accept
native: add missing syscall declarations
2014-11-17 17:40:32 +01:00
Hauke Petersen
bb347e0a30 Merge pull request #1989 from BytesGalore/EasyCPPMixing_stm32f3discovery_support_fix
cpu/stm32f3 C++ stm32f3discovery support fix
2014-11-17 11:21:04 +01:00
Ludwig Ortmann
acaa6481cb native: add more syscall declarations 2014-11-14 20:52:17 +01:00
Ludwig Ortmann
641cb4c488 native: add accept syscall declaration 2014-11-14 17:49:56 +01:00
BytesGalore
8060825c81 cpu/stm32f3: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
boards/stm32f3discovery: provided c++ feature (cpp)
2014-11-14 13:26:15 +01:00
BytesGalore
3154bc8bc5 cpu/stm32f0: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
boards/stm32f0discovery: provided c++ feature (cpp)
2014-11-14 13:25:02 +01:00
BytesGalore
ae3492b017 cpu/samd12: c++: initial support for c++, added _kill (weak) and weak attribute for _kill_r
boards/samr21-xpro: provided c++ feature (cpp)
2014-11-14 13:20:54 +01:00
Hauke Petersen
6b33ff1a31 Merge pull request #2004 from dangnhat/cpp_for_iot_lab_m3
iot-lab_m3: C++ support
2014-11-14 13:00:49 +01:00
BytesGalore
8c5418e9e5 initial support for c++ for this cpu/board 2014-11-14 11:19:34 +01:00
Pham Huu Dang Nhat
c7a1dede86 boards/iot-lab_M3: provided c++ feature 2014-11-14 16:55:49 +07:00
Thomas Eichinger
2382a4d320 native: fix Makefiles for OSX 2014-11-13 16:00:52 +01:00
Thomas Eichinger
1831bd8a47 Merge pull request #1996 from OlegHahm/iot-lab_m3-no_device_desc
iot-lab_M3: flashing works fine w/o device_desc
2014-11-12 15:47:07 +01:00
Hauke Petersen
a3061bccc2 Merge pull request #1827 from haukepetersen/fix_nrf_timer
cpu/nrf51822: fixed timers
2014-11-12 13:21:44 +01:00
Hauke Petersen
edea23299b boards: added CLOCK defines to NRF based boards 2014-11-12 13:17:41 +01:00
Oleg Hahm
32638bb3fc iot-lab_M3: flashing works fine w/o device_desc 2014-11-11 16:45:50 +01:00
Thomas Eichinger
290ff80677 Merge pull request #1981 from locicontrols/update-cca
boards/cc2538dk: allow the application's makefile to override UPDATE_CCA
2014-11-11 16:05:31 +01:00
Hauke Petersen
ee3e9dd3bc Merge pull request #1482 from haukepetersen/fix_sam3x_finished_uart
cpu/sam3x: completed low-level UART driver
2014-11-11 15:25:22 +01:00
Hauke Petersen
dc79675888 cpu/sam3x8e: made UART0 work by editing syscalls 2014-11-11 13:05:43 +01:00
Hauke Petersen
778d00b629 board/udoo: added missing UART defines
- added defines to periph_conf.h
- added UART feature to Makefile.features
2014-11-11 13:05:43 +01:00
Hauke Petersen
83b43a892c Merge pull request #1991 from haukepetersen/fix_artuinodue_periphconf
board/arduino-due: removed newlines in periph_conf
2014-11-11 13:05:20 +01:00
Hauke Petersen
3b193b99b5 board/arduino-due: added missing UART defines
- added port defines to periph_conf.h
- added feature to Makefile.features
2014-11-11 13:05:02 +01:00
Hauke Petersen
cab402b62e board/udoo: added RNG configuration 2014-11-11 11:46:49 +01:00
Hauke Petersen
131c3cb35b board/arduino-due: removed newlines in periph_conf 2014-11-11 11:44:12 +01:00
BytesGalore
178b36ae0b exchanged BOARD_BLACKLIST with FEATURES_REQUIRED in the example Makefile
added cpp as feature for board native
2014-11-11 09:52:06 +01:00
Ian Martin
93290ddec1 boards/cc2538dk: allow the application's makefile to override the UPDATE_CCA parameter, for example:
CFLAGS += -DUPDATE_CCA=0
2014-11-10 14:14:46 -05:00
Oleg Hahm
39abba1bc2 licenses: fix miss-spelled & missing boiler plates 2014-11-10 18:59:55 +01:00
Hauke Petersen
cbb9939f1d Merge pull request #1955 from haukepetersen/fix_stm32f0_addfeatures
cpu/stm32f0: added missing features to Makefile
2014-11-06 16:23:55 +01:00
Hauke Petersen
b30bdc09ce cpu/stm32f0: added missing features to Makefile 2014-11-06 15:41:24 +01:00
Thomas Eichinger
6bbc4ca226 shell: provide shell commands to poll lsm303dlhc sensor 2014-11-06 11:28:22 +01:00
Hauke Petersen
4555b9ea7a board/iot-lab_M3: added definitions for L3G4200D 2014-11-06 10:36:22 +01:00
Oleg Hahm
18b32f4fcd iot-lab_M3: complement stdio documentation 2014-11-05 20:21:49 +01:00
Oleg Hahm
ba291cc1f9 iot-lab_M3: don't overwrite a custom baud rate 2014-11-05 20:21:49 +01:00
Oleg Hahm
d518c07135 iot-lab_M3: set baud rate to 500 kbaud
The IoT-Lab testbed requires a baud rate of 500 kbaud to use UART.
Hence, this commit sets the default baud rate to this value and adapt
the `make term` target accordingly.
2014-11-05 20:19:21 +01:00
Hauke Petersen
d396f1f0c2 board/iot-lab_M3: configured GPIOs correctly 2014-11-05 16:15:15 +01:00
Thomas Eichinger
88fce936e9 lsm303dlhc: initial import of lsm303dlhc driver
TODO: Accelerometer does not return valid values yet
2014-11-05 13:04:47 +01:00
Hauke Petersen
d372d50f5e board/iot-lab_M3: added I2C ISR defines 2014-11-04 21:07:14 +01:00
Hauke Petersen
9cc5e1056a boards: adjusted TIMER_0 defines for NRF based b.
adjusted for
- pca10000
- pca10005
- yunjia-nrf51822
2014-11-04 18:18:23 +01:00
Hauke Petersen
0f513e3615 Merge pull request #1933 from StefanPfeiffer/add_board_f4vi1
board: added support for f4vi1
2014-11-04 17:05:51 +01:00
Hauke Petersen
92af70e8ec Merge pull request #1931 from thomaseichinger/stm32f1-cpuid
cpu/stm32f1: fixes for the cpuid driver
2014-11-04 16:22:07 +01:00
Stefan Pfeiffer
a19d6c769d added new board f4vi1 2014-11-04 16:02:25 +01:00
Thomas Eichinger
76d0d6c4a2 cpu/stm32f1: fixes for the cpuid driver 2014-11-04 13:11:30 +01:00
Hauke Petersen
1126128ea9 Merge pull request #1896 from mehlis/add_board_airfy_beacon
added board airfy beacon
2014-11-04 12:56:58 +01:00
René Kijewski
9d74d6b1ad Merge pull request #1926 from mehlis/fix-readlink
OSX: fix readlink call
2014-11-03 00:56:45 +01:00
Christian Mehlis
2114a8267d added board airfy beacon 2014-11-02 18:26:42 +01:00
Christian Mehlis
74b3c54a36 OSX: fix readlink call 2014-11-02 17:26:55 +01:00
Christian Mehlis
f3b1753ac7 added spark core board 2014-11-02 14:36:42 +01:00
Ludwig Ortmann
2117737302 Merge pull request #1806 from BytesGalore/extern_C_in_headers_boards
boards: add `extern "C"` to header files
2014-10-31 04:25:15 -07:00
BytesGalore
fc56535dd3 boards: add extern "C" to header files 2014-10-31 11:27:59 +01:00
Ludwig Ortmann
2c9c8bf2e0 make: remove dependency from flash to all
* print message when no hex file is found instead
* add objcopy for native so that flash can succeed
2014-10-31 10:31:47 +01:00
Oleg Hahm
fce3a2243e Merge pull request #1846 from thomaseichinger/at86rf23x
drivers/at86rf231: refactoring of the at86rf231 radio driver
2014-10-31 09:33:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
4b68b9e547 lint: fix redundantAssignment warnings
SQUASH ME: redundantAssignment (remove FAT stuff)

SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Hauke Petersen
9ba48e409f Merge pull request #1916 from mehlis/yunjia-rm-unused-file
yunjia: rm unused file
2014-10-30 23:41:00 +01:00
Christian Mehlis
7ebeab48da yunjia: rm unused file 2014-10-30 23:39:47 +01:00
Oleg Hahm
3c0d91720b Revert "boards: introduced a HAS_RADIO define"
This reverts commit 4238f40429.
2014-10-30 23:13:52 +01:00
Thomas Eichinger
dfb1b56fad drivers/at86rf231: refactoring of the at86rf231 radio driver
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
2014-10-30 22:35:00 +01:00
Christian Mehlis
3e5cfaece3 Merge pull request #1555 from haukepetersen/fix_nrf_uartdriver
cpu/nrf51822: added interrupt mode to UART driver
2014-10-30 22:33:22 +01:00
Thomas Eichinger
a2d7b5abd6 Merge pull request #1909 from locicontrols/cc2538dk-jlink
boards/cc2538dk: Support flashing and debugging using the SEGGER JLink.
2014-10-30 22:28:10 +01:00
Hauke Petersen
32e8415c7c boards: added missing STD_RX_BUFSIZE defines
added for:
- pca10000
- pca10005
- yunjia-nrf51822
2014-10-30 21:51:31 +01:00
Hauke Petersen
4a5e794f32 boards: fixeded UART defines for NRF borads
fixed for pca10000, pca10005, yunjia-51822
2014-10-30 21:51:31 +01:00
Thomas Eichinger
44dcd0e631 Merge pull request #1817 from haukepetersen/add_driver_lps331ap
drivers: added driver for LPS331AP pressure sensor
2014-10-30 21:05:50 +01:00
Hauke Petersen
d31ed0f85b board/iot-lab_M3: added interface for LPS331AP 2014-10-30 20:24:51 +01:00
Ian Martin
6170d10bd4 boards/cc2538dk: Support flashing and debugging using the SEGGER JLink. 2014-10-30 14:44:05 -04:00
Hauke Petersen
56911ed01c Copy SEGGER JLink scripts from boards/openmote to boards/cc2538dk. 2014-10-30 14:43:39 -04:00
Oleg Hahm
313d5b4e56 doc: added and fixed some copyright boilerplates 2014-10-30 19:30:14 +01:00
Oleg Hahm
1548f93e76 Merge pull request #1906 from OlegHahm/has_radio_board_define
boards: introduced a HAS_RADIO define
2014-10-30 17:59:50 +01:00
Oleg Hahm
4238f40429 boards: introduced a HAS_RADIO define 2014-10-30 17:52:37 +01:00
Thomas Eichinger
baf147f4b6 Merge pull request #1899 from Lotterleben/rm_debug_mbed_lpc1768_hwtimer
boards/mbed_lpc1768: disable DEBUG by default
2014-10-30 17:24:00 +01:00
Hauke Petersen
fea597be24 Merge pull request #1897 from PeterKietzmann/add_udoo_spi
boards/udoo: added peripheral SPI definitions
2014-10-30 14:40:40 +01:00
PeterKietzmann
590b6f86d4 Enable SPI for udoo boards 2014-10-30 14:19:40 +01:00
Hauke Petersen
c6ff2d3faa board/stm32f4discovery: added ADC feature 2014-10-30 14:05:39 +01:00
Lotte Steenbrink
c4538cacd0 boards/mbed_lpc1768: disable DEBUG by default
Set ENABLE_DEBUG from (1) to (0)
2014-10-30 02:25:44 -07:00
Ludwig Ortmann
07d9dc4448 boards/avsextrem: remove configure.h, it's unused 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
ff2ca855fa boards/avsextrem: purge FEUERWARE_CONF_SUPPORTS_FILES 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
f30ce433fc board/avsextrem, cpu/lpc2387: purge FEUERWARE_CONF_CPU_NAME 2014-10-28 18:04:26 +01:00
Ludwig Ortmann
b397cbfd5a boards/avsextrem: purge FEUERWARE_CONF_CORE_SUPPORTS_FILES 2014-10-28 18:04:25 +01:00
Ludwig Ortmann
0923203d8b boards/avsextrem: purge FEUERWARE_CONF_BOARD_NAME 2014-10-28 18:04:25 +01:00
Ludwig Ortmann
d78c101b08 Merge pull request #1880 from fnack/cc110x_rename
drivers/cc110x: rename driver to cc110x_legacy_csma
2014-10-28 09:54:41 -07:00
Ludwig Ortmann
1fc5bd46a2 Merge pull request #1879 from Kijewski/issue-1876
make: fix `FEATURES_REQUIRED` and `FEATURES_PROVIDED` a bit
2014-10-28 08:23:59 -07:00
Fabian Nack
53b0ad2be5 drivers - cc110x: rename cc110x to cc110x_legacy_csma 2014-10-28 16:18:50 +01:00
Ludwig Ortmann
975412e16d boards, sys: purge feuerware_radios
* `feuerware_radios` is unused, remove from `radio.h` header
* FEUERWARE_CONF_NUM_RADIOS is superfluous without it, remove all occurrences
2014-10-27 14:49:25 +01:00
René Kijewski
765c88d08a make: allow drivers to implement features
This change allows drivers (or any module for that matter) to provide
features. This is e.g. useful if a board does not have a transceiver,
but your application uses `USEMODULE += some_driver`, which implements
the transceiver interface.

The line `FEATURES_PROVIDED += some_feature` should go to the guarded
block in `{sys,drivers}/Makefile.include`.
2014-10-26 23:54:10 +01:00
Hauke Petersen
e6e37e0371 Merge pull request #1864 from haukepetersen/add_board_openmote
boards: added support for OpenMote
2014-10-24 16:50:29 +02:00
Oleg Hahm
c33e1b5dad Merge pull request #1844 from OlegHahm/doxygen_cleanup
Doxygen cleanup
2014-10-24 16:04:01 +02:00
Hauke Petersen
a0ac86ed16 boards: added support for OpenMote 2014-10-24 15:34:12 +02:00
Hauke Petersen
9051c7be4b Merge pull request #1861 from haukepetersen/fix_cc2538_irqvector
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:40:10 +02:00
Hauke Petersen
eee159ee74 board/cc2538dk: made ISR functions configurable 2014-10-24 14:00:53 +02:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +02:00
Oleg Hahm
3092416a0a doc: add names to pca1000x boards 2014-10-23 20:53:00 +02:00
Oleg Hahm
31b83e8753 doc: rename iot-lab_M3 group name 2014-10-23 20:53:00 +02:00
Oleg Hahm
481d4f2ee3 doc: fix ambiguous file name warnings
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
2014-10-23 20:53:00 +02:00
Ludwig Ortmann
dd379220e7 Merge pull request #1851 from authmillenon/native-debug-args
make: initialize debugger with TERMFLAGS
2014-10-23 01:17:12 -07:00
5146c66786 core: adapt to msg_try_send 2014-10-22 12:37:33 +02:00
Martine Lenders
b3f59eec65 make: initialize debugger with TERMFLAGS 2014-10-21 19:49:00 +02:00
Ludwig Ortmann
d17b7730f5 Merge pull request #1833 from OlegHahm/dont_overwrite_linkflags
make: don't overwrite LINKFLAGS
2014-10-18 07:46:14 -07:00
Ludwig Ortmann
a29a9ced27 boards + cpu: atmega2560: fix non-existent GPIO 2014-10-18 07:40:27 +02:00
Oleg Hahm
559b072a59 make: don't overwrite LINKFLAGS
Fix the boards' Makefiles were a potentially set LINKFLAGS variable were
overwritten.
2014-10-17 22:39:45 +02:00
Ludwig Ortmann
a20e287a96 make: introduce and use periph_cpuid feature 2014-10-16 19:35:41 +02:00
Ludwig Ortmann
4cafe7c5a9 make: introduce and use periph_rtt feature 2014-10-16 19:35:41 +02:00
Ludwig Ortmann
3b52057fe5 make: introduce and use periph_random feature 2014-10-16 19:35:41 +02:00
Ludwig Ortmann
b3ecfd0a6e make: introduce and use periph_pwm feature 2014-10-16 19:35:41 +02:00
Hauke Petersen
c4d908b66b board/iot-lab_M3: added ISL29020 interface defs 2014-10-15 14:54:07 +02:00
Hauke Petersen
5b842e619a board/iot-lab_M3: added features 2014-10-15 14:50:19 +02:00
Hauke Petersen
2c1d65efd5 board/iot-lab_M3: added I2C device definitions 2014-10-15 14:50:19 +02:00
Ludwig Ortmann
92079312e2 make: introduce and use periph_spi feature 2014-10-13 18:18:19 +02:00
Thomas Eichinger
ecae75a1ab Merge pull request #1697 from locicontrols/cc2538
Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit.
2014-10-13 16:58:41 +02:00
Ian Martin
0605a7eb95 Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit. 2014-10-13 09:29:49 -04:00
Thomas Eichinger
86c85d86e8 Merge pull request #1756 from thomaseichinger/welq-fix
cpu/stm32f: boards/iot-lab_M3: cleanup and fixes
2014-10-13 11:58:46 +02:00
Christian Mehlis
668ce1df1f Merge pull request #1722 from haukepetersen/fix_nrf_leds
boards: added LED macro for pca1000 & yunjia-nrf
2014-10-11 16:25:52 +02:00
Thomas Eichinger
19db6ded85 cpu/stm32f1:board/iot-lab_M3: fix and cleanup for GPIO low level driver 2014-10-10 11:42:08 +02:00
Thomas Eichinger
a16d326bf0 stm32f1: implement RTT driver 2014-10-09 11:13:06 +02:00
Hauke Petersen
09cb367ac2 Merge pull request #1779 from thomaseichinger/stm32f1-flashing
boards/iot-lab_M3: change to openocd's new ftdi interface
2014-10-09 11:09:02 +02:00
Martine Lenders
264785852e nativenet: Supply net_dev_t support for nativenet 2014-10-09 09:40:58 +02:00
Thomas Eichinger
e455664cfc boards/iot-lab_M3: change to openocd's new ftdi interface
Openocd communication was done over a deprecated interface definition,
namely ft2232. Using the new ftdi interface speeds up flashing and
doesn't throw warnings anymore.
2014-10-08 13:49:03 +02:00
PeterKietzmann
695c34a201 boards: Implement SPI definitions for arduino-due 2014-10-08 12:20:23 +02:00
Thomas Eichinger
4c60c56bb3 boards/iot-lab_M3: fix PORT 2014-10-07 12:33:30 +02:00
Jelmer Tiete
1258183791 Add the latest cc2538-bsl script from https://github.com/JelmerT/cc2538-bsl/commit/f3701a0 2014-10-06 15:30:24 -04:00
Ludwig Ortmann
6262c4427e make: add gpio feature 2014-10-06 18:55:54 +02:00
René Kijewski
f49bd3e660 make: add Makefile.features telling the BOARDs' features
Please see #1715.
Closes #1715.

This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:

```make
FEATURES_PROVIDED = transceiver
```

An application can have a corresponding line

```make
FEATURES_REQUIRED = transceiver
```

If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.

This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module
"defaulttransceiver".

`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.

Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
  `\setminus` the provided features. The output is empty if there are no
  features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
  but as a table for all boards, but heeded `BOARD_WHITELIST` and
  `BOARD_BLACKLIST`.

Applications don't have to use this new feature. This change does not
break existing Makefile.
2014-10-06 17:42:11 +02:00
René Kijewski
e9c369e2d7 redbee-econotag: don't print noisy warning 2014-10-06 17:34:35 +02:00
Hauke Petersen
bb94394784 board/iot-lab_M3: fixed default terminal device 2014-10-06 15:40:18 +02:00
Martine Lenders
ec24fbd6dc Merge pull request #1751 from LudwigOrtmann/native_syscalls_p2
native: add two more syscall declarations
2014-10-01 22:14:15 +02:00
Ludwig Ortmann
b849b848a0 native: add two more syscall declarations 2014-10-01 21:56:43 +02:00
Thomas Eichinger
fccfce2d59 stm32f1: implement 32bit hwtimer by cascading two timers 2014-10-01 20:54:14 +02:00
Hauke Petersen
26dfa7c89c Merge pull request #1464 from PeterKietzmann/stm32f4_spi_driver
Initial Stm32f4 spi driver
2014-09-30 13:40:01 +02:00
PeterKietzmann
d481af752f initial import of stm32f4discovery spi low-level driver 2014-09-30 13:18:27 +02:00
Hauke Petersen
25c891ecdd Merge pull request #1736 from haukepetersen/fix_stm32f1_somecleanup
board/iot-lab_M3: cleanup of SPI and radio driver
2014-09-30 12:02:42 +02:00
Hauke Petersen
a990217a54 board/iot-lab_M3: added clock config to periph_conf 2014-09-30 11:26:00 +02:00
Hauke Petersen
ae066f60d8 board/iot-lab_M3: cleanup of AT86RF231 driver
- removed board specific code
- added interface definitions to board.h
2014-09-30 11:19:23 +02:00
Hauke Petersen
af1e012efc board/iot-lab_M3: cleaned up SPI in periph_conf.h 2014-09-30 11:19:16 +02:00
Ludwig Ortmann
f539f30691 Merge pull request #1698 from Kijewski/ssize_t-for-all
core: Provide ssize_t in a common place
2014-09-27 00:26:34 -07:00
Hauke Petersen
0651020547 boards: added LED macro for pca1000 & yunjia-nrf 2014-09-26 17:50:27 +02:00
Ludwig Ortmann
99760f3825 Merge pull request #1696 from N8Fear/mega2560-debug
boards:mega2560: add debug and debug-server targets
2014-09-26 06:43:36 -07:00
Hinnerk van Bruinehsen
17fe3f4348 boards:mega2560: add debug and debug-server targets 2014-09-26 15:09:37 +02:00
Thomas Eichinger
d0b0af6d81 stm32f*: rename STDIO buffer and enable getchar with UART0 2014-09-26 14:16:59 +02:00
Thomas Eichinger
c83e4cb361 stm32f1: unify UART0 use 2014-09-26 14:16:59 +02:00
Thomas Eichinger
aefa818338 stm32f4: be UART0 aware 2014-09-26 14:16:31 +02:00
Thomas Eichinger
8fc2e61e20 stm32f0: be UART0 aware 2014-09-26 14:16:31 +02:00
René Kijewski
866c713a7e native: -DNATIVE_INCLUDES if using NATIVEINCLUDES
It can be useful to know if the current compilation builds the native
board module, because e.g. then we must not include `sys/types.h`.

This diff adds `-DNATIVE_INCLUDES` to the make variable
`NATIVEINCLUDES`.
2014-09-26 13:59:37 +02:00
Thomas Eichinger
1c150cee18 Merge pull request #1701 from thomaseichinger/samr21
cpu/board: Initial import of samr21-xpro
2014-09-25 15:48:06 +02:00
Hauke Petersen
5fd6c265f6 Merge pull request #1622 from haukepetersen/fix_pca_sripts
board/pca1000x: added/fixed dist scripts
2014-09-25 15:02:33 +02:00
Thomas Eichinger
bf256f63a3 samr21-xpro: initial import for the samr21-xpro board 2014-09-25 14:37:47 +02:00
Hauke Petersen
934eb44c13 Merge pull request #1488 from haukepetersen/add_stm32f0_spi
board/cpu: added SPI driver for the stm32f0discovery
2014-09-25 11:59:11 +02:00
Oleg Hahm
9b4d22aaa0 pyterm: make pin toggling optional
For the MSB-A2 the DTR and RTS pins have to be pulled down over the
serial interface in the beginning. (This is required because the Linux
usbserial driver pulls them up when initializing the device which set
the node into reset mode.) Since this is not necessary on most other
platforms and might even cause problems, it's better to make this an
optional behavior of pyterm.
2014-09-24 17:05:36 +02:00
Hauke Petersen
cdb335e21d [SQUASH ME] stm32f0: substantial fixes to SPI driver 2014-09-24 15:41:48 +02:00
Hauke Petersen
ff4854341a [SQUASH ME] finished 0.1 of spi driver 2014-09-24 15:41:47 +02:00
Hauke Petersen
c494e3ab09 board/cpu: added SPI driver for stm32f0discovery 2014-09-24 15:41:47 +02:00
Hinnerk van Bruinehsen
567ebf987f lint: limit maximum length of input via scanf 2014-09-19 23:31:26 +02:00
Christian Mehlis
a6ff40b6d7 iot-lab_M3: fix numof uart 2014-09-19 17:12:38 +02:00
Hauke Petersen
34aaa61eb0 Merge pull request #1486 from haukepetersen/fix_sam3x_finish_gpio
cpu/boards: completed GPIO driver for sam3x8e
2014-09-19 13:21:09 +02:00
Hauke Petersen
905283131b board/yunjia-nrf5182: adjusted openocd.cfg 2014-09-19 12:46:19 +02:00
Ludwig Ortmann
d7cdc85758 Merge pull request #1677 from LudwigOrtmann/headers
doc: add license headers to some .h files
2014-09-18 10:47:30 -07:00
Hauke Petersen
50ba74b7dc cpu/boards: completed GPIO driver for sam3x8e
- adjusted peripheral conf for udoo and arduino-due
- added gpio_init_int()
- added interrupt service routines
- fixed gpio_read()
- added clock enable for gpio_init_in()
2014-09-18 18:29:02 +02:00
Ludwig Ortmann
289c4c0ee4 doc: add license headers to some .h files 2014-09-18 17:45:11 +02:00
Hauke Petersen
8499a2c0ca board/pca1000x: small fixes to periph_conf.h files 2014-09-17 14:44:13 +02:00
Hauke Petersen
e0fec98477 boards: initial import of yunjia-nrf51822 board 2014-09-17 14:44:13 +02:00
Hinnerk van Bruinehsen
c85fa9789b boards: redbee: add missing semicolon 2014-09-16 19:57:08 +02:00
Thomas Eichinger
db95cff5cd iot-lab_M3: fixing term make target 2014-09-15 15:59:01 +02:00
Hinnerk van Bruinehsen
2faf813793 board/sys: move bounds check before array access 2014-09-14 01:56:11 +02:00
Hinnerk van Bruinehsen
bc0a05f19d boards: msba2-common tools: reduce scope 2014-09-13 19:47:58 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Thomas Eichinger
75adcb8d8b Merge pull request #1629 from thomaseichinger/iot-lab_debugger++
iot-lab_M3: extend debug target for iot-lab_M3
2014-09-04 20:01:12 +02:00
Ludwig Ortmann
3d29a9e3d3 native: add support for Linux on ARM 2014-09-04 16:39:33 +02:00
Fabian Nack
e8a33d58db board - msbiot: initial import for the msbiot 2014-09-02 15:45:32 +02:00
Thomas Eichinger
b505df23a5 SQUASHME: kill openocd by PID 2014-09-02 11:41:41 +02:00
Thomas Eichinger
8945768c91 iot-lab_M3: extend debug target for iot-lab_M3 2014-09-02 10:35:48 +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
Hinnerk van Bruinehsen
223e22ac1e board: arduino-mega2560: Initial import 2014-08-27 16:39:40 +02:00
Hauke Petersen
f4c68cf466 board/pca1000x: added/fixed dist scripts
- pca10000: added author to debug.sh
- pca10005: added debug and reset scripts
- pca10005: fixed flash script
- pca10005: adjusted env vars in Makefile.include
2014-08-27 15:15:20 +02:00
Ludwig Ortmann
fc0b0bcc29 Merge pull request #1608 from LudwigOrtmann/fixmorelicenseheaders
Fix more license headers
2014-08-26 13:48:59 +02:00
Thomas Eichinger
6f83609107 Merge pull request #1607 from haukepetersen/add_nrf_random
cpu/nrf51822: added random number generator driver
2014-08-25 14:51:18 +02:00
Hauke Petersen
4bec6390eb board/stm32f4discovery: enabled RNG driver 2014-08-25 13:54:29 +02:00
Ludwig Ortmann
502fd23558 Merge pull request #1570 from LudwigOrtmann/native-ssp
native: add stack smashing protection
2014-08-23 17:39:57 +02:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Hauke Petersen
ab38723558 board/pca1000[0|5]: enabled RNG peripheral 2014-08-23 13:28:31 +02:00
Ludwig Ortmann
db6d6ae95e native: add stack smashing protection
When `DEVELHELP` is defined, add `-fstack-protector-all`.
2014-08-23 10:56:39 +02:00
Ludwig Ortmann
ba59ecdaae native: fix and improve term-valgrind flags 2014-08-22 20:05:43 +02:00
Hauke Petersen
addfaefe8a Merge pull request #1598 from haukepetersen/add_nrf_rtt
cpu/board: added RTT driver for NRF51822
2014-08-22 02:13:43 +02:00
Martine Lenders
6c64144e22 Merge pull request #1558 from authmillenon/fix-termflags
make: Fix TERMFLAGS
2014-08-22 01:37:17 +02:00
Martine Lenders
248a8531a5 make: Fix TERMFLAGS
Sometimes boards/*/Makefile.include (e. g. in case of the msba2) gets included
twice somehow, leading the TERMFLAG to be set twice and faulty. This
fixes that.
2014-08-22 01:09:55 +02:00
Hauke Petersen
af78ba287b board/pca10000: enabled RTT timer in periph_conf.h 2014-08-22 00:41:15 +02:00
Thomas Eichinger
67fc424a76 boards:make: hardcode goodfet.bsl path in Makefile.include 2014-08-21 23:58:05 +02:00
René Kijewski
b22c2f4ab5 Merge pull request #1431 from Kijewski/wget-for-everyone-woooohooooo
make: centralize wget/curl & unzip/7z feature test
2014-08-21 21:23:30 +02:00
Hauke Petersen
ead29a12bb boards/arduino-due: enabled RNG driver 2014-08-21 20:18:02 +02:00
René Kijewski
639dae4a1d Merge pull request #1575 from Kijewski/use-sched_active_pid
all over the place: use sched_active_pid
2014-08-21 19:09:40 +02:00
René Kijewski
a70ee0f022 make: centralize wget/curl & unzip/7z feature test
With many open PRs that could benefit from loading SDKs when needed,
instead adding vast amounts of code to RIOTs master, this PR provides
the "functions" `$(DOWNLOAD_TO_STDOUT)`, `$(DOWNLOAD_TO_FILE)`, and
`$(UNZIP_HERE)`.

The first "function" takes one argument, the URL from where to download
the content. It is then piped to stdout. To be used e.g. with `tar xz`.

The second "function" taken two arguments, the destination file name,
and the source URL. If the previous invocation was interrupted, then the
download gets continued, if possible.

The last "function" takes one argument, the source ZIP file. The file
gets extracted into the cwd, so best use this "function" with
`cd $(SOME_WHERE) &&`.

The clumsy name `$(UNZIP_HERE)` is taken because the program "unzip"
takes the environment variable `UNZIP` as the source file, even if
another file name was given on the command line. The rationale for that
is that the hackers of "unzip" hate their users. Also they sacrifice
hamsters to Satan.
2014-08-21 19:07:52 +02:00
Thomas Eichinger
0e79a01cd2 stm32f1: SPI: implement speed setting properly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
6b43b3f587 stm32f1: implement new cpuid_get 2014-08-21 17:53:38 +02:00
Thomas Eichinger
c28aebf105 at86rf231: handle rx tx state changes correctly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
e59bc2eb9d iot-lab_M3: refactor at86rf231 driver 2014-08-21 17:53:37 +02:00
Thomas Eichinger
aaa2c2e8ba boards: initial import of iot-lab_M3 2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c cpu: initial import of stm32f1 2014-08-21 17:53:37 +02:00
Hauke Petersen
46a791fd95 board/pca10000: added make targets
- added `reset` target
- added `debug` target
- added `debug-server` target
- adjusted `flash` target
2014-08-21 15:47:10 +02:00
René Kijewski
2cb4166c3e all over the place: use sched_active_pid
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.

`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
2014-08-17 21:04:25 +02:00
Hauke Petersen
13894fa70c cpus: adjusted uart implementations for changed IF
- adjusted stm32f0
- adjusted stm32f3
- adjusted stm32f4
- adjusted sam3x8e
- adjusted nrf51822
2014-08-15 12:23:39 +02:00
Hauke Petersen
48eafe9912 board/stm32f3discover: fixed LED macros 2014-08-15 10:38:10 +02:00
Hauke Petersen
037820d6a6 board/cpu: adjusted uart driver implementations
for
- sam3x8e
- stm32f0
- stm32f4
- sam3x8e
- nrf51822
2014-08-11 15:08:20 +02:00
Oleg Hahm
1de5c2b4a0 fixed remaining variables to kernel_pid_t 2014-08-07 17:29:53 +02:00
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +02:00
Hauke Petersen
cc6ee1dc05 board/cpu: added pwm driver for stm32f4discovery 2014-08-07 16:15:39 +02:00
Hauke Petersen
9a90eae1ba cpu: adjusted pwm driver impl for lpc2387 2014-08-07 16:14:09 +02:00
René Kijewski
aed57f4fe6 x86: disable --gc-sections for Travis' sake
I could not reproduce the problem at home, but on Travis CI after
merging #1415 tests/unittest failed to execute for qemu-i386.

There is a crash early in the initialization, caused by a #PF. The
execution hangs afterwards (`cli; 0: hlt; jmp 1b`), and Travis kills
the execution after 10 minutes.
2014-08-06 15:23:11 +02:00
Oleg Hahm
bbdd93e9d3 make: msb-430 boards: added debug and debugserver targets 2014-08-05 22:52:51 +02:00
Hauke Petersen
9ced34a52d boards/stm32fXdiscovery: added debug-server target
added "make debug-server" target for
- stm32f0discovery
- stm32f3discovery
- stm32f4discovery
2014-08-05 22:52:51 +02:00
Ludwig Ortmann
1df6505db9 boards/cpu: fix some warnings 2014-08-05 18:52:26 +02:00
Ludwig Ortmann
27b28e70bf boards: fixup for pyterm renaming 2014-08-05 13:29:24 +02:00
epiktet
5784a15cdd boards/pca10005: squash added Support for Nordic Dev Kit p2 2014-08-04 13:42:07 +02:00
epiktet
c1993b1bf6 boards/pca10000: squash added support for Nordic Dev Kit p1 2014-08-04 13:42:07 +02:00
Ludwig Ortmann
a3d883f610 Merge pull request #1374 from OlegHahm/harmonize_pid
core: harmonizes the data type for the process ID
2014-08-01 17:14:47 +02:00
Oleg Hahm
cb85a901f2 pyterm: renamed pyterm.py to pyterm 2014-08-01 17:09:45 +02:00
Oleg Hahm
6340123558 make: introduced TERMFLAGS
Also added the missing -p flag for the new pyterm version where
necessary.
2014-08-01 17:09:45 +02:00
Oleg Hahm
983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Hauke Petersen
938c61a5a2 Merge pull request #1456 from haukepetersen/board_stm32f3discovery
board/cpu: Added support for the stm32f3discovery board and stm32f3 cpu
2014-07-31 23:55:05 +02:00
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +02:00
Hauke Petersen
c54594632f Merge pull request #1505 from haukepetersen/add_stm32f0_adc
cpu/board: added ADC driver for stm32f0discovery
2014-07-31 23:01:21 +02:00
Ludwig Ortmann
5fdce06b3b doc: use lgplv2.1-short license header instead of lgplv2-short-v1 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
73aa3739d2 doc: use lgplv2.1-short license header instead of lgplv2-short-v2 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
c40b281873 doc: use lgplv2.1-short license header instead of lgplv2-short-v3 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
1200c3bc46 doc: fix comment indentation 2014-07-31 22:57:19 +02:00
Oleg Hahm
8a337f3566 Merge pull request #1512 from cgundogan/remove_tabs_boards
converting tabs to spaces in boards (#1439)
2014-07-31 22:57:13 +02:00
Martine Lenders
107ef28705 Merge pull request #1470 from haukepetersen/add_stm32f4_adc
cpu/board: added ADC driver for stm32f4discovery
2014-07-31 22:56:41 +02:00
Cenk Gündoğan
7ca2e874e1 converting tabs to spaces in boards (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
'''find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;'''
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:34:28 +02:00
Hauke Petersen
94848cf57f board: Initial import of stm32f3discovery 2014-07-31 19:42:00 +02:00
Ludwig Ortmann
cee59dae23 lpc2k: unify Paul Stoffregen license headers 2014-07-31 18:58:06 +02:00
Hauke Petersen
b451de05e4 cpu/board: added ADC driver for stm32f4discovery 2014-07-31 17:51:01 +02:00
Hauke Petersen
3a45a062d1 cpu/board: added ADC driver for stm32f0discovery
- added ADC implementation for the stm32f0 cpu
- added ADC pin/device configuration for stm32f0discovery board
2014-07-31 17:04:48 +02:00
Philipp Rosenkranz
4d1ce32e66 avsextrem: use cc110x_ng as default transceiver driver 2014-07-30 22:18:23 +02:00
Ludwig Ortmann
b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Oleg Hahm
8076468cf4 Merge pull request #1474 from LudwigOrtmann/chronos_cleanup_display
boards/chronos: clean up display driver a bit
2014-07-29 15:34:43 +02:00
Hauke Petersen
20cb27d04d boards/udoo: cleanup in periph_conf.h
- removed unused defines
2014-07-28 17:22:35 +02:00
Hauke Petersen
11bb9d2627 boards/arduino-due: some cleanup
- added parenthesis for LED macros
- changed mapping for LED_* to LED_RED_*
- removed some old values from periph_conf.h
2014-07-28 17:22:22 +02:00
Kévin Roussel
d630eadca0 Merge pull request #1380 from rousselk/arduino-due-minor-fixes
Reset ARM Cortex-M3 MCUs before flashing
2014-07-28 14:13:03 +02:00
Ludwig Ortmann
3cda0369cb native: cleanup
fix style
fix some syscall declarations
reorder syscall declarations
init syscalls in dedicated function
substitute 1 with EXIT_FAILURE
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
c6bcc344ca native: uart reconnect buffer replay
When using socket stdio, add option to replay what has been written to
stdout while not connected (`-r`).

The implementation is to simply use the existing log file (which is
implicitly created when the option is used), and read from it until
EOF upon reconnect.

closes #476
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
fb205550a1 boards/chronos: clean up display driver a bit
reduce scope of variables
remove useless comments and spaces

saves 2 bytes =)
2014-07-27 12:51:22 +02:00
Kévin Roussel
904f313ade Reset udoo's MCU before flashing 2014-07-25 16:02:20 +02:00
Hauke Petersen
99ecd4839a board: Initial import of stm32f4discovery 2014-07-16 17:20:42 +02:00
Oleg Hahm
3cb339a0ee Merge pull request #1434 from OlegHahm/fix_txtsnd_ieee802.15.4
shell: prepare a rudimentary IEEE 802.15.4 packet
2014-07-16 16:08:26 +02:00
Oleg Hahm
344f702366 shell: prepare a rudimentary IEEE 802.15.4 packet
The transceiver module expects an `ieee802154_packet_t` instead of a
`radio_packet_t` if the device supports the IEEE 802.15.4 packet format.
This commit fixes the corresponding transceiver shell command for
`txtsnd` to set destination address (short address mode), payload, and
length accordingly.
2014-07-16 16:07:49 +02:00
Hauke Petersen
0a9f4ed6a3 board: Initial import of stm32f0discovery 2014-07-16 15:21:19 +02:00
Simon Gene Gottlieb
519ed7163c board/flash: changing flashrom_write signature
→ changing all flashrom_write() function to the same signature
	→ adding const keyword to signature
2014-07-14 02:11:38 +02:00
Ludwig Ortmann
df36f6304a native: remove stale TODOs and blank line
The values are quite OK.
2014-07-13 07:24:01 +02:00
Hauke Petersen
9001e0c2fb core: removed duplicated hwtimer_arch.h 2014-07-09 21:08:13 +02:00
Kévin Roussel
8cc7bd2da8 Merge pull request #1388 from rousselk/fix-z1-cc2420-txrx
boards/z1: fix cc2420_txrx function in CC2420 driver HAL
2014-07-09 09:17:59 +02:00
Oleg Hahm
6f96bd76b8 Merge pull request #1382 from Kijewski/qemu-i86-term-timeout
x86: increase timeout in qemu's term
2014-07-08 17:32:19 +02:00
Kévin Roussel
28c6481266 boards/z1: fix cc2420_txrx function in CC2420 driver HAL
When waiting for transmission (to CC2420) to be done,
we were wrongly waiting for UCBUSY bit to be set,
while one should actually wait for that bit to be cleared.
2014-07-08 17:28:16 +02:00
Kévin Roussel
bee4698158 boards/xx/driver_cc2420: fix race condition in CCA determination
Ensure that CS is active and IRQ disabled when querying CCA
on CC2420 (cc2420_get_cca() function).
Also do a little refactoring (renamed c variable into count,
and named the constant corresponding to RSSI "timeout").
2014-07-08 16:33:18 +02:00
René Kijewski
cb15b52d73 x86: increase timeout in qemu's term
Currently `boards/qemu-i386/dist/term.py` expects QEMU to connect in
less than 5 seconds, which is plenty on any user machine. Travis CI,
which we use without paying a cent, sometimes fails to start QEMU in
this is timeframe, though.

This PR increases the timeout to one minute.
2014-07-08 12:45:13 +02:00
Thomas Eichinger
65e240f950 Merge pull request #1223 from rousselk/cc2420-extended-driver
CC2420: modify&extend driver to comply with API described in 'radio_driver.h'
2014-07-08 12:33:47 +02:00
Kévin Roussel
e77a3b0e56 Correction of HAL for CC2420 on concerned boards 2014-07-08 11:46:14 +02:00
Kévin Roussel
fcd0a8027a Reset the SAM3X8E before flashing
so as to avoid some hangups in the flashing process
2014-07-08 10:45:37 +02:00
René Kijewski
54047c72d3 native: override INCLUDES w/ NATIVEINCLUDES
Currrently native overrides the object file targets, because it needs
the different include paths to interact with libc and the OS.

This PR simplifies their makefiles to only override the variable
INCLUDES, instead of overriding the targets.
2014-07-07 23:09:14 +02:00
Hauke Petersen
3f084b47ea boards: removed -lto flag and cleanup for udoo&arduino due 2014-07-03 15:23:34 +02:00
Hauke Petersen
fe818c5735 cpu - sam3x8e: added switch for newlib-nano specs 2014-07-01 23:16:57 +02:00
Thomas Eichinger
2989932fa8 boards: harmonise cc2420 isr
TelosB, wsn430-v14, Z1
2014-06-30 13:56:41 +02:00
Pham Huu Dang Nhat
f7398f61ff Changed RIOT/Makefile.include, Makefile.base, Makefile.cflags, and native/Makefile.include to compile C and C++ files. 2014-06-25 22:26:10 +07:00
René Kijewski
91318f5dfa x86: shutdown on LPM_POWERDOWN 2014-06-24 16:05:19 +02:00
René Kijewski
6ed3cf182b Merge pull request #1326 from Kijewski/make-parallel-dirs
make: refactor make system (parallelism, deduplication)
2014-06-24 15:54:53 +02:00
René Kijewski
ceb8ea2a3f x86: fix up make term for x86
When qemu-i386 shuts down the instance on its own accord, like in the
hello-world example, then the terminal is broken afterwards.

This PR ensures that the terminal flags are restored on shutdown.
2014-06-23 18:02:16 +02:00
René Kijewski
2ae0c1b149 make: use abspath for better error messages 2014-06-23 15:50:10 +02:00
René Kijewski
a9a76cb2c2 make: create dependencies as side effect 2014-06-23 15:50:10 +02:00
René Kijewski
c9c1f0d7fe Merge pull request #1258 from Kijewski/x86-term
x86: add proper terminal for qemu-i386
2014-06-23 15:28:27 +02:00
Hauke Petersen
749d6a7446 Merge pull request #1318 from haukepetersen/msba2_pwm
cpu: added low-level PWM driver for the lpc2387
2014-06-22 13:07:48 +02:00
Ludwig Ortmann
741d9beeb0 Merge pull request #1332 from Kijewski/native-fix-warnings-in-default
native: remove some warnings about undef functions
2014-06-19 17:28:16 +02:00
René Kijewski
6a75a14ce5 x86: garbage collect section if not debugging 2014-06-19 12:35:10 +02:00
René Kijewski
a0985e8819 x86: add proper terminal for qemu-i386
This includes GNU readline features and debugging.

Build with `make BOARD=qemu-i386 all-debug`.
Run with `make BOARD=qemu-i386 term`.

Debug with `make BOARD=qemu-i386 debug`. The default debugger is `gdb`.
Also supported are `debug-tui` (GDB Text User Interface), `debug-kdbg`,
and `debug-ddd`. Set a breakpoint in e.g. "startup" or "main", and
hit/write "continue".

The debugger can only run with a quite new toolchain (e.g. Debian
testing). Ubuntu 13.10. for example will likely report a crash in GDB
when switching from 16bit code to 32bit code.
2014-06-19 12:35:10 +02:00
Oleg Hahm
0d6e991e52 Merge pull request #1254 from Kijewski/x86-newlib-nicer-patches
x86: slightly better debuggable bincode
2014-06-19 00:14:43 +02:00
Martine Lenders
6d1365c5d8 Merge pull request #1324 from Kijewski/make-automatic-module-name
make: much less clutter for "standard layout" modules
2014-06-18 23:52:49 +02:00
René Kijewski
2f871ca885 native: remove some warnings about undef functions
This PR implements `real_X` for `X in (fork, dup2, unlink, execve)`.
These function caused warnings while making the default example.
2014-06-18 20:34:12 +02:00
René Kijewski
467b41ad49 make: easifier usage of module subdirectories
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:

```make
DIRS = …

all: $(BINDIR)$(MODULE).a
   @for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;

include $(RIOTBASE)/Makefile.base

clean::
   @for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```

This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +02:00
Ludwig Ortmann
289b63c06f dist/tools: add license checker
Creates file structure that maps files to licenses by grepping for
license patterns (patterns for licenses found in RIOT included).
Sets exit code to 1 if an unknown license header is detected.
2014-06-17 10:17:20 +02:00
Hauke Petersen
942a21d9c4 board - pttu: added periph_conf.h 2014-06-12 13:06:59 +02:00
René Kijewski
1608fd1570 make: remove local definitions of (ELF|HEX)FILE
We have sane defaults for `ELFFILE` and `HEXFILE` in the root
`Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's
`Makefile.include` was wrong, which caused e.g. `make buildsize` to
fail.
2014-06-12 10:12:49 +02:00
Hauke Petersen
b588d48a63 boards: added periph_conf.h for msba2 and avsextrem 2014-06-11 19:54:21 +02:00
Ludwig Ortmann
dbc36fc2c5 native: add id option 2014-06-06 16:30:54 +02:00
René Kijewski
5f30789c30 x86: Use 'versioning' for precompiled newlib 2014-06-06 15:38:54 +02:00
René Kijewski
ee02a0f654 x86: fix download script for OSX
Mac OSX does not have `wget`, but `curl`.
It does not understand `tar xJ`, but `tar xj`.
2014-06-03 22:36:00 +02:00
Ludwig Ortmann
1e5e19bc23 native: set optional path with unix socket option
fixes #1045
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
4ddc9539fd documentation: unified descriptive text for boards 2014-05-24 15:03:06 +02:00
Oleg Hahm
4f645ecf36 documentation: fix doxygen group for Z1 2014-05-19 10:45:17 +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
Kévin Roussel
988de6b2cd Merge pull request #893 from rousselk/z1-port
Zolertia Z1 port for RIOT OS
2014-05-16 12:08:56 +02:00
Kévin Roussel
2a3033b3ca boards/z1: initial import 2014-05-16 11:02:06 +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
2c5c177f75 native: unify license headers 2014-05-15 18:07:17 +02:00
Jan S
ba907471f3 fixed printf specifiers 2014-05-15 17:42:57 +02:00
René Kijewski
a68f4f2d75 Merge pull request #1177 from LudwigOrtmann/issue-1118
native: initialize maybe uninitialized variable
2014-05-15 14:56:37 +02:00
Hauke Petersen
1c6b021d11 board: Initial import of the UDOO board
- fixed comment style and bracketing
- disabled newlib nano, added mac support
- fixed OSX compatibility in Makefile.include
2014-05-15 11:52:54 +02:00
Thomas Eichinger
c6bf3f1ab1 boards: fix license headers to LGPL
harmonises license headers in msb-430, msba2-common,
msba2 and wsn430-common

fixes #1160
2014-05-15 09:04:09 +02:00
Ludwig Ortmann
d7b3d21bfe native: initialize maybe uninitialized variable
fixes #1118
2014-05-15 08:54:01 +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
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
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
Ludwig Ortmann
088b15783b license: %s/FeuerWare/RIOT/g 2014-05-13 17:10:48 +02:00
René Kijewski
628419eb11 Exterminate old-style function declaration/prototypes 2014-05-12 21:57:09 +02:00
René Kijewski
9a9caf2c68 Exterminate old-style function definitions 2014-05-12 21:57:09 +02:00
Ludwig Ortmann
cffda42f87 make/msba2-common: allow TERMPROG override 2014-05-12 15:44:58 +02:00
f8bbabd201 msba2: add pseudoterm license 2014-05-10 11:02:25 +02:00
Ludwig Ortmann
e4e3ef4daf make/native: remove -gc flag
Yields warning on OSX.
Uncertain why it was there in the first place.

Fixes #1125
2014-05-09 12:23:34 +02:00
Hauke Petersen
7545eff784 core/cpu/board: moved F_CPU define to board 2014-05-06 10:36:09 +02:00
René Kijewski
a8064fd97c Automatically remove dups in $(USEMODULE) 2014-04-29 00:06:19 +02:00
René Kijewski
4c66f72ba3 Merge pull request #1022 from LudwigOrtmann/issue_505
native: update support for FreeBSD
2014-04-26 15:51:54 +02:00
Thomas Eichinger
d89faccc78 Merge pull request #1031 from LudwigOrtmann/issue_676
redbee-econotag: fix maca
2014-04-24 10:19:22 +02:00
Ludwig Ortmann
b089798bf9 native/make: add missing target 2014-04-22 16:53:08 +02:00
Ludwig Ortmann
42aa3d9f5b native: update support for FreeBSD
works with FreeBSD 10.0 amd64/i386

fixes: #505
2014-04-20 07:31:40 +02:00
Ludwig Ortmann
b22f0e6a09 native/make: set all binutils with ?= instead of = 2014-04-20 07:28:21 +02:00
Ludwig Ortmann
361ad4b338 fix setsvar typo 2014-04-18 16:15:08 +02:00
René Kijewski
542a2e5d9d Merge pull request #995 from Kijewski/issue-993
Make: exterminate 'clean' buildtarget clutter
2014-04-18 16:11:15 +02:00
Ludwig Ortmann
3a1980af36 redbee-econotag: fix maca
I suspect that the transceiver will still not work as there are many
many warnings, but at least it builds now.

closes: #676
2014-04-18 16:05:23 +02:00
Oleg Hahm
4797560c09 wsn430-v1_4b: don't always link cc2420 2014-04-10 22:33:33 +02:00
René Kijewski
300d6b3e35 Make: exterminate 'clean' buildtarget
Closes #993.

We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.

This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +02:00
Ludwig Ortmann
9f24ae2e62 Merge pull request #946 from Kijewski/native-write
native: don't use RIOT read/write in UART
2014-04-09 18:17:09 +02:00
Oleg Hahm
fd7217b173 Merge pull request #915 from rousselk/radio-cca
Add a standard way to query CCA status on CC2420 transceiver.
2014-04-09 16:45:20 +02:00
Ludwig Ortmann
b9ffc1a99e fixup for #710: use subfolder in bin dirs (native)
Update native Makefiles to provide changed object target paths
Fixes #989
2014-04-09 15:25:05 +02:00
Kévin Roussel
7f4c8f8938 Fix for WSN430 1.4 driver 2014-04-09 13:00:00 +02:00
Kévin Roussel
7de076efb2 Fixed error caused by non-inclusion of cc2420_txrx() prototype 2014-04-09 10:33:41 +02:00
René Kijewski
3f59eefbaf Use subfolders in bin dir
Creating all object files in one directory is bound to produce name
clashes. RIOT developers may take care to use unique file names, but
external packages surely don't.

With this change all the objects of a module (e.g. `shell`) will be
created in `bin/$(BOARD)/$(MODULE)`.

I compared the final linker command before and after the change. The
`.o` files (e.g. `startup.o`, `syscall.o` ...) are included in the same
order. Neglecting the changed path name where the `.o` files reside, the
linker command stays exactly the same.

A major problem could be third party boards, because the location of the
`startup.o` needs to the specified now in
`boards/$(BOARD)/Makefile.include`, e.g.
```Makefile
export UNDEF += $(BINDIR)msp430_common/startup.o
```
2014-04-09 00:28:14 +02:00
Oleg Hahm
1e9a43d0f8 Merge pull request #778 from LudwigOrtmann/dependency_files
Make: Prepend path to dependency info files with sed
2014-04-08 23:22:21 +02:00
René Kijewski
2749531324 Merge pull request #789 from LudwigOrtmann/native_gprof
native profiling tools support
2014-04-05 02:26:15 +02:00
Kévin Roussel
6c40108c9c Added standard way to query CCA status on CC2420 transceiver (squashed) 2014-04-02 17:56:07 +02:00
Ludwig Ortmann
b2930113ef remove some newlines 2014-04-01 10:47:12 +02:00
Ludwig Ortmann
a1aa0df9ae change new/overlooked Makefiles 2014-04-01 10:44:10 +02:00
Kévin Roussel
90ea047546 Fix a typo that provokes many unjustified "cc2420 unexpected IFG" alerts to occur 2014-03-31 15:30:53 +02:00
René Kijewski
0b75a11291 native: don't use RIOT read/write in UART 2014-03-30 22:33:50 +02:00
Martine Lenders
53264c7a45 Merge pull request #609 from LudwigOrtmann/transceiver_any
anytransceiver pseudomodule
2014-03-24 14:04:02 +01:00
Ludwig Ortmann
ebac0bd718 make: clean msb-430-common Makefile.include
set default values with `?=`
automatically add `PORT` for `PROGRAMMER == uif`
2014-03-20 21:55:13 +01:00
Ludwig Ortmann
8ac4f3332d core cpu: add defaulttransceiver pseudomodule
update examples/default
2014-03-18 10:18:15 +01:00
Ludwig Ortmann
0501fe8980 native: config_load: set PID as id, net address 2014-03-18 08:07:30 +01:00
Ludwig Ortmann
dfd0b43cbe add variables for gprof, cg_annotate 2014-03-14 12:56:44 +01:00
Ludwig Ortmann
a62559de62 make: streamline native targets
The new target names are easier to remember / decipher:

term
term-cachegrind
term-gprof
term-valgrind

all
all-cachegrind
all-gprof
all-valgrind
all-debug

eval-gprof
eval-cachegrind
2014-03-14 12:50:50 +01:00
Ludwig Ortmann
ae898ef9eb rebase_fixup 2014-03-14 12:50:50 +01:00
Ludwig Ortmann
ad1d8df080 change target name, add cachegrind target 2014-03-14 12:50:50 +01:00
Ludwig Ortmann
8ef02d3b9d native profiling support
only works with Linux for now
2014-03-14 12:50:50 +01:00
Ludwig Ortmann
9b61d95545 make: don't ignore failures in for loops
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
Thomas Eichinger
8e7b5a6d88 include needed stdint.h 2014-03-05 17:36:00 +01:00
Martin Lenders
49b1f44b2e Merge pull request #804 from LudwigOrtmann/native_include_separation
native/make: Don't use INCLUDES for building any native at all.
2014-03-03 15:12:56 +01:00
Ludwig Ortmann
459dcd23d2 redbee-econotag: fix Makefiles
remove empty unsused Makefile.dep
add board include path to INCLUDES
2014-03-01 13:45:44 +01:00
Ludwig Ortmann
2cd3f04fc6 Don't use INCLUDES for building any native at all.
native modules will never need the dynamic INCLUDES, so we define our
own NATIVEINCLUDES. Due to the current make structure, the only way to
not use INCLUDES is to redefine the build rules.
2014-02-27 10:30:30 +01:00
Ludwig Ortmann
ac21f3c54c make: couple include path and -I
This is necessary if includes have to be filtered, such as in native
to throw out RIOTs posix includes which interfere with system
includes.
2014-02-27 08:14:33 +01:00
Oleg Hahm
93e32953b3 always build and initialize hwtimer
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Christian Mehlis
3e980184a8 Merge pull request #748 from authmillenon/fix-possible-null-pointer-errors
bughunt: Fix possible null pointer dereference
2014-02-20 21:41:50 +01:00
Martin Lenders
4119e15e6b Fix possible null pointer dereference 2014-02-20 02:29:33 +01:00
Christian Mehlis
0309fecc19 fix warning: invalid suffix on literal
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Christian Mehlis
09bdb56d52 native: fix function prototype to match to api 2014-02-18 16:28:13 +01:00
Christian Mehlis
6578669e46 Merge pull request #718 from Kijewski/issue-693
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
cb9c5d00de repace project by application in documentation 2014-02-18 12:28:32 +01:00
René Kijewski
2349d0806e "Exterminate } else {" 2014-02-16 23:29:47 +01:00
Oleg Hahm
6c0482b976 Merge pull request #701 from Kijewski/issue-672
Use `filter` instead of `findstring`
2014-02-16 12:33:29 +01:00
René Kijewski
102dc45382 Eliminate findstring in more places 2014-02-14 14:30:16 +01:00
René Kijewski
caea069bcf Do not mandate input language
An application might want to use C11 features. The user would assume
that setting `CFLAGS=-std=gnu11` in the Makefile would work. It does not
since the board's Makefile.include shadows the `-std` flag.

This patch removes the `-std=gnu99` from the various Makefile.includes,
and sets the flag in the common Makefile.include of RIOT instead.
If an `-std` flag was provided by an earlier Makefile (the application,
the board, or the CPU [whilst only the former one should]), then no
additional flag is set. It is first tested if the supplied compiler
understands `-std=gnu99`, then `-std=c99`.
2014-02-14 00:06:02 +01:00
Christian Mehlis
d794900386 Merge pull request #666 from LudwigOrtmann/native_valgrind_config
Native valgrind config
2014-02-12 11:01:34 +01:00
Oleg Hahm
9fbfa3faec correct cc110x function names 2014-02-12 00:10:15 +01:00
Ludwig Ortmann
336c5159b2 use pkg-config to add valgrind include path
makes knowledge of VALGRIND_VALGRIND_H vs. VALGRIND_H optional
2014-02-11 19:22:39 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Oleg Hahm
9fff3f5b90 Merge pull request #657 from LudwigOrtmann/wsn430-v1_4_Makefiles
fix wsn430-v1_4 Makefiles
2014-02-11 17:55:11 +01:00
Ludwig Ortmann
d40b6ac5b1 native+osx makefile cleanup
* add missing $(AD) to osx $(LINK) invocation
* move osx build determination to native makefile
* move old libc test to native makefile
* set objcopy to "true" - it is superfluous for native no matter what the system is
* add some documentation to natives makefile
2014-02-10 12:25:47 +01:00
Ludwig Ortmann
f09f30c94d fix wsn430-v1_4 Makefiles 2014-02-07 21:20:35 +01:00
Oleg Hahm
02341bc79a removed no longer needed include path 2014-02-07 17:06:50 +01:00
Oleg Hahm
26ca054abd moved board dependent cc110x stub 2014-02-05 18:57:54 +01:00
Oleg Hahm
70747d8bb4 streamlined driver include pathes 2014-02-05 18:56:47 +01:00
Martin Lenders
7035a6d194 Merge pull request #601 from LudwigOrtmann/valgrind_target
valgrind target for native
2014-02-04 04:12:07 -08:00
Oleg Hahm
fb423e2c48 Merge pull request #606 from OlegHahm/license_issues
added license headers and doxygen file information
2014-02-04 03:01:23 -08:00
Oleg Hahm
d9c31a01e5 addressed comments from @mehlis 2014-02-03 00:47:38 +01:00
Oleg Hahm
4bc6dfbf69 added license headers and doxygen file information
plus replaced tabs with spaces
2014-02-02 22:22:03 +01:00
Ludwig Ortmann
0ee91da42f valgrind target 2014-02-01 13:56:21 +01:00
Ludwig Ortmann
94ac6ddbd2 refactor and clean up native Makefile 2014-02-01 13:56:17 +01:00
Ludwig Ortmann
b58aa87572 add mbed_lpc1768 hwtimer stub
closes #586
2014-02-01 10:26:11 +01:00
Ludwig Ortmann
e63ece0c18 add obj/*.d to clean target 2014-01-31 17:08:29 +01:00
Ludwig Ortmann
6fda735302 remove cruft from obj dir, add gitignore 2014-01-31 17:08:29 +01:00
Ludwig Ortmann
54cf33ff70 set lpc2k_pgm return value
fixes the build not failing when flashing fails
2014-01-31 17:08:29 +01:00
Ludwig Ortmann
e083e9bcb8 configure debug target for native 2014-01-30 11:34:04 +01:00
fbcbd7ff1f Merge pull request #574 from kaspar030/kaspar_email_change_2
update Kaspar's email address
2014-01-29 05:39:57 -08:00
56ee585c81 update Kaspar's email address
kaspar.schleiser@fu-berlin.de is obsolete.
(2nd try, first try was overwritten by some overzealous documenter)
2014-01-28 11:53:19 +01:00
Oleg Hahm
e17666c326 added the missing define for radio_packet_length_t on econotag 2014-01-23 15:47:53 +01:00
Ludwig Ortmann
855eea6a53 add missing newlines 2014-01-22 18:26:53 +01:00
Oleg Hahm
0a3bb76386 Merge pull request #537 from thomaseichinger/telosb-fix-cpu-speed
fixes bug in telosb board.h introduced by PR #459
2014-01-21 06:24:42 -08:00
Thomas Eichinger
2ce6f8ddbb fixes bug in telosb board.h introduced by PR #459 2014-01-21 15:01:05 +01:00
Oleg Hahm
55d8cb5ced fixed support for pttu board 2014-01-20 19:39:00 +01:00
Oleg Hahm
717cab33ae moved pllfeed inline function to header
Also removed useless copyright header.
2014-01-20 19:38:01 +01:00
Oleg Hahm
1018d801ef removing unsupported board olimix_lpc2148 2014-01-20 19:23:18 +01:00
Oleg Hahm
683a078515 Merge pull request #494 from OlegHahm/uniq_obj_file_names
prefixing application object files to avoid dups
2014-01-17 04:44:57 -08:00
Oleg Hahm
f476da6ff5 remove duplicate LICENSE in boards directory 2014-01-17 11:54:31 +01:00
Oleg Hahm
6cf0c34210 removed pointer to RIOT repository from README 2014-01-17 11:54:31 +01:00
Oleg Hahm
9eebc532ef Merge pull request #459 from rousselk/msp430-lpm-freq
Msp430 lpm freq
2014-01-16 04:57:27 -08:00
Oleg Hahm
4ac82bd5f8 changed duplicate file name for wsn430 uart0.c 2014-01-14 17:53:03 +01:00
Christian Mehlis
c26a3c0e41 Merge pull request #483 from mehlis/master
fix some findings by the static analyser
2014-01-09 13:30:45 -08:00
Ludwig Ortmann
b6781cdf0f add native flash and term targets
flash does nothing
term starts the project with PORT misused for the tap interface
PORT is unset if nativenet is not used
2014-01-09 12:53:40 +01:00
Christian Mehlis
8bcb099384 fix some findings by the static analyser 2014-01-08 17:01:22 +01:00
Oleg Hahm
b34e14945d fixed include path for mbed board 2014-01-05 16:11:08 +01:00
Oleg Hahm
9df07f9238 muting compiler and binutils optionally
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01:00
Oleg Hahm
c48b34f540 use proper variables in board Makefiles 2014-01-05 16:11:08 +01:00
Oleg Hahm
02612ff0ca further Makefile cleanup 2014-01-05 16:11:08 +01:00
Oleg Hahm
f8e349f76e removed superfluous slash after BINDIR 2014-01-05 16:11:08 +01:00
Oleg Hahm
c7d985d371 removed redundant include pathes from Makefiles 2014-01-05 16:11:08 +01:00
Oleg Hahm
55f31a4829 simplify include structure for boards
* do not overwrite CFLAGS in boards Makefile
2014-01-05 16:11:07 +01:00
Oleg Hahm
1de1b2f91d correct filename 2014-01-05 16:11:07 +01:00
Oleg Hahm
593ee623b6 simplify and unify include pathes
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
1e665b49de build everything in the project directory 2014-01-05 16:11:07 +01:00
Kévin Roussel
5d393d270b Sets MCU frequency in 'board.h', instead of the common 'cpu.h' file 2013-12-24 15:41:32 +01:00
Ludwig Ortmann
cf87e647c0 make native includes RIOT posix compatible 2013-12-22 23:26:54 +01:00
Martin Lenders
69809928d3 Make UART0_BUFSIZE configurable by CPU 2013-12-20 11:10:42 +01:00
Oleg Hahm
a680b180ef Merge pull request #450 from LudwigOrtmann/chronos_fixes
Chronos fixes
2013-12-19 10:06:03 -08:00
Ludwig Ortmann
680f778fc4 chronos cleanup 2013-12-19 18:44:11 +01:00
Christian Mehlis
e890b227e1 Merge pull request #428 from mehlis/native-ltc-fix
Native ltc fixes and cleanup
2013-12-19 09:31:32 -08:00
Oleg Hahm
1cc2767bb4 Merge pull request #318 from OlegHahm/lpc1768
initial support for the mbed NXP LPC168
2013-12-19 09:03:22 -08:00
Ludwig Ortmann
b674183e15 move display and lcd init from autoinit to chronos 2013-12-19 17:57:18 +01:00
Ludwig Ortmann
77e8cbb112 remove ltc disable race 2013-12-19 17:39:02 +01:00
Ludwig Ortmann
579c1edb04 clean up native ltc 2013-12-19 17:39:02 +01:00
Christian Mehlis
6aec050fc4 initialize id and only remove a valid timer 2013-12-19 17:39:01 +01:00
Christian Mehlis
a38928e5c3 rename variables to match the guidelines (use module prefix) 2013-12-19 17:39:01 +01:00
Christian Mehlis
4be9764f80 removed useless code 2013-12-19 17:39:01 +01:00
Oleg Hahm
cdb77c2392 Merge pull request #437 from OlegHahm/include_directives
making include directives consistent
2013-12-19 08:38:14 -08:00
Ludwig Ortmann
076b2a70d3 model ltc4150 dependency in msba2-common Makefile 2013-12-19 17:34:07 +01:00
Oleg Hahm
4b56ecf646 fixes Makefiles for mbed_lpc1768 board 2013-12-19 17:30:35 +01:00
Oleg Hahm
0e36f99a35 add telosb include inside telosb 2013-12-19 17:02:04 +01:00
Oleg Hahm
903ec54a43 making include directives consistent 2013-12-19 15:31:37 +01:00
Ludwig Ortmann
825c0e614d Merge pull request #446 from LudwigOrtmann/msp
fixes for msp430, msb-430 and msb-430-common
2013-12-19 06:20:10 -08:00
Christian Mehlis
d82a5b67db added missing thread include 2013-12-19 13:06:26 +01:00
Christian Mehlis
e065888cdb added ENABLE_DEBUG macro 2013-12-19 13:05:49 +01:00
Ludwig Ortmann
6b8d7cb3fc improve programmer handling in msb-430-common 2013-12-19 13:04:08 +01:00
Ludwig Ortmann
73699e73ed translate german comment 2013-12-19 13:04:07 +01:00
Kévin Roussel
2519ddddd7 Added the needed new section for telosb in boards/Makefile.base 2013-12-18 15:17:49 +01:00
Kévin Roussel
afce119138 Added definition of correct MCU model in MSP430-based board headers 2013-12-18 10:51:45 +01:00
Thomas Eichinger
0db7b98c35 Merge pull request #431 from thomaseichinger/telosb_oflags
TelosB: added OFLAGS to Makefile.include
2013-12-16 08:22:54 -08:00
Thomas Eichinger
8106974e90 added OFLAGS to Makefile.include for telosb 2013-12-16 15:12:52 +01:00
Hauke Petersen
c629229e8d Added the boards folder to the doxygen tree
- added boards to riot.doxyfile
- fixed group definitions for all boards
2013-12-16 14:00:37 +01:00
Ludwig Ortmann
0f20a3c87f Merge pull request #416 from LudwigOrtmann/chronos_flashing
chronos: fix FFLAGS
2013-12-11 10:10:42 -08:00
Ludwig Ortmann
aec8024776 fix FFLAGS 2013-12-11 19:10:07 +01:00
Ludwig Ortmann
7bbffd7200 remove chronos bindir in clean target 2013-12-11 16:34:54 +01:00
Ludwig Ortmann
138c1c0e71 fix chronos bindir creation 2013-12-11 16:34:54 +01:00
Christian Mehlis
fc80c22c3c reduce LTC_TIMER_INTERVAL by the factor of 10 to be more precise 2013-12-10 22:22:33 +01:00
Christian Mehlis
7bc09fdc0f make LTC_TIMER_INTERVAL a named define 2013-12-10 22:21:51 +01:00
Christian Mehlis
ed4ed963ce added missing timer remove on the end of the measurement 2013-12-10 22:20:16 +01:00
Ludwig Ortmann
864267f238 daemonization, io socket and file redirection 2013-12-10 17:00:01 +01:00
Thomas Eichinger
44dfb87cde fixes to build default project and clean properly 2013-12-09 13:07:14 +01:00
Thomas Eichinger
18fe32ffc5 fix for the redbee-econotag Makefile to work again 2013-12-09 12:20:58 +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
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
9e87d7a244 fix native board license headers 2013-11-23 13:11:56 +01:00
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +01:00
Ludwig Ortmann
6d16520387 add -Wextra -pedantic to native CFLAGS
it's all about code quality
2013-11-22 10:56:28 +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
b4e75ee330 make msb430 sht11 includes adhere to coding conventions 2013-11-14 15:08:32 +01:00
Ludwig Ortmann
4b0220ea35 remove cruft from msb-430-common board_init
useless comment, commented out assignment and some newlines
2013-11-14 15:08:32 +01:00
Ludwig Ortmann
7caf7881a2 fix msb-430 Makefiles and includes 2013-11-14 15:08:32 +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
Hauke Petersen
547e06ff3d changed ktimer to hwtimer in the avsextrem smb380 driver 2013-11-12 09:38:46 +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
Oleg Hahm
232e205137 moved boards into subdirectory 2013-11-06 10:11:57 -08:00