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

18127 Commits

Author SHA1 Message Date
bd6a7c3d26 boards/nucleo-f030r8: rename to marketing name 2018-05-22 21:52:41 +02:00
smlng
b9ca8f466f gcoap: add asserts for path in gcoap_req_init 2018-05-22 21:28:58 +02:00
smlng
c9e9f72454 gcoap: use const path parameter 2018-05-22 21:28:58 +02:00
Francisco Acosta
8ab908146e
Merge pull request #8959 from aabadie/pr/cpu/guard_atmega_common
cpu/atmega_common: remove useless periph file guard
2018-05-22 19:57:46 +02:00
Joakim Nohlgård
fb73067494 kinetis: Refactor PIT driver
Stop prescaler instead of counter channel to avoid the need for saving
and restoring timeouts
2018-05-22 16:47:35 +02:00
Joakim Nohlgård
16af9b0beb kinetis: Clean up PIT timer implementation 2018-05-22 16:47:23 +02:00
Joakim Nohlgård
31cf342eac teensy31: Clean up Makefile.features 2018-05-22 16:46:39 +02:00
Joakim Nohlgård
a6c30ab61d kinetis: Move RTT config to periph_cpu.h 2018-05-22 16:46:39 +02:00
Joakim Nohlgård
c7801e466d kinetis: Refactor RTT driver
- Keep counter value between resets
- Let kinetis_mcg_init manage the RTC oscillator, to avoid disrupting
  the core clock in certain configurations
- Remove some unnecessary macros for hardware abstraction; all Kinetis
  CPUs which have an RTC only have a single RTC instance, and the ISRs
  and hardware registers are named the same way in all Kinetis CPU
  headers.
2018-05-22 16:46:39 +02:00
Joakim Nohlgård
dc689000f6 frdm-k22f: Update LPTMR config 2018-05-22 16:45:41 +02:00
Joakim Nohlgård
a49d151919 frdm-kw41z: Update LPTMR config 2018-05-22 16:45:41 +02:00
Joakim Nohlgård
c25613fd5c mulle: Update LPTMR config 2018-05-22 16:45:41 +02:00
Joakim Nohlgård
9e10cd4401 cpu/kinetis: Refactor LPTMR driver implementation
Uses timer freerunning counter mode (TFC) and updating an internal
reference point instead of relying on RTT for reference time. The
target accuracy has been greatly improved for all test cases in
bench_periph_timer
2018-05-22 16:45:41 +02:00
Vincent Dupont
3d2d3be267
Merge pull request #9160 from aabadie/pr/boards/f4vi1_uart_conf_fix
boards/f4vi1: fix potential build issue in uart conf
2018-05-22 10:56:11 +02:00
ec06de8d22 boards/f4vi1: fix potential build issue in uart conf 2018-05-22 10:42:43 +02:00
912ef3220b
Merge pull request #9124 from maribu/msbiot
boards/msbiot: Configured cc110x as default netdev
2018-05-22 09:15:33 +02:00
Bas Stottelaar
bc96c6f60d
Merge pull request #9088 from basilfx/feature/netopt_checksum_busy
sys: netopt: add checksum and busy options
2018-05-21 23:24:59 +02:00
Marian Buschsieweke
d97340cd5d
boards/msbiot: Added/updated configuration for the cc110x transceiver
- Adjusted `#define`s to match the naming convention of `cc110x_params.h`
 - Enable the `cc110x` module if `netdev_default` or `gnrc_netdev_default` is
   used
2018-05-21 23:00:06 +02:00
Marian Buschsieweke
a6f9a86597
drivers/cc110x: Moved cc110x_params.h from boards to driver
- Replaced magic numbers in the CC110X configuration of the MSBA2
   with SPI_DEV(x) and GPIO_PIN(x, y) macros
 - Adjusted implementation of `cc110x_params.h` to match the code of `at86rf2xx`
 - Made MSBA2's CC110X parameters the default configuration
2018-05-21 22:59:46 +02:00
Bas Stottelaar
7781da7799 sys: netopt: add busy option 2018-05-21 16:37:38 +02:00
Bas Stottelaar
02395e593d sys: netopt: add checksum option 2018-05-21 16:37:38 +02:00
4ca2109655
Merge pull request #9154 from maribu/lpc2387
cpu/lpc2387: Fixed broken SPI driver
2018-05-21 09:59:49 +02:00
Marian Buschsieweke
17a5101b40
cpu/lpc2387: Fixed broken SPI driver
In commit 513b20ffd3 the SPI API was changed to
power up an configure the SPI bus on spi_acquire(). Sadly, the lpc2387 SPI
apparently needs to be reconfigured after each power up. This commit moves
the initialization code required after each power up from spi_init() to
spi_acquire().
2018-05-19 18:12:25 +02:00
Cenk Gündoğan
f307314959
Merge pull request #9006 from jcarrano/tlsf-original-api
pkg/tlsf: revert to original api
2018-05-18 17:57:07 +02:00
Juan Carrano
cf686bde2d pkg/tlsf: Refactor the TLSF package and bring back original TLSF api.
- Cleanup package makefile.
- Download directly from git.
- Remove giant patch.
- Implement malloc function as a contrib package.
- Update ccn example.
- Update ps command.
2018-05-18 15:41:07 +02:00
Cenk Gündoğan
94541e1802
Merge pull request #9145 from bergzand/pr/trickle/ms_us_swap
trickle: remove msg_time member from struct
2018-05-18 15:00:52 +02:00
4e955175f9
Merge pull request #9150 from gebart/pr/git-cache-update
dist: tools: git-cache: update to latest upstream
2018-05-17 23:11:46 +02:00
Matthew Blue
38a30b68c2 core/debug: fix debug.h use within ISRs 2018-05-17 17:06:44 -04:00
Joakim Nohlgård
5816aa7419 dist: tools: git-cache: update to latest upstream
Upstream commit 04f04e5272f9fd68113a7f07ef034dd672630c79

04f04e5272
2018-05-17 20:42:23 +02:00
Cenk Gündoğan
ab0071622b
Merge pull request #9121 from kaspar030/uart_stdio_workaround
sys/uart_stdio: compile with -Wno-cast-function-type
2018-05-17 17:13:30 +02:00
1c03b67cab sys/uart_stdio: compile with -Wno-cast-function-type 2018-05-17 17:03:27 +02:00
aa84c3e6b8
trickle: remove msg_time member from struct
The msg_time member is only locally used and set before read. It can
be removed as the state kept by the member is not used.
2018-05-17 10:40:12 +02:00
81cff65c57
tests/xtimer_now64: Start time measure after print
Printing can take a lot of time over a serial connection. On the atmega
board it takes more than 2 ms, skewing the first measurement over the
threshold value and causing a test failure. This moves the print
statement above the first measumerement to prevent the skew.
2018-05-16 16:49:03 +02:00
Francisco Acosta
af829e2da4
Merge pull request #9007 from kYc0o/add_more_hil_tests
tests: add more hardware in the loop tests
2018-05-15 22:14:15 +02:00
b7c65fe2ce
Merge pull request #9132 from gebart/pr/native-pm
native: define PROVIDES_PM_SET_LOWEST
2018-05-15 21:48:40 +02:00
236c4f29a8
Merge pull request #9140 from gebart/pr/libcose-randombytes
pkg/libcose: Use RIOT random_bytes instead of randombytes
2018-05-15 21:44:05 +02:00
b0099f7220
Merge pull request #9138 from gebart/pr/hacl-randombytes
pkg/hacl: Use RIOT random_bytes instead of randombytes
2018-05-15 21:42:34 +02:00
6df8e9808c
Merge pull request #9139 from gebart/pr/tweetnacl-randombytes
pkg/tweetnacl: Use RIOT random_bytes instead of randombytes
2018-05-15 21:41:09 +02:00
8fd013635f
Merge pull request #9136 from jcarrano/fix-assert
core: make assert() an expression.
2018-05-15 21:38:14 +02:00
Francisco Acosta
d634b7b1d9 tests: add more hardware in the loop tests 2018-05-15 19:54:51 +02:00
Joakim Nohlgård
3efd3829f4 pkg/libcose: Use RIOT random_bytes instead of randombytes 2018-05-15 18:18:32 +02:00
Joakim Nohlgård
c11f9d214a pkg/tweetnacl: Use RIOT random_bytes instead of randombytes 2018-05-15 18:15:39 +02:00
Joakim Nohlgård
86b5f648ce pkg/hacl: Use RIOT random_bytes instead of randombytes 2018-05-15 18:10:18 +02:00
d6c63592bb
Merge pull request #9137 from cladmi/pr/tests/unittests/cli_foreach_empty_list
tests/unittests: add empty list clist_foreach case
2018-05-15 17:17:13 +02:00
1646af35a6
Merge pull request #8944 from aabadie/pr/examples/filesystem
examples/filesystem: fix typos and cleanup
2018-05-15 17:05:47 +02:00
59747590f1 examples/filesystem: fix typos and cleanup 2018-05-15 16:50:33 +02:00
Gaëtan Harter
64bc06f2b6
tests/unittests: add empty list clist_foreach case
Add clist_foreach empty list test case which should:

* not call `func`
* return `NULL`
2018-05-15 16:49:59 +02:00
56c2b6a0e3
Merge pull request #9017 from kaspar030/clist_add_foreach_return
core/clist: make clist_foreach() return break-causing node
2018-05-15 16:48:12 +02:00
Juan Carrano
09d1b2eac7 core: Make assert be an expression.
The "verbose" alternative for assert() is now an expression and
can be used in all the places that a funcion call can be used.
2018-05-15 14:25:55 +02:00
33116c80d7
Merge pull request #9070 from cladmi/pr/make/riottools/tools/check
tools/check: use RIOTTOOLS variable
2018-05-15 12:24:37 +02:00