update readmes and fix compilation for Keil/AC5
This commit is contained in:
@@ -199,6 +199,9 @@ For generic code revision information, please refer to the readme_threadx_generi
|
||||
file, which is included in your distribution. The following details the revision
|
||||
information associated with this specific port of ThreadX:
|
||||
|
||||
03-02-2021 The following files were changed/added for version 6.1.5:
|
||||
tx_thread_schedule.s Added low power feature
|
||||
|
||||
09-30-2020 Initial ThreadX 6.1 version for Cortex-M4 using AC5 tools.
|
||||
|
||||
|
||||
|
||||
@@ -245,19 +245,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}
|
||||
|
||||
Reference in New Issue
Block a user