Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to nRF Connect SDK 2.5 #165

Merged
merged 3 commits into from
Nov 8, 2023
Merged

Update to nRF Connect SDK 2.5 #165

merged 3 commits into from
Nov 8, 2023

Conversation

rbaron
Copy link
Owner

@rbaron rbaron commented Nov 7, 2023

Release notes

Relevant (breaking warning) changes:

  • CONFIG_GPIO_AS_PINRESET deprecation
  • Removed unused CONFIG_PM
    • Not relevant for nRF52 chips, 2.5 sdk started warning about it

@rbaron
Copy link
Owner Author

rbaron commented Nov 7, 2023

I did a quick sanity check on some of the samples:

blinky

Yep, still blinks

input

Yep, still inputs:

[00:00:01.200,195] <dbg> adc: get_soil_moisture_percent: Read soil moisture 2: -2.09 | Raw 533 | Batt: 2.94 | Dry: 525.19 | Wet: 151.46
[00:00:01.200,256] <dbg> adc: get_soil_moisture_percent: Read soil moisture 2: -2.09 | Raw 533 | Batt: 2.94 | Dry: 525.19 | Wet: 151.46
[00:00:01.210,388] <dbg> adc: prst_adc_photo_read: Read phototransistor: 0 lx | 0.00 V
[00:00:01.233,428] <dbg> shtc3: prst_shtc3_read: Read temp: 20.320587 oC (20)
[00:00:02.033,905] <inf> main: Main loop.
[00:00:04.016,418] <inf> main: Button pressed (debounced)
[00:00:04.192,413] <inf> main: Button released (debounced)
[00:00:05.178,497] <inf> main: Button pressed (debounced)
[00:00:05.363,739] <inf> main: Button released (debounced)
[00:00:06.586,547] <inf> main: Button pressed (debounced)
[00:00:06.744,110] <inf> main: Button released (debounced)

soil_read_loop

*** Booting nRF Connect SDK v2.5.0 ***
[00:00:00.366,180] <dbg> pwm_nrfx: pwm_nrfx_set_cycles: channel 0, pulse 16, period 32, prescaler: 0.
[00:00:00.366,180] <inf> main: input_voltage;soil_adc_output
[00:00:00.866,363] <inf> main: 2.97;530
[00:00:01.366,546] <inf> main: 2.96;531
[00:00:01.866,668] <inf> main: 2.98;533
[00:00:02.366,821] <inf> main: 2.96;529
[00:00:02.866,973] <inf> main: 2.96;530
[00:00:03.367,095] <inf> main: 2.99;533
[00:00:03.867,248] <inf> main: 2.96;530
[00:00:04.367,401] <inf> main: 2.96;529
[00:00:04.867,523] <inf> main: 2.98;531
[00:00:05.367,675] <inf> main: 2.96;531
[00:00:05.867,828] <inf> main: 2.95;531
[00:00:06.367,950] <inf> main: 2.98;333
[00:00:06.868,103] <inf> main: 2.96;219
[00:00:07.368,255] <inf> main: 2.96;204
[00:00:07.868,377] <inf> main: 2.98;204
[00:00:08.368,530] <inf> main: 2.96;201
[00:00:08.868,682] <inf> main: 2.97;198
...

ble

Works with BTHome, measurements shows up in Home Assistant. Quick power profile looks good:

ppk-20231107T181136

zigbee

All good with ZHA, pairs, steers after reboot. No change in baseline current consumption after steering:

ppk-20231107T194459

@rbaron rbaron merged commit 37ea3a1 into main Nov 8, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant