mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-10 11:59:05 +02:00
Rename files to new names.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -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.
|
# Copyright (c) 2022 Pol Henarejos.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
@@ -167,12 +167,12 @@ if (ENABLE_EMULATION)
|
|||||||
set(INCLUDES ${INCLUDES}
|
set(INCLUDES ${INCLUDES}
|
||||||
${CMAKE_CURRENT_LIST_DIR}/src/usb/emulation
|
${CMAKE_CURRENT_LIST_DIR}/src/usb/emulation
|
||||||
)
|
)
|
||||||
if (NOT TARGET pico_hsm_sdk)
|
if (NOT TARGET pico_keys_sdk)
|
||||||
add_impl_library(pico_hsm_sdk)
|
add_impl_library(pico_keys_sdk)
|
||||||
target_sources(pico_hsm_sdk INTERFACE
|
target_sources(pico_keys_sdk INTERFACE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
)
|
)
|
||||||
target_include_directories(pico_hsm_sdk INTERFACE
|
target_include_directories(pico_keys_sdk INTERFACE
|
||||||
${INCLUDES}
|
${INCLUDES}
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
@@ -190,18 +190,18 @@ else()
|
|||||||
set(SOURCES ${SOURCES}
|
set(SOURCES ${SOURCES}
|
||||||
${CMAKE_CURRENT_LIST_DIR}/src/usb/usb_descriptors.c
|
${CMAKE_CURRENT_LIST_DIR}/src/usb/usb_descriptors.c
|
||||||
)
|
)
|
||||||
if (NOT TARGET pico_hsm_sdk)
|
if (NOT TARGET pico_keys_sdk)
|
||||||
pico_add_library(pico_hsm_sdk)
|
pico_add_library(pico_keys_sdk)
|
||||||
|
|
||||||
target_sources(pico_hsm_sdk INTERFACE
|
target_sources(pico_keys_sdk INTERFACE
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(pico_hsm_sdk INTERFACE
|
target_include_directories(pico_keys_sdk INTERFACE
|
||||||
${INCLUDES}
|
${INCLUDES}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(pico_hsm_sdk INTERFACE ${LIBRARIES})
|
target_link_libraries(pico_keys_sdk INTERFACE ${LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
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.
|
* Copyright (c) 2022 Pol Henarejos.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _HSM_H_
|
#ifndef _PICO_KEYS_H_
|
||||||
#define _HSM_H_
|
#define _PICO_KEYS_H_
|
||||||
|
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#ifndef ENABLE_EMULATION
|
#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.
|
* Copyright (c) 2022 Pol Henarejos.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
@@ -18,9 +18,9 @@
|
|||||||
#ifndef __VERSION_H_
|
#ifndef __VERSION_H_
|
||||||
#define __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 PICO_KEYS_SDK_VERSION_MAJOR ((PICO_KEYS_SDK_VERSION >> 8) & 0xff)
|
||||||
#define HSM_SDK_VERSION_MINOR (HSM_SDK_VERSION & 0xff)
|
#define PICO_KEYS_SDK_VERSION_MINOR (PICO_KEYS_SDK_VERSION & 0xff)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in New Issue
Block a user