make bl654pa work
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
&uart0 {
|
||||
compatible = "nordic,nrf-uarte";
|
||||
status = "okay";
|
||||
current-speed = <1000000>;
|
||||
//hw-flow-control;
|
||||
current-speed = <1000000>; //<115200>;
|
||||
hw-flow-control;
|
||||
};
|
||||
|
||||
|
||||
|
||||
&pinctrl {
|
||||
uart0_default: uart0_default {
|
||||
group1 {
|
||||
@@ -29,8 +28,7 @@
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
@@ -41,3 +39,20 @@
|
||||
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
|
||||
@@ -2,3 +2,10 @@
|
||||
- build with dongle build target (dont forget dongle .conf file)
|
||||
- nrfutil install nrf5sdk-tools
|
||||
- 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