Following file: nRF5_SDK_15.2.0_9412b96/modules/nrfx/drivers/src/nrfx_saadc.c
I've now just add gcc specific unused attributes.
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
267c267
< bool result;
---
> bool result __attribute__((unused));
278c278,279
< nrfx_err_t err_code = nrfx_saadc_channel_uninit(channel);
---
> nrfx_err_t err_code __attribute__((unused));
> err_code = nrfx_saadc_channel_uninit(channel);
408c409
< bool result;
---
> bool result __attribute__((unused));
591c592
< bool result;
---
> bool result __attribute__((unused));
This is just a work around. Best would be to check why gcc trips over NRFX_ASSERT.