Skip to content

Commit

Permalink
kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Jan 23, 2025
1 parent 31071cc commit 0162d6a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .west/config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[manifest]
path = lib/zephyr
path = examples
file = west.yml

[zephyr]
Expand Down
6 changes: 6 additions & 0 deletions examples/device/cdc_msc/prj.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG_GPIO=y
CONFIG_FPU=y
CONFIG_NO_OPTIMIZATIONS=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_NRFX_POWER=y
CONFIG_NRFX_UARTE0=y
12 changes: 12 additions & 0 deletions examples/west.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
manifest:
remotes:
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos
projects:
- name: zephyr
remote: zephyrproject-rtos
revision: main
path: lib/zephyr
import: true
self:
path: .
1 change: 1 addition & 0 deletions hw/bsp/nrf/boards/pca10056/board_aliases.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(pca10056_BOARD_ALIAS nrf52840dk/nrf52840)

0 comments on commit 0162d6a

Please sign in to comment.