Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

chip.h FAQ

Q: I wonder about the purpose of the two chip.h files in each arm chip.

Code Block
  $ find arch/arm -name chip.h | grep stm32
  arch/arm/include/stm32/chip.h
  arch/arm/src/stm32/chip.h

...

If CONFIG_ARMV7M_USEBASEPRI is selected, then interrupts will be disabled by setting the BASEPRI register to {{ NVIC_SYSH_DISABLE_PRIORITY }} so that most interrupts will not have execution priority.
SVCall must have execution priority in all cases.

...