LPC55S69: warning in SDK ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S69: warning in SDK ?

649 Views
EugeneHiihtaja
Senior Contributor I

Hello !

I have this warning in SDK and it not looks so good.

../CMSIS/core_cm33.h:2353:32: warning: array subscript 4294967294 is above array bounds of 'volatile uint8_t[12]' {aka 'volatile unsigned char[12]'} [-Warray-bounds]
return(((uint32_t)SCB->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));

How I can suppress it ?

Regards,

Eugene

Labels (1)
0 Kudos
5 Replies

526 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Eugene Hiihtaja,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
Before answering your question, I'd like to know more information about the phenomenon you mentioned, for instance, which demo in the SDK library you compile, which IDE you used, etc.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

526 Views
EugeneHiihtaja
Senior Contributor I

Hi jeremyzhou‌ !

I'm using everything latest.

I can see this file have version V5.1.0 at header of it.

Regards,

Eugene

0 Kudos

526 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Eugene Hiihtaja,

Thanks for your reply.
I use the IAR to open a demo for testing, and the warning information doesn't raise out actually.
BTW, the SDK library is SDK_2.7.0.

pastedImage_1.png

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

526 Views
EugeneHiihtaja
Senior Contributor I

Hi jeremyzhou‌ !

I mean SDK2.7.1 and MCUXpresso IDE v11.1.1 [Build 3241]  under Windows for be more precise.

Other compilers are separate story.

Regards,

Eugene

0 Kudos

526 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Eugene Hiihtaja,

Thanks for your reply.
I also use the MCUXpresso IDE for testing, and the warning message doesn't raise out actually.

pastedImage_1.png

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos