Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Issue with source/bsp.cpp #3

Open
wallarug opened this issue Mar 18, 2020 · 0 comments
Open

Latest Issue with source/bsp.cpp #3

wallarug opened this issue Mar 18, 2020 · 0 comments

Comments

@wallarug
Copy link
Owner

source/bsp.cpp
In file included from lib//samd51/samd51a/include/samd51g19a.h:523:0,
                 from lib//samd51/samd51a/include/sam.h:36,
                 from ./bsp/bsp_nvmctrl.h:4,
                 from source/bsp.cpp:38:
lib/cmsis/CMSIS/Include/core_cm4.h: In static member function 'static void QP::QF::onStartup()':
lib/cmsis/CMSIS/Include/core_cm4.h:1497:44: error: array subscript is above array bounds [-Werror=array-bounds]
   NVIC->ISER[(uint32_t)((int32_t)IRQn) >> 5] = (uint32_t)(1 << ((uint32_t)((int32_t)IRQn) & (uint32_t)0x1F)); /* enable interrupt */
                                            ^
cc1plus: all warnings being treated as errors
Makefile:200: recipe for target 'build/robohatmm1/source/bsp.o' failed
make: *** [build/robohatmm1/source/bsp.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant