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

27625 Commits

Author SHA1 Message Date
Gunar Schorcht
3faf99a894 cpu/esp32: add vendor files for light/deep sleep 2020-03-23 12:25:47 +01:00
Gunar Schorcht
2cbf90d9fe cpu/esp32: small fix of rtc_init for light sleep
`rtc_init` is used after light sleep to update the system time from RTC timer. The fix corrects a small difference of about 230 ms which would sum up with each wakeup from light sleep.
2020-03-22 23:53:02 +01:00
Gunar Schorcht
825b01e8e1 cpu/esp32: remove gpio_config_sleep_mode func
The function were used to set the GPIO pads in sleep mode. This function isn't required for deep or light sleep.
2020-03-22 23:53:02 +01:00
benpicco
5aff374f3d
Merge pull request #13670 from gschorcht/cpu/esp8266/add_rtt_based_rtc
cpu/esp8266: add RTT based RTC
2020-03-21 13:29:48 +01:00
Gunar Schorcht
b7781c77d6 cpu/esp8266: add RTT based RTC
fixup! cpu/esp8266: add RTT based RTC
2020-03-21 08:49:51 +01:00
benpicco
2a352164b1
Merge pull request #13660 from aabadie/review_nucleo_l412kb
boards/nucleo-l412kb: add initial support
2020-03-20 22:00:31 +01:00
ebca569e71
examples/lua*: exclude nucleo-l412kb 2020-03-20 18:50:30 +01:00
ffb377523a
examples/javascript: exclude nucleo-l412kb 2020-03-20 18:50:19 +01:00
edfbcb5a4c
tests/pkg_utensor/: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
84941a2548
tests/unittests: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
87409b4c20
examples/suit_update: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
Marius
9c040ff3bd
boards: add support for nucleo-l412kb 2020-03-20 18:48:31 +01:00
Marius
aae86e860f
cpu/stm32l4: add support for STM32L412KB 2020-03-20 18:48:31 +01:00
7d0c475113
Merge pull request #13486 from bergzand/pr/suit/ietf_v3
SUIT: Update to draft-ietf-v3
2020-03-20 14:44:29 +01:00
Martine Lenders
e9fdee073c
Merge pull request #13662 from benpicco/tapsetup-uplink
tapsetup: add --uplink option
2020-03-20 14:43:36 +01:00
Francisco
b98e4bf0d1
Merge pull request #13658 from fjmolinas/pr_periph_timer_cc2538
cpu/cc2538: fix GPT3 IRQ definition
2020-03-20 14:31:05 +01:00
Benjamin Valentin
ac3e996252 tapsetup: provide --uplink option
Add an --uplink option to tapsetup to bridge the tap-network with an
IPv6 enabled uplink interface, providing IPv6-WAN connectivity to native.
2020-03-20 14:12:43 +01:00
Marian Buschsieweke
5ea003fbef
Merge pull request #13663 from maribu/makefile.ci
tests/driver_at86rf215: Fix Makefile.ci
2020-03-20 11:50:39 +01:00
Marian Buschsieweke
09946a8618
tests/driver_at86rf215: Fix Makefile.ci 2020-03-20 11:06:41 +01:00
Francisco
cdbf0b2d69
Merge pull request #13583 from benpicco/at86rf215-minimal
drivers/at86rf215: add basic support for AT86RF215 dual-band radio
2020-03-20 09:33:50 +01:00
benpicco
5435792034
Merge pull request #12277 from benemorius/pr/kw41zrf
drivers: add kw41zrf
2020-03-20 00:49:56 +01:00
benpicco
16f55475bf
Merge pull request #13545 from benpicco/esp-now-br
examples/gnrc_border_router: add example for WiFi ⇆ esp_now border router
2020-03-19 23:56:24 +01:00
Joakim Nohlgård
9f81ab195c examples/default: Add kw41z boards to netif boards list 2020-03-19 17:02:54 -05:00
Benjamin Valentin
e73f6454ed examples/gnrc_border_router: update README.md 2020-03-19 23:01:44 +01:00
Joakim Nohlgård
5bd67d88a8 drivers/kw41zrf: Transceiver driver for the KW41Z radio
This is the radio found in NXP Kinetis KW41Z, KW21Z. Only 802.15.4 mode
is implemented (KW41Z also supports BLE on the same transceiver).

The driver uses vendor supplied initialization code for the low level
XCVR hardware, these files were imported from KSDK 2.2.0 (framework_5.3.5)
2020-03-19 17:00:04 -05:00
829f5920f0
flake8: move exception from SUITv4 to SUITv3
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
1d1d5b6f0d
examples/suit: Refactor to draft ietf-v3
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
413b91326f
tests/suit_v3_manifest: Add draft-ietf-v3 manifest parser test
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
Benjamin Valentin
31245849fb examples/gnrc_border_router: add example for WiFi <-> esp_now BR
This adds an example configuration to use the gnrc_border_router to route
between a regular WiFi network and an esp_now network.

All you need is an esp based board (esp8266, esp32).

