Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
import c2usb not as submodule, but as zephyr module
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekkupper committed Nov 19, 2024
1 parent f07865b commit 297f5c4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@
[submodule "lib/SDK_2.8.0_MKL17Z32xxx4"]
path = lib/SDK_2.8.0_MKL17Z32xxx4
url = https://github.com/UltimateHackingKeyboard/SDK_2.8.0_MKL17Z32xxx4.git
[submodule "lib/c2usb"]
path = lib/c2usb
url = https://github.com/IntergatedCircuits/c2usb.git
4 changes: 0 additions & 4 deletions device/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ if(NOT BOARD STREQUAL "uhk-60-right")
# C headers compiled with C++ give pointer conversion errors, turn them to warnings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")

set(C2USB_PATH "c2usb")

add_subdirectory(${C2USB_PATH})

# Link app to c2usb
target_link_libraries(app PRIVATE
c2usb
Expand Down
2 changes: 0 additions & 2 deletions device/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,3 @@ configdefault BT_DEVICE_APPEARANCE
# to these application-specific defaults instead of the unconditional default in the Zephyr Kconfig tree.
# https://github.com/nrfconnect/sdk-nrf/blob/4b9841a28e97e9d61b93f8981375d644b9d04ea0/samples/bluetooth/mesh/light/Kconfig#L11C1-L13C30
source "Kconfig.zephyr"

rsource "c2usb/c2usb/port/zephyr/Kconfig"
1 change: 0 additions & 1 deletion device/c2usb

This file was deleted.

1 change: 0 additions & 1 deletion lib/c2usb
Submodule c2usb deleted from db88eb
8 changes: 7 additions & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ manifest:
url-base: https://github.com/nrfconnect
- name: zephyr
url-base: https://github.com/zephyrproject-rtos
- name: IntergatedCircuits
url-base: https://github.com/IntergatedCircuits

projects:
- name: sdk-nrf
Expand All @@ -30,5 +32,9 @@ manifest:

- name: hal_nxp
remote: zephyr
path: nrfconnect/zephyr-hal-nxp
clone-depth: 1

- name: c2usb
remote: IntergatedCircuits
revision: f87ab2109d0312704c3171f020a25bf143bb65c2
clone-depth: 1

0 comments on commit 297f5c4

Please sign in to comment.