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 2021/07/23 19:43:43 UTC

[GitHub] [incubator-nuttx] hartmannathan opened a new pull request #4214: arch: arm: stm: Fix STM32_EXTI2_OFFSET

hartmannathan opened a new pull request #4214:
URL: https://github.com/apache/incubator-nuttx/pull/4214


   ## Summary
   
   arch/arm/src/stm32/hardware/stm32_exti.h: Change `STM32_EXTI2_OFFSET` (offset to EXTI2 registers) from 0x18 to 0x20. This symbol is defined when `CONFIG_STM32_STM32F30XX` or `CONFIG_STM32_STM32F33XX`. According to the current reference manuals for STM32F334xx (RM0364 rev 4) and STM32F302xx (RM0365 rev 8), EXTI_IMR1 is at offset 0x00 and EXTI_IMR2 is at offset 0x20, i.e., 0x20 apart. The same offset applies to the rest of the registers: EMR1/EMR2, RTSR1/RTSR2, etc.
   
   ## Impact
   
   Will affect all uses of EXTI2 on all STM32F30xx and STM32F33xx family SoCs.
   
   ## Testing
   
   **None**: Unfortunately I do not have hardware available to test this change.
   
   I could not find a STM32F30 or STM32F33 for which the RM documents a 0x18 offset; however if I missed a P/N where this is the case, please let me know.


-- 
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



[GitHub] [incubator-nuttx] raiden00pl merged pull request #4214: arch: arm: stm: Fix STM32_EXTI2_OFFSET

Posted by GitBox <gi...@apache.org>.
raiden00pl merged pull request #4214:
URL: https://github.com/apache/incubator-nuttx/pull/4214


   


-- 
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