micropython/ports
Angus Gratton 951a10e707 esp32: Fix setting WLAN channel in AP mode.
- Previously the call to esp_wifi_set_channel() would be immediately
  overridden by calling esp_wifi_config(...) with the previous channel set.

- AP interface doesn't seem to need more than esp_wifi_config(...) to work.
  It will automatically configure 40MHz bandwidth and place the secondary
  channel using similar logic to what was being explicitly calculated here.

- However, calling esp_wifi_set_channel() on the STA interface is necessary
  if using this interface with ESP-NOW (without connecting to an AP). So
  the esp_wifi_set_channel() call is kept in for this purpose. Without
  this, tests/multi_espnow/70_channel.py fails.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2024-11-28 15:39:06 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 tests/run-tests.py: Change --target/--device options to --test-instance. 2024-11-04 12:47:47 +11:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 esp32: Fix setting WLAN channel in AP mode. 2024-11-28 15:39:06 +11:00
esp8266 ports: Make PWM duty_u16 have an upper value of 65535 across all ports. 2024-11-18 16:05:56 +11:00
mimxrt mimxrt/machine_pwm: Fix a few inconsistencies with PWM output. 2024-11-18 16:11:13 +11:00
minimal minimal: Use printf instead of echo -e. 2024-02-15 16:36:22 +11:00
nrf ports: Make PWM duty_u16 have an upper value of 65535 across all ports. 2024-11-18 16:05:56 +11:00
pic16bit pic16bit: Make it build with recent XC16 versions. 2024-10-30 17:21:30 +11:00
powerpc py/mpconfig: Disable qstr hashing at minimum feature level. 2024-01-25 16:38:17 +11:00
qemu tests/run-tests.py: Change --target/--device options to --test-instance. 2024-11-04 12:47:47 +11:00
renesas-ra renesas-ra/pendsv: Remove preemptive keyboard interrupt via PendSV. 2024-10-15 10:32:24 +11:00
rp2 rp2/README: Remove redundant global statement from example code. 2024-10-28 11:16:04 +11:00
samd samd/mboot/README.md: Add information about the bootloader source. 2024-11-18 18:31:16 +01:00
stm32 stm32/boards/ARDUINO_OPTA: Add Opta expansion module. 2024-10-25 01:19:54 +11:00
unix unix/main: Add --version command-line option. 2024-10-15 14:44:10 +11:00
webassembly tests/run-tests.py: Change --target/--device options to --test-instance. 2024-11-04 12:47:47 +11:00
windows github/workflows: Improve MSYS2-based CI builds. 2024-07-25 16:22:21 +10:00
zephyr zephyr/boards: Add support for BeagleConnect Freedom. 2024-10-15 11:44:42 +11:00