I would like to use "wifi_credentials.c" with SLN-SVUI-IOT board.
However, an error occurs when I build the source code with "wifi_credentials.c".
Build errors occur because the "SLN_FLASH_MGMT_Erase" function does not declare.
Where can I find the "SLN_FLASH_MGMT_Erase" feature??
And where do you define values and functions in relation to SLN_FLASH_MIGMT.
How can I solve this problem?
Hi @yelin
Thank you for your new question post!
I checked the SLN_SVUI_IOT board, the onboard wifi module is the AW-AM510,
About the IW416 wifi code, I highly recommend you to refer to this RT1060 SDK:
\SDK_2_15_000_EVK-MIMXRT1060\boards\evkmimxrt1060\aws_examples\ota_demo_wifi
\SDK_2_15_000_EVK-MIMXRT1060\boards\evkmimxrt1060\wifi_examples
In fact, what you need to do is to configure the wifi at first, after it works, then you can do more high level configuration, eg, the network connection, the MQTT, the clould.
About the SLN_FLASH_MGMT_Erase, this should used for the OTA, but as I told you yesterday, the SLN-SVUI-IOT still didn't add the OTA function, I think, this is why you can't find the SLN_FLASH_MGMT_Erase, to the wifi related flash operation, I think you can comment it.
To the wifi code, you can refer to the SDK at first.
Wish it helps you!
If you still have question about it, please kindly let me know.
Best Regards,
kerry
If SLN-SVUI-IOT didn't add OTA function.. Can't I use SLN_FLASH_MGMT_Erase function?
Or do I need to annotate and build that function(SLN_FLASH_MGMT_Erase)?
Hi @yelin ,
Please tell me what's the wifi detail function you want to get?
If you just want to use the wifi to do the ENET communication, you totally can refer to my above SDK demo, no need to use SLN_FLASH_MGMT_Erase.
Wish it helps you!
Best Regards,
Kerry
I want to connect to Wi-Fi using SLN-SVUI-IOT board.
If I don't need to use SLN_FLASH_MGMT_Erase, can I annotate that part in the "wifi_credentials.c" file to disable it?
Can you tell me how to use SDK demo using WiFi?
Hi @yelin ,
SLN-SVUI-IOT is also the RT106V, and that also can run the RT1060 SDK demo.
To the wifi demo, you just need to check the pinmux.c pin, make sure the configuration pin is match to your SLN-SVUI-IOT.
Wish it helps you!
Best Regards,
Kerry
I'm not sure how to run the demo yet, but can I try it and ask for help again?
Hi @yelin ,
Sure, you can try it, even meet issues, it is no matter, you can let us know it any time you want.
And, if you just download the software, not burn the fuse, the chip will be damaged, just feel free to test to learn it, thanks.
Best Regards,
Kerry
Thank you for letting me know.
Have a nice day.