[nRF7002DK]HTTPS Request example using BT

hello!

I am currently using the nRF7002DK to implement the examples from nRF dev academi. I am practicing based on lesson 5-exercise 2.

lesson 5 exercise 2

In the example, item 6 talks about the command to connect to Wi-Fi. I was trying to connect to WiFi using BT, which I had done previously.

I used lesson 2 - exercise 3 as a reference and tried to connect to WiFi using BT.

lesson 2 - exercise 3

To do this, I've unified the net_mgmt_event_handler() common to both files into one.

The file below is my actual implementation.

 eeessdddd.zip

However, I was returned an error like the one below. 

c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `rodata' will not fit in region `FLASH'
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH' overflowed by 18716 bytes
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bt.c.obj): in function `update_wifi_status_in_adv':
C:/Users/CU/Documents/vscode/workspace/eeessdddd/src/bt.c:117: undefined reference to `bt_wifi_prov_state_get'
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bt.c.obj): in function `bt':
C:/Users/CU/Documents/vscode/workspace/eeessdddd/src/bt.c:307: undefined reference to `bt_wifi_prov_init'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Here's a description of my environment.

toolchain: v2.6.2

SDKs: v2.6.2

Parents Reply Children
No Data
Related