- Adding the rest of Gnuk USB/CCID methods.

- It runs the openpgp thread in the other core (core1) and leaves the main program/ccid/usb methods running in the core 0.
- At this moment it does not call openpgp_thread.
- Compiles but it needs further debug
This commit is contained in:
Pol Henarejos
2022-01-02 00:51:54 +01:00
parent 3169139d3d
commit b217740e58
4 changed files with 1326 additions and 91 deletions

View File

@@ -14,10 +14,11 @@ add_executable(hsm2040)
target_sources(hsm2040 PUBLIC
${CMAKE_CURRENT_LIST_DIR}/hsm2040.c
${CMAKE_CURRENT_LIST_DIR}/usb_descriptors.c
# ${CMAKE_CURRENT_LIST_DIR}/openpgp-do.c
)
target_include_directories(hsm2040 PUBLIC
${CMAKE_CURRENT_LIST_DIR})
pico_add_extra_outputs(hsm2040)
target_link_libraries(hsm2040 PRIVATE pico_stdlib tinyusb_device tinyusb_board)
target_link_libraries(hsm2040 PRIVATE pico_stdlib tinyusb_device tinyusb_board pico_multicore)