diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 0000000..8c40947 --- /dev/null +++ b/CMakePresets.json @@ -0,0 +1,37 @@ +{ + "version": 2, + "cmakeMinimumRequired": { + "major": 3, + "minor": 20 + }, + "configurePresets": [ + { + "name": "build_bl54_radio0", + "displayName": "Build for nRF54l15 DK nRF54l15 Application", + "generator": "Ninja", + "binaryDir": "${sourceDir}/build_bl54_radio0", + "cacheVariables": { + "NCS_TOOLCHAIN_VERSION": "NONE", + "BOARD": "nrf54l15dk/nrf54l15/cpuapp", + "EXTRA_CONF_FILE": "iso.conf;internal_osc.conf", + "CONF_FILE": "prj.conf", + "DTC_OVERLAY_FILE": "bl54l15_radio0_new.overlay", + "BOARD_ROOT": "${sourceDir}/" + } + }, + { + "name": "build_bl54_radio1", + "displayName": "Build for nRF54l15 DK nRF54l15 Application", + "generator": "Ninja", + "binaryDir": "${sourceDir}/build_bl54_radio1", + "cacheVariables": { + "NCS_TOOLCHAIN_VERSION": "NONE", + "BOARD": "nrf54l15dk/nrf54l15/cpuapp", + "EXTRA_CONF_FILE": "iso.conf;internal_osc.conf", + "CONF_FILE": "prj.conf", + "DTC_OVERLAY_FILE": "bl54l15_radio1.overlay", + "BOARD_ROOT": "${sourceDir}/" + } + } + ] +} \ No newline at end of file diff --git a/bl54l15_radio0_new.overlay b/bl54l15_radio0_new.overlay new file mode 100644 index 0000000..20e3da4 --- /dev/null +++ b/bl54l15_radio0_new.overlay @@ -0,0 +1,44 @@ +&uart20 { + compatible = "nordic,nrf-uarte"; + status = "okay"; + current-speed = <1000000>; + hw-flow-control; +}; + + +&pinctrl { + uart20_default: uart20_default { + group1 { + psels = , + ; + }; + group2 { + psels = , + ; + bias-pull-up; + }; + }; + + uart20_sleep: uart20_sleep { + group1 { + psels = , + , + , + ; + low-power-enable; + }; + }; +}; + +/ { + chosen { + //zephyr,console = &uart20; + //zephyr,shell-uart = &uart20; + //zephyr,uart-mcumgr = &uart0; + //zephyr,bt-mon-uart = &uart0; + zephyr,bt-c2h-uart = &uart20; + }; +}; +&power { + status = "okay"; +}; \ No newline at end of file diff --git a/hci.code-workspace b/hci.code-workspace new file mode 100644 index 0000000..d2b5f98 --- /dev/null +++ b/hci.code-workspace @@ -0,0 +1,11 @@ +{ + "folders": [ + { + "path": "../echo_bot" + }, + { + "path": "." + } + ], + "settings": {} +} \ No newline at end of file