[Cryptech-Commits] [sw/stm32] branch ksng updated (99c8452 -> 1175ff6)
git at cryptech.is
git at cryptech.is
Tue May 2 23:58:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
paul at psgd.org pushed a change to branch ksng
in repository sw/stm32.
from 99c8452 Refactor cryptech_upload to work either directly or via cryptech_muxd.
add bf394f2 Replace the RTOS with a simple cooperative tasker.
add 30c4302 Remove rtos source files.
add 4a69b83 Remove exception handlders that I probably shouldn't have defined in the first place.
add 14282a9 Port cli-test to the new task API.
add f77ba50 Simplify hsm makefile.
add e234cac Add task_delay.
add e0e97a5 cli-test doesn't use the tasker, even though it might have previously used a semaphore from the rtos
add 73b784e Add minimal mutexes to the minimal tasking system
add 2791ee8 Merge branch 'ksng' into no-rtos
add 0ebefa4 Need stdint.h if we're going to use uint32_t.
add 09b4960 Addendum to commit e0e97a5: Remove all references to the tasker from cli-test.
add 1ac75ba Add HAL_Delay as an alias for task_delay, but don't wedge if the tasker isn't running yet.
add 716694a Remove bogus counting-loop version of HAL_Delay.
add 1175ff6 Merge branch 'init_cleanup' into no-rtos
No new revisions were added by this update.
Summary of changes:
Makefile | 64 +-
libraries/mbed/rtos/Makefile | 40 -
libraries/mbed/rtos/rtos/rtos_idle.c | 51 -
libraries/mbed/rtos/rtos/rtos_idle.h | 37 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/HAL_CM.c | 170 --
.../mbed/rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h | 537 ------
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/RTX_Conf.h | 72 -
.../mbed/rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c | 342 ----
.../TARGET_RTOS_M4_M7/TOOLCHAIN_GCC/HAL_CM4.S | 405 -----
.../TARGET_RTOS_M4_M7/TOOLCHAIN_GCC/SVC_Table.S | 56 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/cmsis_os.h | 774 --------
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/os_tcb.h | 51 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_CMSIS.c | 1887 --------------------
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Event.c | 190 --
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Event.h | 46 -
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_HAL_CM.h | 276 ---
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_List.c | 320 ----
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_List.h | 67 -
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mailbox.c | 292 ---
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mailbox.h | 48 -
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_MemBox.c | 166 --
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_MemBox.h | 46 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mutex.c | 197 --
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mutex.h | 44 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Robin.c | 84 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Robin.h | 45 -
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_Semaphore.c | 183 --
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_Semaphore.h | 46 -
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_System.c | 299 ----
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_System.h | 52 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Task.c | 339 ----
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Task.h | 73 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Time.c | 94 -
libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Time.h | 47 -
.../mbed/rtos/rtx/TARGET_CORTEX_M/rt_TypeDef.h | 128 --
.../TOOLCHAIN_GCC_ARM/startup_stm32f429xx_rtos.S | 566 ------
.../TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c | 80 +-
.../TARGET_CRYPTECH_ALPHA/stm32f4xx_it_rtos.c | 265 ---
projects/board-test/Makefile | 5 +-
projects/board-test/fmc-perf.c | 15 -
projects/board-test/fmc-probe.c | 20 -
projects/board-test/fmc-test.c | 7 +-
projects/board-test/led-test.c | 1 -
projects/board-test/rtc-test.c | 70 +-
projects/board-test/short-test.c | 1 -
projects/board-test/uart-test.c | 1 -
projects/bootloader/Makefile | 1 -
projects/bootloader/bootloader.c | 8 +-
projects/cli-test/Makefile | 19 +-
projects/cli-test/cli-test.c | 4 +-
projects/cli-test/mgmt-cli.c | 17 +-
projects/cli-test/mgmt-test.c | 12 -
projects/cli-test/test_sdram.c | 1 -
projects/hsm/Makefile | 32 +-
projects/hsm/hsm.c | 393 ++--
projects/hsm/mgmt-cli.c | 22 +-
projects/hsm/mgmt-misc.c | 6 +-
stm-keystore.c => projects/hsm/mgmt-task.c | 75 +-
projects/hsm/{mgmt-thread.h => mgmt-task.h} | 14 +-
projects/hsm/mgmt-thread.c | 100 --
projects/libhal-test/Makefile | 3 -
projects/libhal-test/main.c | 11 -
projects/rtos-test/Makefile | 22 -
projects/rtos-test/mutex-test.c | 40 -
projects/rtos-test/semaphore-test.c | 34 -
projects/rtos-test/thread-test.c | 24 -
stm-flash.c | 3 +-
stm-fmc.c | 176 +-
stm-fmc.h | 4 +-
stm-fpgacfg.c | 35 +-
stm-fpgacfg.h | 3 +-
stm-init.c | 214 +--
stm-keystore.c | 28 +-
stm-keystore.h | 3 +-
stm-rtc.c | 20 +-
stm-rtc.h | 3 +-
stm-sdram.c | 502 +++---
stm-sdram.h | 95 +-
stm-uart.c | 75 +-
stm-uart.h | 2 +
task.c | 356 ++++
projects/hsm/log.c => task.h | 66 +-
82 files changed, 1321 insertions(+), 9701 deletions(-)
delete mode 100644 libraries/mbed/rtos/Makefile
delete mode 100644 libraries/mbed/rtos/rtos/rtos_idle.c
delete mode 100644 libraries/mbed/rtos/rtos/rtos_idle.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/HAL_CM.c
delete mode 100755 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/RTX_Conf.h
delete mode 100755 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_GCC/HAL_CM4.S
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_GCC/SVC_Table.S
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/cmsis_os.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/os_tcb.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_CMSIS.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Event.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Event.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_HAL_CM.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_List.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_List.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mailbox.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mailbox.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_MemBox.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_MemBox.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mutex.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Mutex.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Robin.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Robin.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Semaphore.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Semaphore.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_System.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_System.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Task.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Task.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Time.c
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_Time.h
delete mode 100644 libraries/mbed/rtos/rtx/TARGET_CORTEX_M/rt_TypeDef.h
delete mode 100644 libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/TOOLCHAIN_GCC_ARM/startup_stm32f429xx_rtos.S
delete mode 100644 libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it_rtos.c
copy stm-keystore.c => projects/hsm/mgmt-task.c (54%)
rename projects/hsm/{mgmt-thread.h => mgmt-task.h} (84%)
delete mode 100644 projects/hsm/mgmt-thread.c
delete mode 100644 projects/rtos-test/Makefile
delete mode 100644 projects/rtos-test/mutex-test.c
delete mode 100644 projects/rtos-test/semaphore-test.c
delete mode 100644 projects/rtos-test/thread-test.c
create mode 100644 task.c
copy projects/hsm/log.c => task.h (59%)
More information about the Commits
mailing list