You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/31 12:00:46 UTC

[GitHub] [incubator-nuttx] fjpanag commented on pull request #7448: Added DHCSR definitions for ARMv7 & ARMv8.

fjpanag commented on PR #7448:
URL: https://github.com/apache/incubator-nuttx/pull/7448#issuecomment-1296984412

   > @fjpanag please fix these redefinition errors, like this:
   > 
   > ```
   > In file included from chip/stm32l5_irq.c:36:
   > /github/workspace/sources/nuttx/arch/arm/src/armv8-m/nvic.h:812: error: "NVIC_DHCSR_S_SDE" redefined [-Werror]
   >   812 | #define NVIC_DHCSR_S_SDE                (1 << 21) /* Bit 21: Non-secure unprivileged halting debug enabled. */
   >       | 
   > /github/workspace/sources/nuttx/arch/arm/src/armv8-m/nvic.h:811: note: this is the location of the previous definition
   >   811 | #define NVIC_DHCSR_S_SDE                (1 << 20) /* Bit 20: Secure debug enable. */
   >       | 
   > cc1: all warnings being treated as errors
   > make[1]: *** [Makefile:144: stm32l5_irq.o] Error 1
   > ```
   
   Fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org