Skip to content

Commit

Permalink
zephyr: 05_golioth: update code eamples for Golioth SDK v0.15.0
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Szczys <[email protected]>
  • Loading branch information
szczys committed Oct 29, 2024
1 parent 5bda8ef commit 7e36e71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,7 @@ int main(void)
k_timer_start(&my_timer, K_MSEC(200), K_MSEC(200));

/* Start network connection (if necessary) */
#ifdef CONFIG_BOARD_NRF7002DK_NRF5340_CPUAPP
wifi_connect();
#else
if (IS_ENABLED(CONFIG_GOLIOTH_SAMPLE_COMMON)) {
net_connect();
}
#endif
net_connect();

// highlight-start
const struct golioth_client_config *client_config = golioth_sample_credentials_get();
Expand Down
11 changes: 3 additions & 8 deletions website/docs/zephyr-training/05_golioth/west_manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ manifest:
projects:
- name: golioth
path: modules/lib/golioth-firmware-sdk
revision: v0.13.1
revision: v0.15.0
url: https://github.com/golioth/golioth-firmware-sdk
submodules: true
west-commands: scripts/west-commands.yml
Expand All @@ -97,19 +97,14 @@ manifest:
- hostap
- mbedtls
- mbedtls-nrf
- mcuboot
- net-tools
- nrfxlib
- qcbor
- segger
- tfm-mcuboot
- tinycrypt
- oberon-psa-crypto
- trusted-firmware-m
- zcbor

- name: zephyr-network-info
path: deps/modules/lib/network-info
revision: v1.1.1
revision: v1.2.1
url: https://github.com/golioth/zephyr-network-info

self:
Expand Down

0 comments on commit 7e36e71

Please sign in to comment.