Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Stolyarov <i.stolyarov@thirdpin.ru>2019-08-29 18:56:40 +0300
committerIlya Stolyarov <i.stolyarov@thirdpin.ru>2019-08-29 18:56:40 +0300
commit173b4b9f5e200323e2749256f841d9a09918b5f7 (patch)
treefbe638cc4a0d274bddef030bca47d9b271a5e45a
parent8da206bb5556d35d0c90b88b380e74801b4049fd (diff)
IMPR: [isr] Possibility not to use cm3cpp_irqadagio_ivs
-rw-r--r--irq/cm3cpp_irq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/irq/cm3cpp_irq.cpp b/irq/cm3cpp_irq.cpp
index 1e1dd0d..313809c 100644
--- a/irq/cm3cpp_irq.cpp
+++ b/irq/cm3cpp_irq.cpp
@@ -1,7 +1,7 @@
#include "cm3cpp_irq.h"
#define DEFINE_CALLBACK(cfunc, int_enum) \
- void cfunc(void) \
+ [[gnu::weak]] void cfunc(void) \
{ \
const uint32_t indx = static_cast<uint32_t>(Interrupt::int_enum); \
isr_vector_table[indx]->call(); \