Go to file
Carles Cufi 41bcac3f1c arm: nvic: Fix exception priority access on Cortex-M0(+)
The Cortex-M0(+) and in general processors that support only the ARMv6-M
instruction set can only access the NVIC_IPRn registers with word
accesses, and not with byte ones like the Cortex-M3 and onwards. This
patch addresses the issue by modifying the way that _NvicIrqPrioSet()
writes to the IPRn register, using a word access for Cortex-M0(+).
A similar issue is addressed for internal exceptions, this time for the
SHPR registers that are accessed differently on ARMv6-M.

Reference code taken from CMSIS.

Jira: ZEP-1497

Change-id: I08e1bf60b3b70579b42f4ab926ee835c18bb65bb
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-01-03 22:44:31 +00:00
.known-issues known-issues: update rule for TCF summary line 2016-09-16 11:31:27 -07:00
arch logging: move event_logger to subsys/logging 2016-12-25 14:34:43 -05:00
boards boards/arduino101: Enable GPIO 2016-12-25 19:16:37 +00:00
doc doc: move c library section to subsystems 2017-01-03 17:31:58 +00:00
drivers shell: move shell to its own subsystem 2016-12-25 19:35:11 +00:00
ext ext: Update Nordic MDK header files 2016-12-20 09:14:48 -06:00
include arm: nvic: Fix exception priority access on Cortex-M0(+) 2017-01-03 22:44:31 +00:00
kernel logging: move event_logger to subsys/logging 2016-12-25 14:34:43 -05:00
lib net: Restructure network protocols 2017-01-02 10:03:19 +01:00
misc kernel: replace all remaining nanokernel occurances 2016-12-25 14:34:43 -05:00
samples tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
scripts sanitycheck: add --log-file to log everything to a file too 2017-01-03 19:21:31 +00:00
subsys net: shell: NET_SHELL is not NET_LOG dependent 2017-01-02 10:03:20 +01:00
tests gpio_basic_api: fix format codes 2017-01-03 20:37:40 +00:00
.checkpatch.conf checkpatch: ignore CONST_STRUCT warnings 2016-11-11 22:12:22 +00:00
.gitattributes
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
Kbuild kernel: move kernel code to kernel/ directly 2016-12-19 14:59:35 -05:00
Kconfig
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE
LICENSING.rst LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +00:00
MAINTAINERS MAINTAINERS: Update network applications section 2017-01-03 15:27:50 +00:00
Makefile kernel: move kernel code to kernel/ directly 2016-12-19 14:59:35 -05:00
Makefile.inc tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
Makefile.test tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
release-notes.rst release-note: initial import with 1.6 release notes 2016-12-03 00:06:23 -05:00
zephyr-env.sh win-build: corrects scripts_path for windows build. 2016-10-15 15:09:54 +00:00