make bl654pa work
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
&uart0 {
|
&uart0 {
|
||||||
compatible = "nordic,nrf-uarte";
|
compatible = "nordic,nrf-uarte";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
current-speed = <1000000>;
|
current-speed = <1000000>; //<115200>;
|
||||||
//hw-flow-control;
|
hw-flow-control;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
uart0_default: uart0_default {
|
uart0_default: uart0_default {
|
||||||
group1 {
|
group1 {
|
||||||
@@ -29,15 +28,31 @@
|
|||||||
low-power-enable;
|
low-power-enable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
chosen {
|
chosen {
|
||||||
//zephyr,console = &uart0;
|
//zephyr,console = &uart0;
|
||||||
//zephyr,shell-uart = &uart0;
|
//zephyr,shell-uart = &uart0;
|
||||||
//zephyr,uart-mcumgr = &uart0;
|
//zephyr,uart-mcumgr = &uart0;
|
||||||
//zephyr,bt-mon-uart = &uart0;
|
//zephyr,bt-mon-uart = &uart0;
|
||||||
zephyr,bt-c2h-uart = &uart0;
|
zephyr,bt-c2h-uart = &uart0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/ {
|
||||||
|
/* Information from Nordic SDK-Based Application Development and SKY66112 datasheet */
|
||||||
|
sky66112_fem: fem {
|
||||||
|
compatible = "generic-fem-two-ctrl-pins";
|
||||||
|
ctx-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
crx-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
|
||||||
|
ctx-settle-time-us = <23>;
|
||||||
|
crx-settle-time-us = <5>;
|
||||||
|
tx-gain-db = <22>;
|
||||||
|
rx-gain-db = <11>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&radio {
|
||||||
|
fem = <&sky66112_fem>;
|
||||||
|
};
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
|
|
||||||
@@ -1,4 +1,11 @@
|
|||||||
# flash nrf52dongle
|
# flash nrf52dongle
|
||||||
- build with dongle build target (dont forget dongle .conf file)
|
- build with dongle build target (dont forget dongle .conf file)
|
||||||
- nrfutil install nrf5sdk-tools
|
- nrfutil install nrf5sdk-tools
|
||||||
- source flash_dongle.sh
|
- source flash_dongle.sh
|
||||||
|
|
||||||
|
# build for bl654pa
|
||||||
|
- toolchain
|
||||||
|
- nrf52840dongle_no_usb
|
||||||
|
- base config: prj.conf
|
||||||
|
- extra conf: iso.conf,internal_osc.conf
|
||||||
|
- bl654_gpio_uart.overlay
|
||||||
Reference in New Issue
Block a user