summaryrefslogtreecommitdiff
path: root/ports/litex
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-04-07 17:15:18 -0700
committerScott Shawcroft <scott@tannewt.org>2020-04-07 17:15:18 -0700
commit6544bf52fb87fd47c234a8ab3fc26865b124c039 (patch)
tree95abc4a6e0c10fbcdbf0973059fdd15829bc9480 /ports/litex
parentaae0ce6badacf07a07d9ac4badb8e312e26e50fb (diff)
Enable SNVS interrupt
The iMX RT has a separate wake up controller, the GPC, that replaces the NVIC when asleep. It adds the ability to only wake up on certain interrupts. It seems that it requires at least one enabled interrupt in the NVIC to turn on it's wake up circuitry. It doesn't need to be the same interrupt as the wake up signal. For example, the RTC in the SNVS can wake us up if a USB interrupt is enabled. Before then it won't work. So, we enable the SNVS interrupt on start up so it can wake us up.
Diffstat (limited to 'ports/litex')
0 files changed, 0 insertions, 0 deletions