+/rtos

git clone https://git.julia.blue/+/rtos

Joseph RyanAdd stack overflow detection with the MPUb9fc7f5

master
239 B18 linesraw
1.cpu cortex-m4
2.fpu fpv4-sp-d16
3.syntax unified
4.thumb
5.text
6
7.thumb_func
8.global start_critical
9start_critical:
10    MRS   R0, PRIMASK
11    CPSID I
12    BX    LR
13
14.thumb_func
15.global end_critical
16end_critical:
17    MSR PRIMASK, R0
18    BX  LR