cortex-m-rt 0.6.7

Minimal runtime / startup for Cortex-M microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
  # LLD requires that the section flags are explicitly set here
  .section .HardFaultTrampoline, "ax"
  .global HardFaultTrampoline
  # .type and .thumb_func are both required; otherwise its Thumb bit does not
  # get set and an invalid vector table is generated
  .type HardFaultTrampoline,%function
  .thumb_func
HardFaultTrampoline:
  mrs r0, MSP
  b HardFault