1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp_common
Marian Buschsieweke 6d874c2882
cpu/esp_common/periph_uart: fix call to _uart_set_mode
The parameters for parity and stop bits was confused, resulting in
the following compilation error with GCC 12.2.0:

    /home/maribu/Repos/software/RIOT/cpu/esp_common/periph/uart.c: In function '_uart_config':
    /home/maribu/Repos/software/RIOT/cpu/esp_common/periph/uart.c:394:61: error: implicit conversion from 'uart_stop_bits_t' to 'uart_parity_t' -Werror=enum-conversion]
      394 |     if (_uart_set_mode(uart, _uarts[uart].data, _uarts[uart].stop,
          |                                                 ~~~~~~~~~~~~^~~~~
    /home/maribu/Repos/software/RIOT/cpu/esp_common/periph/uart.c:395:42: error: implicit conversion from 'uart_parity_t' to 'uart_stop_bits_t' -Werror=enum-conversion]
      395 |                              _uarts[uart].parity) != UART_OK) {
          |                              ~~~~~~~~~~~~^~~~~~~
    cc1: all warnings being treated as errors

This swaps the parameters.
2022-10-10 14:27:27 +02:00
..
esp-now netdev_drivers: make sure to signal LINK_UP at least once 2022-09-16 22:57:28 +02:00
esp-riscv cpu/esp_common: add module esp_riscv to Kconfig 2022-07-18 13:52:13 +02:00
esp-wifi cpu/esp_common: add netdev_register for NETDEV_ESP_WIFI 2022-08-02 09:34:59 +02:00
esp-xtensa cpu/esp_common: fix thread_arch.c for ESP32-S2 2022-08-30 15:08:39 +02:00
freertos cpu/esp_common/freertos: lock/unlock mutex if scheduling is not active 2022-09-02 08:54:31 +02:00
include Merge pull request #18226 from benpicco/cpu_get_last_instruction 2022-09-15 20:06:10 +02:00
periph cpu/esp_common/periph_uart: fix call to _uart_set_mode 2022-10-10 14:27:27 +02:00
vendor cpu/esp_common: MODULE_XTENSA has to depend on HAS_ARCH_ESP_XTENSA 2022-07-18 14:44:02 +02:00
doc.txt cpu/esp_common: added for common files for ESP SoC 2018-12-27 17:28:46 +01:00
esp_common.config sys/random/kconfig: remove HWRNG default in backend choice 2022-04-27 15:41:23 +02:00
esp_events.c cpu/esp_common: changes in event handling for ESP-IDF v4.4 2022-06-01 13:27:31 +02:00
irq_arch.c cpu/esp_common: move irq_arch xtensa code to module esp_xtensa 2022-06-25 23:22:59 +02:00
Kconfig cpu/esp*: cleanup of CPU_ARCH* and CPU_CORE* 2022-08-24 17:15:37 +02:00
lib_printf.c cpu/esp_common: small fix of lib_printf 2022-05-18 07:27:23 +02:00
Makefile cpu/esp_common: add module esp_riscv to makefiles 2022-07-18 13:51:33 +02:00
Makefile.dep cpu/esp_common: use BLE as netdev_default if nimble_netif is used 2022-08-24 09:05:25 +02:00
Makefile.features cpu/esp_common: rename architecture to riscv_esp32 to rv32 2022-07-20 17:18:56 +02:00
Makefile.include cpu/esp_common: replace FLASH_MODE_* by CONFIG_*FLASHMODE_* defines 2022-08-01 15:17:33 +02:00
syscalls.c cpu/esp_common: improve thread safety for locking functions 2022-09-02 08:54:31 +02:00
thread_arch.c cpu/esp_common: move thread_arch xtensa code to module esp_xtensa 2022-06-25 23:22:59 +02:00
tools.c esp/esp*: move common code to cpu/esp_common 2020-02-21 09:09:34 +01:00