From bd18ede438a4075bb8a2562938b7cc227a69460f Mon Sep 17 00:00:00 2001 From: Andrzej Puzdrowski Date: Thu, 6 Oct 2016 14:51:56 +0200 Subject: [PATCH] Fix error in nRF5 build of Travis CI caused by request of "target hal" includes from "target cmsis" sources move form the path target/cmsis... and rename dispatch_IRQn_handler.c to the path target/.. and beter name. --- .../TARGET_NRF5/reloc_vector_table.c} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename targets/{cmsis/TARGET_NORDIC/TARGET_NRF5/dispatch_IRQn_handler.c => TARGET_NORDIC/TARGET_NRF5/reloc_vector_table.c} (95%) 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