You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "royfengsss (via GitHub)" <gi...@apache.org> on 2023/05/27 10:20:25 UTC
[GitHub] [nuttx] royfengsss opened a new pull request, #9408: esp32: Fix build issues for SoftAP mode
royfengsss opened a new pull request, #9408:
URL: https://github.com/apache/nuttx/pull/9408
## Summary
This PR fixes the build issue uder SoftAP only (not co-existance) situation.
1. Add a `softap` config
2. fix the link error with `esp32-devkitc:softap` config
```
LD: nuttx
xtensa-esp32-elf-ld: /home/u0228848401/workdir/contribution/royfengsss/nuttx/staging/libarch.a(esp32_wifi_adapter.o):(.literal.esp_wifi_softap_txpower+0x0): unde
fined reference to `esp_wifi_sta_txpower'
xtensa-esp32-elf-ld: /home/u0228848401/workdir/contribution/royfengsss/nuttx/staging/libarch.a(esp32_wifi_adapter.o):(.literal.esp_wifi_softap_channel+0x0): unde
fined reference to `esp_wifi_sta_channel'
xtensa-esp32-elf-ld: /home/u0228848401/workdir/contribution/royfengsss/nuttx/staging/libarch.a(esp32_wifi_adapter.o):(.literal.esp_wifi_softap_country+0x0): unde
fined reference to `esp_wifi_sta_country'
xtensa-esp32-elf-ld: /home/u0228848401/workdir/contribution/royfengsss/nuttx/staging/libarch.a(esp32_wifi_adapter.o): in function `esp_wifi_softap_txpower':
esp32_wifi_adapter.c:(.text.esp_wifi_softap_txpower+0x8): undefined reference to `esp_wifi_sta_txpower'
xtensa-esp32-elf-ld: /home/u0228848401/workdir/contribution/royfengsss/nuttx/staging/libarch.a(esp32_wifi_adapter.o): in function `esp_wifi_softap_channel':
esp32_wifi_adapter.c:(.text.esp_wifi_softap_channel+0x8): undefined reference to `esp_wifi_sta_channel'
xtensa-esp32-elf-ld: /home/u0228848401/workdir/contribution/royfengsss/nuttx/staging/libarch.a(esp32_wifi_adapter.o): in function `esp_wifi_softap_country':
esp32_wifi_adapter.c:(.text.esp_wifi_softap_country+0x8): undefined reference to `esp_wifi_sta_country'
```
3. Fixes the build warning with `esp32-devkitc:softap` config
```
CC: chip/esp32_wifi_adapter.c chip/esp32_wifi_adapter.c:4015:12: warning: 'esp_wifi_cipher_trans' defined but not used [-Wunused-function]
static int esp_wifi_cipher_trans(uint32_t wifi_cipher)
^~~~~~~~~~~~~~~~~~~~~
chip/esp32_wifi_adapter.c:3969:12: warning: 'esp_wifi_auth_trans' defined but not used [-Wunused-function]
static int esp_wifi_auth_trans(uint32_t wifi_auth)
^~~~~~~~~~~~~~~~~~~
```
## Impact
SoftAP mode build issue fix. No impact to station mode or co-existance mode.
## Testing
with `esp32-devkitc:softap` configured and build. The error has been fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] masayuki2009 merged pull request #9408: esp32: Fix build issues for SoftAP mode
Posted by "masayuki2009 (via GitHub)" <gi...@apache.org>.
masayuki2009 merged PR #9408:
URL: https://github.com/apache/nuttx/pull/9408
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org