diff --git a/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/dispatch_IRQn_handler.c b/targets/TARGET_NORDIC/TARGET_NRF5/reloc_vector_table.c similarity index 95% rename from targets/cmsis/TARGET_NORDIC/TARGET_NRF5/dispatch_IRQn_handler.c rename to targets/TARGET_NORDIC/TARGET_NRF5/reloc_vector_table.c index fad0e357bd..dc98fb323d 100644 --- a/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/dispatch_IRQn_handler.c +++ b/targets/TARGET_NORDIC/TARGET_NRF5/reloc_vector_table.c @@ -64,7 +64,10 @@ typedef void (*generic_irq_handler_t)(void); #define VECTORS_FLASH_START 0x1B000 #endif - +/** + * @brief Function for relocation of the vector to RAM on nRF5x devices. + * This function is intended to be called during startup. + */ void nrf_reloc_vector_table(void) { // Copy and switch to dynamic vectors