wavenumber-eng / mcxn-iot

mcxn_iot
MIT License
0 stars 0 forks source link

Add Golioth #2

Closed ehughes closed 1 month ago

ehughes commented 2 months ago

Please add golioth to this west file. See if you can get a demo project working with FRDM-MCXN947

Important note:

To get the FRDM-MCXN947 to build w/ golioth, you need to add these to the board kconfig overlay:

CONFIG_ENTROPY_GENERATOR=y CONFIG_TEST_RANDOM_GENERATOR=y

ie.e. create an board overlay in the example simliar to these: https://github.com/golioth/golioth-firmware-sdk/tree/main/examples/zephyr/hello/boards

You can move a copy of the hello sample in this repository (mcxn-iot).

ehughes commented 2 months ago

@jerpa77

I know we were having troubles with this project last week. I want to post information to the golioth website. However, I would like to you quickly try something

In the main west.yml, please reference golioth v0.14 instead of "main".

This is what they mention on their github..

image

1.) Please repeat the hello test with native sim. If it fails, please capture a .gif

2.) Please try using the MCXN947 board as well. If it fails/crashes, capture an animated gif.

Please spend an hour or two on this. I just want to see of v0.14 behaves differently.

jerpa77 commented 2 months ago

Ok, that's what I got with Golioth revision V0.14.0

native_sim

DHCPv4_client sample

image

Hello sample

image image

jerpa77 commented 2 months ago

FRDM-MCXN947

Hello sample

image image

DHCPV4_client + Golioth Sample

image

jerpa77 commented 2 months ago

I also tried moving changing the Zephyr version to 3.6.0 But it didn't work as well... image

I'm not pretty sure If I'm doing something wrong