File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ BUILD_ASSERT((NRF_SAADC_AIN0 == NRF_SAADC_INPUT_AIN0) &&
6666 "Definitions from nrf-adc.h do not match those from nrf_saadc.h" );
6767#endif
6868
69- #if defined(CONFIG_SOC_NRF54H20 ) || defined( CONFIG_SOC_NRF9280 )
69+ #if defined(CONFIG_NRF_PLATFORM_HALTIUM )
7070
71- /* nRF54H20 and nRF9280 always use bounce buffers in RAM */
71+ /* Haltium devices always use bounce buffers in RAM */
7272
7373#define SAADC_MEMORY_SECTION \
7474 COND_CODE_1(DT_NODE_HAS_PROP(DT_NODELABEL(adc), memory_regions), \
@@ -80,7 +80,7 @@ static uint16_t adc_samples_buffer[SAADC_CH_NUM] SAADC_MEMORY_SECTION;
8080
8181#define ADC_BUFFER_IN_RAM
8282
83- #endif /* defined(CONFIG_SOC_NRF54H20) || defined(CONFIG_SOC_NRF9280 ) */
83+ #endif /* defined(CONFIG_NRF_PLATFORM_HALTIUM ) */
8484
8585struct driver_data {
8686 struct adc_context ctx ;
@@ -669,7 +669,7 @@ static const struct adc_driver_api adc_nrfx_driver_api = {
669669#endif
670670#if defined(CONFIG_SOC_NRF54L15 )
671671 .ref_internal = 900 ,
672- #elif defined(CONFIG_SOC_NRF54H20 ) || defined( CONFIG_SOC_NRF9280 )
672+ #elif defined(CONFIG_NRF_PLATFORM_HALTIUM )
673673 .ref_internal = 1024 ,
674674#else
675675 .ref_internal = 600 ,
You can’t perform that action at this time.
0 commit comments