Configure the access data for your WiFi network in `Makefile.esp.conf`,
then run

    make BOARD=esp32-wroom-32 USE_ETHOS=0 USE_ESP=1 flash term

to turn a e.g. `esp32-wroom-32` into a boarder router.

You can use other esp based boards as nodes in the network by flashing
e.g. the `gnrc_networking` example.
Be sure to add `CFLAGS += -DGNRC_IPV6_NIB_CONF_SLAAC=1` as otherwise
your esp_now node will not receive a link-local IP address.
2020-03-19 22:55:39 +01:00
benpicco
b0fab9c53a
Merge pull request #13638 from gschorcht/sys/shell/rtt_command
sys/shell: add rtt command
2020-03-19 21:21:12 +01:00
Martine Lenders
a5fb39e1d6
Merge pull request #13659 from leandrolanzieri/pr/test/emcute_use_sync_shell
tests/emcute: Use test_utils_interactive_sync_shell to sync
2020-03-19 20:51:43 +01:00
Leandro Lanzieri
b8dd4f1005 tests/emcute: Use test_utils_interactive_sync_shell to sync 2020-03-19 17:42:49 +01:00
benpicco
829671d504
Merge pull request #13640 from gschorcht/cpu/esp8266/periph_rtt
cpu/esp8266: add RTT implementation
2020-03-19 17:42:20 +01:00
Gunar Schorcht
df19c6d1b4
Merge pull request #13519 from benpicco/rtt_rtc
drivers/rtt_rtc: add RTT based RTC implementation, enable it for cpu/cc2538, nrf5x_common
2020-03-19 17:18:43 +01:00
Gunar Schorcht
3d20b0b6c5 sys/shell: add rtt command 2020-03-19 17:17:26 +01:00
521bb7e643
Merge pull request #11311 from benpicco/openocd-raspi
makefiles: add OpenOCD config for Raspberry Pi GPIO
2020-03-19 16:40:17 +01:00
Francisco Molina
daab688998
tests/periph_timer: adapt to cc2538 boards 2020-03-19 16:31:58 +01:00
Francisco Molina
226e1b5daf
cpu/cc2538: fix GPT3 timer IRQ definition 2020-03-19 16:31:57 +01:00
Francisco Molina
2f3a0e9b7e
boards: fix CORE_CLOCK for cc2538 based boards 2020-03-19 16:31:56 +01:00
Benjamin Valentin
d716195ecb drivers/periph_common: init RTT before RTC 2020-03-19 15:25:14 +01:00
Benjamin Valentin
f8d61edba0 cpu/nrf5x_common: use RTT based RTC implementation 2020-03-19 15:25:14 +01:00
Benjamin Valentin
f9346e1e2b cpu/cc2538: use RTT based RTC implementation 2020-03-19 15:25:14 +01:00
Benjamin Valentin
d632eb44b0 tests/unittests: add tests for rtt_rtc 2020-03-19 15:25:14 +01:00
Benjamin Valentin
60cc3b8757 periph/rtt: Allow using MOCK_RTT defines from Unit Test 2020-03-19 15:25:14 +01:00
Benjamin Valentin
cd2b86c4b1 rtt_rtc: add RTT based RTC implementation 2020-03-19 15:25:14 +01:00
Gunar Schorcht
4ac8f8df4c
Merge pull request #13646 from benpicco/BACKUP_RAM
cpu: add BACKUP_RAM attribute
2020-03-19 15:09:30 +01:00
Benjamin Valentin
f905108d8e boards/openmote-b: hook up at86rf215
Openmote-B includes an AT86RF215 radio. This adds support for it.
2020-03-19 14:39:18 +01:00
Benjamin Valentin
8ac5bdc6c1 tests: added test app for the at86rf215 driver 2020-03-19 14:39:18 +01:00
Benjamin Valentin
d35511bee7 drivers/at86rf215: Add basic driver for the AT86RF215 radio
This adds a driver for the SPI based AT86RF215 transceiver.
The chip supports the IEEE Std 802.15.4-2015 and IEEE Std 802.15.4g-2012 standard.

This driver supports two versions of the chip:
    - AT86RF215:  dual sub-GHz & 2.4 GHz radio & baseband
    - AT86RF215M: sub-GHz radio & baseband only

Both radios support the following PHY modes:
    - MR-FSK
    - MR-OFDM
    - MR-O-QPKS
    - O-QPSK (legacy)

The driver currently only implements support for legacy O-QPSK.

To use both interfaces, add

    GNRC_NETIF_NUMOF := 2

to your Makefile.

The transceiver is able to send frames of up to 2047 bytes according to
IEEE 802.15.4g-2012 when operating in non-legacy mode.

Known issues:

 - [ ] dBm setting values are bogus
 - [ ] Channel spacing for sub-GHz MR-O-QPSK might be wrong
 - [ ] TX/RX stress test will lock up the driver on openmote-b
2020-03-19 14:39:18 +01:00
Gunar Schorcht
464e3a8741 cpu/esp8266: add RTT implementation 2020-03-19 13:59:58 +01:00