Open kae-made opened 1 year ago
@kae-made, The application size is over the stm32l475 RAM size, could you add "#define SAMPLE_PACKET_COUNT (16)" in nx_port.h to reduce the application size to fit stm32l475? then it can be compiled with stm32l475 linker file. We will remove the document part of STM32L475-DISCO in next sample project release, thanks for bring it up.
@wangwen-4220 , thank you for good information. I added SAMPLE_PACKET_COUNT in nx_port.h and build became success. Next step, I try to run this code. Monitoring log is as follows.
STM32L4XX Lib:
> CMSIS Device Version: 1.7.0.0.
> HAL Driver Version: 1.12.0.0.
> BSP Driver Version: 1.0.0.0.
ES-WIFI Firmware:
> Product Name: Inventek eS-WiFi
> Product ID: ISM43362-M3G-L44-SPI
> Firmware Version: C3.5.2.3.BETA9
> API Version: v3.5.2
ES-WIFI MAC Address: C4:7F:51:5:41:5A
wifi connect try 1 times
ES-WIFI Connected.
> ES-WIFI IP Address: 192.168.68.70
> ES-WIFI Gateway Address: 192.168.68.1
> ES-WIFI DNS1 Address: 255.255.255.255
> ES-WIFI DNS2 Address: 255.255.255.255
IP address: 192.168.68.70
Mask: 255.255.252.0
Gateway: 192.168.68.1
DNS Server address: 255.255.255.255
SNTP Time Sync...0.pool.ntp.org
SNTP Time Sync...1.pool.ntp.org
SNTP Time Sync...2.pool.ntp.org
SNTP Time Sync...3.pool.ntp.org
SNTP Time Sync...0.pool.ntp.org
SNTP Time Sync...1.pool.ntp.org
SNTP Time Sync...2.pool.ntp.org
SNTP Time Sync...3.pool.ntp.org
It seems that DNS server initialization failed. Is this same problem of https://github.com/azure-rtos/getting-started/issues/388 ?
Yes, please give it a try.
I confirmed that B-L4S5I-IOT01A app run on STM32 B-L475. The cause of DNS client problem was the same as https://github.com/azure-rtos/getting-started/issues/388. It's OK to close this issue.
Thank you!
I'm tring https://github.com/azure-rtos/samples/releases/download/v6.2_rel/Azure_RTOS_6.2_STM32L4+-DISCO_STM32CubeIDE_Samples_2022_11_30.zip. I've worked according to Azure_RTOS_STM32L4+-DISCO_Azure_IoT_Embedded_SDK_For_STM32CubeIDE.pdf. This document describe that
The board I'm using STM32 B-L475E so I do this selection and build. But build error occurs.
When I select STM32L4SSVITX_FLASH.ld, this build success. Please let me know how to fix this problem.