commit | ed105761fa1257f7a43d5e0094eaf7f2052dca6f | [log] [tgz] |
---|---|---|
author | Andriy Gelman <andriy.gelman@gmail.com> | Thu Sep 08 19:02:40 2022 -0400 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Dec 23 14:57:17 2022 +0100 |
tree | cf1968d9c05d8a5410f902ddadfdf60ae3e48a53 | |
parent | 6abb9c82c95d03e77d11739db9d68d939c2c165b [diff] |
soc: arm: infineon_xmc: 4xxx: Disable unalign trap on reset The unaligned trap bit is set by default, contrary to the xmc reference manual. This PR unsets the bit in the initialization. It can still be set later via the CONFIG_TRAP_UNALIGNED_ACCESS option. Note that the same approach is used in xmc4500 reference software init code (see SystemCoreSetup() in infineon hal module). Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>