Rename files to new names.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
d0dc786f74
commit
09276f7117
3 changed files with 17 additions and 17 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# This file is part of the Pico HSM SDK distribution (https://github.com/polhenarejos/pico-hsm-sdk).
|
||||
# This file is part of the Pico Keys SDK distribution (https://github.com/polhenarejos/pico-keys-sdk).
|
||||
# Copyright (c) 2022 Pol Henarejos.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
|
|
@ -167,12 +167,12 @@ if (ENABLE_EMULATION)
|
|||
set(INCLUDES ${INCLUDES}
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/usb/emulation
|
||||
)
|
||||
if (NOT TARGET pico_hsm_sdk)
|
||||
add_impl_library(pico_hsm_sdk)
|
||||
target_sources(pico_hsm_sdk INTERFACE
|
||||
if (NOT TARGET pico_keys_sdk)
|
||||
add_impl_library(pico_keys_sdk)
|
||||
target_sources(pico_keys_sdk INTERFACE
|
||||
${SOURCES}
|
||||
)
|
||||
target_include_directories(pico_hsm_sdk INTERFACE
|
||||
target_include_directories(pico_keys_sdk INTERFACE
|
||||
${INCLUDES}
|
||||
)
|
||||
endif()
|
||||
|
|
@ -190,18 +190,18 @@ else()
|
|||
set(SOURCES ${SOURCES}
|
||||
${CMAKE_CURRENT_LIST_DIR}/src/usb/usb_descriptors.c
|
||||
)
|
||||
if (NOT TARGET pico_hsm_sdk)
|
||||
pico_add_library(pico_hsm_sdk)
|
||||
if (NOT TARGET pico_keys_sdk)
|
||||
pico_add_library(pico_keys_sdk)
|
||||
|
||||
target_sources(pico_hsm_sdk INTERFACE
|
||||
target_sources(pico_keys_sdk INTERFACE
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
target_include_directories(pico_hsm_sdk INTERFACE
|
||||
target_include_directories(pico_keys_sdk INTERFACE
|
||||
${INCLUDES}
|
||||
)
|
||||
|
||||
target_link_libraries(pico_hsm_sdk INTERFACE ${LIBRARIES})
|
||||
target_link_libraries(pico_keys_sdk INTERFACE ${LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* This file is part of the Pico HSM SDK distribution (https://github.com/polhenarejos/pico-hsm-sdk).
|
||||
* This file is part of the Pico Keys SDK distribution (https://github.com/polhenarejos/pico-keys-sdk).
|
||||
* Copyright (c) 2022 Pol Henarejos.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
|
@ -15,8 +15,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _HSM_H_
|
||||
#define _HSM_H_
|
||||
#ifndef _PICO_KEYS_H_
|
||||
#define _PICO_KEYS_H_
|
||||
|
||||
#include "file.h"
|
||||
#ifndef ENABLE_EMULATION
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* This file is part of the Pico HSM SDK distribution (https://github.com/polhenarejos/pico-hsm-sdk).
|
||||
* This file is part of the Pico Keys SDK distribution (https://github.com/polhenarejos/pico-keys-sdk).
|
||||
* Copyright (c) 2022 Pol Henarejos.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
|
@ -18,9 +18,9 @@
|
|||
#ifndef __VERSION_H_
|
||||
#define __VERSION_H_
|
||||
|
||||
#define HSM_SDK_VERSION 0x0400
|
||||
#define PICO_KEYS_SDK_VERSION 0x0400
|
||||
|
||||
#define HSM_SDK_VERSION_MAJOR ((HSM_SDK_VERSION >> 8) & 0xff)
|
||||
#define HSM_SDK_VERSION_MINOR (HSM_SDK_VERSION & 0xff)
|
||||
#define PICO_KEYS_SDK_VERSION_MAJOR ((PICO_KEYS_SDK_VERSION >> 8) & 0xff)
|
||||
#define PICO_KEYS_SDK_VERSION_MINOR (PICO_KEYS_SDK_VERSION & 0xff)
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Reference in a new issue