Skip to content

Commit c74bcf8

Browse files
Merge pull request #9 from kimanimichael/f/hsm_as_submodule
Use mk-hsm
2 parents 1347bc9 + c765153 commit c74bcf8

File tree

11 files changed

+10
-382
lines changed

11 files changed

+10
-382
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "mk-hsm"]
2+
path = mk-hsm
3+
url = git@github.com:kimanimichael/mk-hsm.git

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ if(PORT STREQUAL "ESP32")
2121
set(EXTRA_COMPONENT_DIRS drivers/)
2222
idf_build_component(drivers)
2323

24-
set(EXTRA_COMPONENT_DIRS hsm/)
25-
idf_build_component(hsm)
24+
set(EXTRA_COMPONENT_DIRS mk-hsm/)
25+
idf_build_component(mk-hsm)
2626

2727

2828
add_definitions(-DESP32)
@@ -51,7 +51,7 @@ elseif(PORT STREQUAL "STM32F429ZI")
5151
add_subdirectory(${MBED_PATH})
5252
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/drivers)
5353
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/src)
54-
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/hsm)
54+
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/mk-hsm)
5555

5656
add_executable(${APP_TARGET})
5757
mbed_configure_app_target(${APP_TARGET})
@@ -61,7 +61,7 @@ elseif(PORT STREQUAL "STM32F429ZI")
6161
mbed-os
6262
drivers
6363
src
64-
hsm
64+
mk-hsm
6565
)
6666
mbed_set_post_build(${APP_TARGET})
6767

drivers/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ else ()
2929
"../services/"
3030
REQUIRES
3131
"driver"
32-
"hsm"
32+
"mk-hsm"
3333
)
3434
endif ()

hsm/CMakeLists.txt

Lines changed: 0 additions & 29 deletions
This file was deleted.

hsm/hsm.cpp

Lines changed: 0 additions & 49 deletions
This file was deleted.

hsm/include/hsm.h

Lines changed: 0 additions & 65 deletions
This file was deleted.

hsm/ports/ESP32/ESP32_fsm.cpp

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)