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 20, 2024
1 parent 3e632c5 commit e8ed467
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 18 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.

6 changes: 0 additions & 6 deletions device/prj.conf.overlays/c2usb.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
CONFIG_CPP=y
CONFIG_STD_CPP20=y
CONFIG_NEWLIB_LIBC=y
CONFIG_GLIBCXX_LIBCPP=y

# CONFIG_UDC_DRIVER=y
CONFIG_UDC_DRIVER_LOG_LEVEL_WRN=y
CONFIG_WARN_EXPERIMENTAL=n

Expand Down
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: 19551fec19680cfe759bb3a8dced914233e4ddd1
clone-depth: 1

0 comments on commit e8ed467

Please sign in to comment.