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