benpicco
2b6454a2d7
Merge pull request #16106 from fabian18/ieee802154_security_small_bugfix_and_stricter_names
...
net/ieee802154_security: small bugfix and stricter names
2021-05-03 11:29:43 +02:00
Francisco
3c5c3ba4af
Merge pull request #16387 from iosabi/esp8266_uart
...
esp8266: Support UART1 and other UART0 pins.
2021-05-03 08:02:51 +02:00
iosabi
52107b2416
esp8266: Support UART1 and other UART0 pins.
...
The esp8266 CPU has actually two hardware UART peripherals. UART0 is
used by the boot ROM for flashing and serial output during boot,
typically at a baudrate of 74880 bps until the bootloader or application
sets the more standard 115200 baudrate. This UART0 device has two
possible pins for TXD, GPIO1 and GPIO2, which are both set to TXD by the
boot ROM. esp8266 modules will typically have GPIO1 labeled as the TX
pin, but it is possible to use GPIO2 for that purpose even while
flashing the device with esptool.py.
The second device, UART1, also has two options for TXD, GPIO2 and GPIO7,
and only one option for RXD, GPIO8. However, GPIO7 and GPIO8 are used
by the flash internally so those options are not very useful unless
maybe while running from IRAM with the flash disabled, for example for
a debugger over UART1.
This patch allows boards to override UART{0,1}_{R,T}XD in their
periph_conf.h to configure the uart selection. Defining UART1_TX will
make the UART_DEV(1) device available.
Tested with:
```CFLAGS='-DUART1_TXD=GPIO2' make -C tests/periph_uart BOARD=esp8266-esp-12x flash term```
* Connected one USB-UART to the standard GPIO1 and GPIO3 for flashing
and console. After flashing we see the manual test output at 115200
bps
* Connected a second USB-UART with RX to GPIO2 running at 74880.
Then run on the first console:
```
> init 1 74880
> send 1 hello
```
The word "hello" appears on the second UART connection.
Note that GPIO2 is used during boot for UART0's TX until the application
or bootloader set it to a regular GPIO, so some boot ROM messages at
74880 bps are visible. After running `init 1 74880` it is set to UART1's
TX.
2021-05-02 12:27:27 +00:00
benpicco
08f1f9768d
Merge pull request #16418 from fjmolinas/pr_stm32_spi_param_order
...
cpu/stm32/periph/spi: fix wrong parameter order
2021-04-30 14:37:17 +02:00
benpicco
c1c374db02
Merge pull request #16420 from benpicco/periph/rtt_overflow
...
cpu: add periph_rtt_overflow feature
2021-04-30 14:37:09 +02:00
benpicco
76cd388dd0
Merge pull request #16304 from iosabi/esp_gdbstub
...
cpu/esp8266: Fix typo in esp_gdbstub config.
2021-04-30 14:36:50 +02:00
benpicco
b1f8dc3401
Merge pull request #16409 from benpicco/cpu/lpc23xx-flashpage
...
cpu/lpc23xx: implement periph/flashpage
2021-04-30 14:36:14 +02:00
benpicco
11aa163509
Merge pull request #16352 from kfessel/p-doc-pkg
...
doc/pkg: provide a longer short description
2021-04-30 12:00:13 +02:00
Benjamin Valentin
d47a880915
cpu: add periph_rtt_overflow feature
...
The RTT overflow callback is not available on all RTT implementations.
This means it is either a no-op or `rtt_set_overflow_cb()` is a no-op
or it will overwrite the alarm set with `rtt_set_alarm()`.
This adds a feature to indicate that proper overflow reporting is available.
2021-04-30 11:58:00 +02:00
Francisco Molina
fc9fc5c057
cpu/stm32/periph/spi: fix wrong parameter order
2021-04-30 09:17:38 +02:00
Benjamin Valentin
c7c4d75dfe
tests/periph_flashpage: respect FLASHPAGE_WRITE_BLOCK_SIZE
2021-04-29 17:57:05 +02:00
4db2a86677
Merge pull request #16414 from seeseemelk/bugfix/late-fpu
...
Fix Cortex-M hard faults when building with -O3 or -Ofast
2021-04-29 14:21:45 +02:00
Sebastiaan de Schaetzen
e3c9b0c4ca
cortexm: initialise fpu early
2021-04-29 13:19:47 +02:00
Benjamin Valentin
51d2dacc33
cpu/lpc23xx: implement periph/flashpage
2021-04-29 13:05:42 +02:00
benpicco
d806aa42c6
Merge pull request #16399 from kfessel/f-nanocoap-caseblock
...
examples/nanocoap_server: remove unneed case block
2021-04-28 14:40:05 +02:00
Benjamin Valentin
eb7dfdb6ad
drivers/periph: flashpage: fix type error
2021-04-28 14:17:42 +02:00
benpicco
c5e0597c15
Merge pull request #16406 from benpicco/pkg/nanopb-0.4.5
...
pkg/nanopb: bump version to 0.4.5
2021-04-28 13:36:37 +02:00
Leandro Lanzieri
99fd0944a2
Merge pull request #16346 from aabadie/pr/pkg/lvgl_bump
...
pkg/lvgl: bump to latest version + model configuration in Kconfig
2021-04-28 13:00:06 +02:00
Benjamin Valentin
dd172af6ee
pkg/nanopb: bump version to 0.4.5
2021-04-28 12:56:17 +02:00
benpicco
0fdee54cfa
Merge pull request #16401 from haukepetersen/opt_nrf52840dongle_pinconfig
...
board/nrf52840dongle: fix and enhance pin mapping for I2C and SPI
2021-04-28 11:31:30 +02:00
a454d31a30
.murdock: whitelist tests/pkg_lvgl* apps for TEST_KCONFIG
2021-04-28 11:19:25 +02:00
Leandro Lanzieri
a60b53005a
pkg/lvgl: model dependency resolution in Kconfig
2021-04-28 11:19:24 +02:00
b2148cc34b
makefiles/kconfig: add pkg-prepare as menuconfig dependency
2021-04-28 11:19:24 +02:00
1fd500478b
pkg/lvgl: reduce default font size
2021-04-28 11:19:23 +02:00
99df6bd03b
tests/pkg_lvgl*: add Kconfig sample configuration
2021-04-28 11:19:22 +02:00
b55c1152b7
pkg: model lvgl configuration via Kconfig
2021-04-28 11:19:21 +02:00
be09c44bda
pkg/lvgl: split riot specific defines out of lv_conf.h
2021-04-28 11:19:21 +02:00
438753f285
pkg/lvgl: prepare config variables for Kconfig
2021-04-28 11:19:20 +02:00
f30065e61f
pkg/lvgl: bump to v7.11.0
2021-04-28 11:19:05 +02:00
399eb85d28
Merge pull request #16404 from aabadie/pr/makefiles/update_programmer_vars_comment
...
makefiles/vars.inc.mk: update USE_PROGRAMMER_WRAPPER_SCRIPT comment
2021-04-28 10:52:38 +02:00
46cc7dedf3
tools/programmer.inc.mk: programmer wrapper is not used by default
2021-04-28 09:46:02 +02:00
99a40d8b78
makefiles/vars.inc.mk: update USE_PROGRAMMER_WRAPPER_SCRIPT comment
2021-04-28 08:42:09 +02:00
benpicco
0493292ef3
Merge pull request #15908 from benpicco/drivers/periph_common-flashpage
...
drivers/periph: flashpage: add common helper functions
2021-04-27 18:54:10 +02:00
benpicco
494ef67fd2
Merge pull request #15012 from benpicco/driver/cc2420-register
...
drivers/cc2420: register with netdev
2021-04-27 18:50:45 +02:00
Benjamin Valentin
d611a264fd
drivers/cc2420: register with netdev
2021-04-27 17:37:52 +02:00
Benjamin Valentin
49585fc517
cpu/stm32: flashpage: use common helper functions
2021-04-27 16:52:37 +02:00
Benjamin Valentin
917cf85225
drivers/periph: flashpage: add common helper functions
2021-04-27 16:52:36 +02:00
Leandro Lanzieri
52314cece8
Merge pull request #16400 from haukepetersen/fix_bmx280_xtimerdep
...
driver/bmx280: remove unused xtimer dependency
2021-04-27 15:41:53 +02:00
Francisco
31a6aa1c9c
Merge pull request #16307 from iosabi/esp_table
...
esptool: Allow to pass the partition table CSV.
2021-04-27 14:26:51 +02:00
Hauke Petersen
0b1ca863a1
tests/driver_bmx280: add xtimer dependency
2021-04-27 14:24:28 +02:00
Hauke Petersen
9aa2154d3a
driver/bmx280: remove unused xtimer dependency
2021-04-27 14:24:28 +02:00
Hauke Petersen
674d6521c5
boards/nrf52840dongle: add I2C pin configuration
2021-04-27 13:55:39 +02:00
Hauke Petersen
729387e090
boards/nrf52840: fix SPI pin configuration
2021-04-27 13:55:39 +02:00
Hauke Petersen
96e36995d3
boards/nrf52840dongle: PWM config: fix formatting
2021-04-27 11:35:37 +02:00
Karl Fessel
827572d771
examples/nanocoap_server: remove unneed case block
2021-04-27 10:16:15 +02:00
Fabian Hüßler
346f92f663
sys/net/link_layer/ieee802154: stricter names for security types
...
stricter prefixing of security related types and constants with
"ieee802154_sec_"
2021-04-27 08:54:19 +02:00
Fabian Hüßler
9390b3072b
sys/net/link_layer/ieee802154: add missing const
2021-04-27 08:54:19 +02:00
Fabian Hüßler
1f0c62fbc8
sys/net/link_layer/ieee802154: move _set_key _sec_ecb _sec_cbc together
2021-04-27 08:54:19 +02:00
Fabian Hüßler
7036c2b9ee
sys/net/link_layer/ieee802154: fix small typos
2021-04-27 08:54:19 +02:00
Fabian Hüßler
43f1470abc
sys/net/link_layer/ieee802154: fix small copy paste bug
2021-04-27 08:54:19 +02:00