Hi, I tried to run an adc example (https://github.com/haakonsh/NCS_SAADC_example/tree/master. ) for nrf5340 in another post ( how-to-configure-the-dma-in-adc-and-how-to-use-async-api-in-adc) . But get a list of errors related to PPI packages. Some error snippets are attached below
n file included from C:\Users\info\ncs\v1.8.0\modules\hal\nordic\nrfx\drivers\include\nrfx_ppi.h:38,
from c:\Users\info\ncs\firmware_v3\NCS_SAADC_example-master\src\main.c:10:
C:\Users\info\ncs\v1.8.0\modules\hal\nordic\nrfx\hal\nrf_ppi.h:54:25: error: 'PPI_CHEN_CH0_Pos' undeclared here (not in a function); did you mean 'DPPIC_CHEN_CH0_Pos'?
54 | NRF_PPI_CHANNEL0 = PPI_CHEN_CH0_Pos, /**< Channel 0. */
| ^~~~~~~~~~~~~~~~
| DPPIC_CHEN_CH0_Pos
C:\Users\info\ncs\v1.8.0\modules\hal\nordic\nrfx\hal\nrf_ppi.h:55:25: error: 'PPI_CHEN_CH1_Pos' undeclared here (not in a function); did you mean 'DPPIC_CHEN_CH1_Pos'?
55 | NRF_PPI_CHANNEL1 = PPI_CHEN_CH1_Pos, /**< Channel 1. */
| ^~~~~~~~~~~~~~~~
| DPPIC_CHEN_CH1_Pos
C:\Users\info\ncs\v1.8.0\modules\hal\nordic\nrfx\hal\nrf_ppi.h:56:25: error: 'PPI_CHEN_CH2_Pos' undeclared here (not in a function); did you mean 'DPPIC_CHEN_CH2_Pos'?
56 | NRF_PPI_CHANNEL2 = PPI_CHEN_CH2_Pos, /**< Channel 2. */
| ^~~~~~~~~~~~~~~~
| DPPIC_CHEN_CH2_Pos
C:\Users\info\ncs\v1.8.0\modules\hal\nordic\nrfx\hal\nrf_ppi.h:57:25: error: 'PPI_CHEN_CH3_Pos' undeclared here (not in a function); did you mean 'DPPIC_CHEN_CH3_Pos'?
57 | NRF_PPI_CHANNEL3 = PPI_CHEN_CH3_Pos, /**< Channel 3. */
| ^~~~~~~~~~~~~~~~
| DPPIC_CHEN_CH3_Pos
C:\Users\info\ncs\v1.8.0\modules\hal\nordic\nrfx\hal\nrf_ppi.h:58:25: error: 'PPI_CHEN_CH4_Pos' undeclared here (not in a function); did you mean 'DPPIC_CHEN_CH4_Pos'?
58 | NRF_PPI_CHANNEL4 = PPI_CHEN_CH4_Pos, /**< Channel 4. */
| ^~~~~~~~~~~~~~~~
| DPPIC_CHEN_CH4_Pos
C:\Users\info\ncs\v1.8.0\modules\hal\nordic\nrfx\hal\nrf_ppi.h:59:25: error: 'PPI_CHEN_CH5_Pos' undeclared here (not in a function); did you mean 'DPPIC_CHEN_CH5_Pos'?
59 | NRF_PPI_CHANNEL5 = PPI_CHEN_CH5_Pos, /**< Channel 5. */
| ^~~~~~~~~~~~~~~~
| DPPIC_CHEN_CH5_Pos
| ^~~~~~~~~~~~
It seems the nrfx_ppi.h is replaced with dppi? I am using ncs1.8. Should I change those ppi to dppi in nrfx_ppi.h ? Please help!