update readmes and fix compilation for Keil/AC5

This commit is contained in:
Scott Larson
2021-03-05 14:52:53 -08:00
parent 10a7932b9d
commit c8ed70019e
29 changed files with 87 additions and 21 deletions

View File

@@ -225,19 +225,19 @@ __tx_ts_wait
STR r1, [r0] ; Store it in the current pointer
CBNZ r1, __tx_ts_ready ; If non-NULL, a new thread is ready!
IF:DEF:TX_LOW_POWER
IF :DEF:TX_LOW_POWER
PUSH {r0-r3}
BL tx_low_power_enter ; Possibly enter low power mode
POP {r0-r3}
ENDIF
IF:DEF:TX_ENABLE_WFI
IF :DEF:TX_ENABLE_WFI
DSB ; Ensure no outstanding memory transactions
WFI ; Wait for interrupt
ISB ; Ensure pipeline is flushed
ENDIF
IF:DEF:TX_LOW_POWER
IF :DEF:TX_LOW_POWER
PUSH {r0-r3}
BL tx_low_power_exit ; Exit low power mode
POP {r0-r3}