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

289 Commits

Author SHA1 Message Date
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
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