From 5bb3ede8904d2488c60b1d7539dff2edcce87062 Mon Sep 17 00:00:00 2001 From: Andrew Leech Date: Tue, 27 Mar 2018 12:37:42 +1100 Subject: [PATCH] Comment out the assert test that requires non-existent symbols from linker --- .../sdk/drivers_nrf/adc/nrf_drv_adc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c index 3909cfcdb1..0312297e12 100644 --- a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c +++ b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF51/TARGET_MCU_NRF51822_UNIFIED/sdk/drivers_nrf/adc/nrf_drv_adc.c @@ -93,7 +93,8 @@ void nrf_drv_adc_uninit(void) void nrf_drv_adc_channel_enable(nrf_drv_adc_channel_t * const p_channel) { ASSERT(m_cb.state == NRF_DRV_STATE_INITIALIZED); - ASSERT(!is_address_from_stack(p_channel)); + // This assert has been removed as it requires non-existent symbols from linker + //ASSERT(!is_address_from_stack(p_channel)); p_channel->p_next = NULL; if (m_cb.p_head == NULL)