Fixes for FSM-55.

I realized that tail-chaining doesn't work with STM32F0.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka
2021-02-04 15:32:23 +09:00
parent 34e7673871
commit 8b6c1ebd24
3 changed files with 44 additions and 5 deletions

View File

@@ -1,3 +1,13 @@
2021-02-04 NIIBE Yutaka <gniibe@fsij.org>
* chopstx-cortex-m.c [__ARM_ARCH_6M__] (preempting): New value to
hold the pointer to preempting thread, which will become RUNNING.
(chx_timer_handler, chx_handle_intr): Save tp_next to PREEMPTING.
(preempt): Recover R0 from PREEMPTING.
* board/board-fsm-55.h (VAL_GPIO_LED_MODER): Support SWD
debugging.
2020-06-26 NIIBE Yutaka <gniibe@fsij.org>
* VERSION: 2.0