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

22631 Commits

Author SHA1 Message Date
5f5e58f1e2
tests/driver_rn2xx3: fix invalid element index to txmode 2019-06-07 10:47:23 +02:00
f5d4d41f7b
Merge pull request #11650 from bergzand/pr/usb/periph_arduino_mkr
common/arduino-mkr: add usbdev feature
2019-06-07 09:11:27 +02:00
Dylan Laduranty
87f59b474b
Merge pull request #11305 from benpicco/same54
cpu/sam0: add support for SAMD5x/SAME5x
2019-06-06 17:26:43 +02:00
eb0a4f99c0
Merge pull request #10938 from miri64/feather-m0/enh/bat-adc-line
feather-m0: add BAT voltage ADC line (A7)
2019-06-06 17:17:10 +02:00
3a4dff9ddc
common/arduino-mkr: add usbdev feature 2019-06-06 17:04:35 +02:00
Benjamin Valentin
ddbeccb195 boards/same54-xpro: add support for SAME54-XPRO board
This adds support for the Atmel SAM E54 Xplained Pro Evaluation Kit.

Only basic functionality has been enabled.
2019-06-06 16:47:11 +02:00
Benjamin Valentin
f375b00ff3 cpu/samd5x: add support for samd5x/same5x MCUs
This adds supoprt for the Atmel SAMD51 & SAME54 SoC.
The SAME5x/SAMD5x is a line of Cortex-M4F MCUs that share peripherals
with the samd2x Cortex-M0+ and saml1x Cortex-M23 parts.
2019-06-06 16:47:11 +02:00
Benjamin Valentin
3cd119a6e6 cpu/sam0_common: import vendor files for samd51
Atmel Software Framework (ASF) provides a set of low-level header files
that give access to different hardware peripherals of Atmel's ICs.

Origin: Atmel SAMD51 Series Device Support (1.1.96)
License: Apache-2.0
URL: http://packs.download.atmel.com/Atmel.SAMD51_DFP.1.1.96.atpack
2019-06-06 16:47:11 +02:00
Benjamin Valentin
cb9624909f cpu/sam0_common: import vendor files for same54
Atmel Software Framework (ASF) provides a set of low-level header
files that give access to different hardware peripherals of Atmel's
ICs.

Origin: Atmel SAME54 Series Device Support (1.0.87)
License: Apache-2.0
URL: http://packs.download.atmel.com/Atmel.SAME54_DFP.1.0.87.atpack
2019-06-06 16:47:11 +02:00
Martine Lenders
b5aa0edd10 feather-m0: add documentation on BAT voltage 2019-06-06 16:24:27 +02:00
Martine Lenders
59300db005 feather-m0: add BAT voltage ADC line (A7) 2019-06-06 16:24:27 +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