npm1300_fuel_guage sample code. Wont compile under 2.7.0 but does in 2.7.99-cs2. Debug option missing in 2.7.0 and latest sdk 2.7.99-cs2 .

In order to compile this sample i had to first update sdk and tools to 2.7.0. In 2.7.0 there is a library error as follows. (D:/Repositories/npm1300_fuel_gauge/src/fuel_gauge.c:106:69: error: incompatible type for argument 5 of 'nrf_fuel_gauge_process'
106 | soc = nrf_fuel_gauge_process(voltage, current, temp, delta, vbus_connected, NULL);)

2.7.99-cs2 compiles correctly and will flash and run but there is no longer a debug option in ACTIONS despite being optimized for debugging. See red circle below

  • Hi,

    The sample builds out of the box when I try it in v2.7.0. Please share your full build log.

    2.7.99-cs2 compiles correctly and will flash and run but there is no longer a debug option in ACTIONS despite being optimized for debugging. See red circle below

    When using sysbuild, you need to select the specific image for the debug action and some of the other actions to show up.

    Best regards,
    Marte

Related