Sebastian Meiling
41869e85c5
make: allow override of RESET for boards/nz32-sc151
2019-06-06 16:27:22 +02:00
Sebastian Meiling
458b178d46
make: allow override of RESET for boards/common/stm32f103c8
2019-06-06 16:27:15 +02:00
Sebastian Meiling
3482bfaa2a
make: allow override of RESET for boards/common/remote
2019-06-06 16:27:08 +02:00
Sebastian Meiling
8766f8bf28
make: allow override of RESET for boards/common/esp8266
2019-06-06 16:26:58 +02:00
Sebastian Meiling
44f8314a04
make: allow override of RESET for boards/common/esp32
2019-06-06 16:26:51 +02:00
Sebastian Meiling
32a1a79f9f
make: allow override of RESET for boards/cc2538dk
2019-06-06 16:26:44 +02:00
a07be83d5e
Merge pull request #11639 from keestux/add-usb-sodaq-boards
...
Add usbdev feature to Sodaq boards
2019-06-06 16:18:58 +02:00
22ca76693b
Merge pull request #11636 from ynezz/upstream/feather-m0-usbdev
...
feather-m0: add usbdev feature
2019-06-06 16:12:45 +02:00
Dylan Laduranty
a37c0ccf70
Merge pull request #11610 from benpicco/sam0-timer_fix
...
sam0/timer: various fixes
2019-06-06 16:04:34 +02:00
Kevin "Bear Puncher" Weiss
002e033f5e
Merge pull request #11612 from ben-postman/pr_cc26x0_uart_mode
...
cpu/cc26x0: implement uart_mode()
2019-06-06 15:43:07 +02:00
Benjamin Valentin
f36d54f239
sam0/timer: various fixes
...
This cleans up the sam0 timer driver:
- remove the check for the unused freq parameter
- the MCU provides dedicated SET/CLR registers to avoid
read-modify-write, so don't do read-modify-write on them.
- workaround a possible hardware bug on SAMD5x:
loop until the CMD_READSYNC is really set
2019-06-06 15:38:55 +02:00
Ben Postman
567fa8e32d
tests/periph_uart_mode: Add uart_mode test for single UART MCU
...
The existing periph_uart test depends on having more than one UART.
This test allows for manual testing with the use of a probe
on-behalf-of: @sparkmeter <ben.postman@sparkmeter.io>
2019-06-06 08:46:33 -04:00
Ben Postman
9a000cf4e6
cpu/cc26x0: Implement uart_mode()
...
This change required correcting the values for LCRH_PEN and LRCH_EPS
values defined in cc26x0_uart.h, as they were incorrect according to
19.8.1.7 of the TI CC26x0 reference manual.
on-behalf-of: @sparkmeter <ben.postman@sparkmeter.io>
2019-06-06 08:46:33 -04:00
Gaëtan Harter
cca20314d3
Merge pull request #11642 from fjmolinas/pr_riotboot_kw2x
...
boards/pba-d-01-kw2x: add riotboot support
2019-06-06 14:32:06 +02:00
Martine Lenders
82278e808e
Merge pull request #11637 from miri64/isrpipe/fix/change-api-types
...
isrpipe: change API to be in line with `tsrb`
2019-06-06 12:49:24 +02:00
Martine Lenders
7e7e17c33f
Merge pull request #11640 from haukepetersen/add_bluetil_addrfromstr
...
sys/bluetil: add bluetil_addr_from_str()
2019-06-06 12:09:12 +02:00
francisco
9f43d632ba
boards/pba-d-01-kw2x: add riotboot support
2019-06-06 11:59:55 +02:00
francisco
4ca815445d
kinetis/Makefile.include: set RIOTBOOT_HDR_LEN to 0x200 for KW2XD
...
- Minimum required RIOBOOT_HDR_LEN or kW2xD is 0x200
to respect vector table alignment
2019-06-06 11:59:01 +02:00
Hauke Petersen
665b1d6528
sys/bluetil: add bluetil_addr_from_str()
2019-06-06 11:42:55 +02:00
Martine Lenders
e839aeb5d8
Merge pull request #11638 from miri64/slipdev/enh/buffer-type
...
slipdev: make rxmem buffer uint8_t
2019-06-06 11:22:38 +02:00
Kees Bakker
03e703d88c
sodaq-sara-aff: add usbdev feature
2019-06-05 23:06:53 +02:00
Kees Bakker
153fa5c1f6
sodaq-explorer: add usbdev feature
2019-06-05 23:04:18 +02:00
Kees Bakker
a142bb175f
sodaq-one: add usbdev feature
2019-06-05 23:01:48 +02:00
Kees Bakker
37316fbc75
sodaq-autonomo: add usbdev feature
2019-06-05 22:58:27 +02:00
Martine Lenders
f3ab285362
slipdev: make rxmem buffer uint8_t
...
`tsrb` changed to that type, so there is no reason for us, to keep the
internally used buffer as a `char` (especially since the rest of the
driver already uses `uint8_t`)
2019-06-05 21:24:38 +02:00
Martine Lenders
8cf4bc178c
at: adapt for isrpipe API type change
2019-06-05 18:16:32 +02:00
Martine Lenders
937d99b5c8
tsrb: remove implicit cast in TEST_INIT() macro
2019-06-05 18:16:32 +02:00
Martine Lenders
b1bfd70e54
stdio_uart: adapt for isrpipe API change
2019-06-05 18:16:32 +02:00
Martine Lenders
d9049dad87
isrpipe: change API to be in line with tsrb
...
The API of `tsrb` was changed because of confusing type situations.
This API change takes this API change of changing `char` to `uint8_t`
up a level. Since `isrpipe` most often is used together with
`periph_uart` this change even is beneficial, as `periph_uart` also
uses `uint8_t` instead of `char`.
2019-06-05 18:13:57 +02:00
35e083a94c
Merge pull request #11632 from miri64/tests/enh/tsrb-unittests
...
unittests: add tsrb tests
2019-06-05 18:13:17 +02:00
Petr Štetiar
3b5d9f3e46
feather-m0: add usbdev feature
...
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-06-05 17:59:27 +02:00
Martine Lenders
71a7dc3539
unittests: add tsrb tests
2019-06-05 17:54:56 +02:00
9b47dcb542
Merge pull request #11634 from miri64/tsrb/fix/change-api-types
...
tsrb: change input type to `uint8_t`
2019-06-05 17:50:16 +02:00
Martine Lenders
5dafce71be
slipdev: adapt for tsrb API type change
2019-06-05 17:10:27 +02:00
Martine Lenders
31c49c58f1
ethos: adapt for tsrb API type change
2019-06-05 17:10:27 +02:00
Martine Lenders
dfc8bbd96c
isrpipe: adapt for tsrb API type change
2019-06-05 17:10:27 +02:00
Martine Lenders
fb19b514f4
tsrb: remove now unnecessary cast
...
Both `unsigned char` and `uint8_t` are unsigned (and the same type on
most platforms) so this cast became redundant.
2019-06-05 17:10:26 +02:00
Martine Lenders
d361fc52a0
tsrb: change input type to uint8_t
...
Having the input type `char` makes the output of `tsrb_get_one()`
incomparable to the input of `tsrb_add_one()`. By changing it to
`uint8_t` we not only definitively fix it to an octet, but also ensure
that the input and output are the same.
2019-06-05 17:10:26 +02:00
Dylan Laduranty
e1f6b08d7a
Merge pull request #11075 from bergzand/pr/usb/auto_init
...
usbus: Initial simple auto init structure
2019-06-05 16:33:55 +02:00
8246b09f10
usbus_minimal: Adapt example to auto_init
2019-06-05 16:17:01 +02:00
ef68827559
auto_init_usb: initial implementation
2019-06-05 16:17:01 +02:00
Gaëtan Harter
bbb6dec054
Merge pull request #11630 from fjmolinas/pr_kinetis_ld
...
kinetis/ldscript: handle _rom_offset
2019-06-05 16:12:25 +02:00
Dylan Laduranty
e98376c70d
Merge pull request #10916 from bergzand/pr/usb/usbus
...
USBUS: Initial work towards an USB stack
2019-06-05 15:07:23 +02:00
537add6deb
USBUS: add minimal working example
2019-06-05 14:51:27 +02:00
74e0b5b85b
usbus: Initial work to a unified USB stack
2019-06-05 14:22:16 +02:00
35af9b9fb7
usb: Add generic USB structs and functions
2019-06-05 14:22:12 +02:00
Martine Lenders
b4fbfd7a7c
Merge pull request #11633 from bergzand/pr/usb/fix_usbdev_wrapper
...
usbdev: fix usbopt argument for getter/setter wrappers
2019-06-05 12:59:45 +02:00
Martine Lenders
8c5433d5db
Merge pull request #11624 from acsl-mipt/pr_sys_tsrb
...
sys/tsrb: bug fix for tsrb_get_one()
2019-06-05 12:24:24 +02:00
20b94e9c56
usbdev: fix usbopt argument for getter/setter wrappers
2019-06-05 12:06:10 +02:00
e53b117563
Merge pull request #11625 from haukepetersen/opt_nrf51_timerrttcfg
...
boards/nrf51-based: split shared timer/rtt config
2019-06-05 12:00:27 +02:00