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