summaryrefslogtreecommitdiff
path: root/src/avr/ao_avr_stdio.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-20 02:59:40 -0800
committerKeith Packard <keithp@keithp.com>2017-02-20 12:32:50 -0800
commit839eadbc8e5694842eb498c6e47cfbf08ba8fbf4 (patch)
tree68d81c5df977993c91c823951dc826403fa75a8d /src/avr/ao_avr_stdio.c
parent088ddbb177efc8be2fc467524dc1668553080d3b (diff)
altos/stm: Allow use basepri instead of primask for masking interrupts
This allows for high priority interrupts (priority 0) to run, even when other interrupts are blocked. Code executing in such interrupt handlers must not attempt to control task execution as that will race with the scheduler. Select this by defining AO_NONMASK_INTERRUPT in ao_pins.h. non-maskable interrupt priority is AO_STM_NVIC_NONMASK_PRIORITY Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr/ao_avr_stdio.c')
0 files changed, 0 insertions, 0 deletions