2018-04-13 12:21 AM
Hi Team,
I have downloaded the package X-CUBE-CLD-GEN, i want to port to
http://www.st.com/en/evaluation-tools/nucleo-l4r5zi.html
, i want to know what are the changes i need to do.I'm using Atollic IDE.
i want to understand how to integrate
http://www.st.com/en/evaluation-tools/nucleo-l4r5zi.html
. Please let me know.Thanks
Phani
#porting-aws #nucleo-l4r5zi #porting-stm32l4Solved! Go to Solution.
2018-04-16 06:26 AM
Hello
There are several things to do to port Cloud applications to a new board.
you have to port the network API used by cloud software to the board you are targeting.
See the NET API files under Projects\Common\Shared\Src and Projects\Common\Shared\Inc
net.h, net.c, net_tcp_lwip.c, net_tcp_wifi.c, wifi_net.c, lwip_net.c, c2c_net.c ...
also you have to initialize correctly the net API in your application.
E.g call net_init() with the correct network interface init callback.
see platform_init() in cloud.c.
What network interface do you plan to use ?
What cloud application do you want to use ?
Guillaume.
2018-04-16 06:26 AM
Hello
There are several things to do to port Cloud applications to a new board.
you have to port the network API used by cloud software to the board you are targeting.
See the NET API files under Projects\Common\Shared\Src and Projects\Common\Shared\Inc
net.h, net.c, net_tcp_lwip.c, net_tcp_wifi.c, wifi_net.c, lwip_net.c, c2c_net.c ...
also you have to initialize correctly the net API in your application.
E.g call net_init() with the correct network interface init callback.
see platform_init() in cloud.c.
What network interface do you plan to use ?
What cloud application do you want to use ?
Guillaume.
2018-04-16 07:01 AM
Hello Guillaume,
Thanks for the response.
What i have done is i took the X-CUBE-CLD-GEN and compiled the package Generic-MQTT application to Nucleo144 L4R5ZI by just keeping the cloud_test() function with commenting all the peripheral interface. As i understand that L4 and L4+ chipset wise compatibility is there. Further more i have changed the startup_Xxx.s file to L4+.
In place of peripheral i have customized to L4R5ZI and ported.
As of now the board is stable. No issues.
Thanks