Initial commit
This commit is contained in:
commit
19d38903cf
29 changed files with 4984 additions and 0 deletions
6
zephyr/boards/blackpill_f401ce.overlay
Normal file
6
zephyr/boards/blackpill_f401ce.overlay
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
&usart1 {
|
||||
pinctrl-0 = <&usart1_tx_pb6 &usart1_rx_pb7>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
};
|
||||
55
zephyr/boards/ebyte_e73_tbb_nrf52832.overlay
Normal file
55
zephyr/boards/ebyte_e73_tbb_nrf52832.overlay
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
&uart0 {
|
||||
status = "okay";
|
||||
compatible = "nordic,nrf-uarte";
|
||||
current-speed = <9600>;
|
||||
pinctrl-0 = <&uart0_default>;
|
||||
pinctrl-1 = <&uart0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
uart0_default: uart0_default {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(UART_TX, 0, 11)>,
|
||||
<NRF_PSEL(UART_RX, 0, 12)>,
|
||||
<NRF_PSEL(UART_RTS, 0, 15)>,
|
||||
<NRF_PSEL(UART_CTS, 0, 16)>;
|
||||
};
|
||||
};
|
||||
|
||||
uart0_sleep: uart0_sleep {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(UART_TX, 0, 11)>,
|
||||
<NRF_PSEL(UART_RX, 0, 12)>,
|
||||
<NRF_PSEL(UART_RTS, 0, 15)>,
|
||||
<NRF_PSEL(UART_CTS, 0, 16)>;
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
|
||||
i2c0_default: i2c0_default {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(TWIM_SDA, 0, 4)>,
|
||||
<NRF_PSEL(TWIM_SCL, 0, 3)>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c0_sleep: i2c0_sleep {
|
||||
group1 {
|
||||
psels = <NRF_PSEL(TWIM_SDA, 0, 4)>,
|
||||
<NRF_PSEL(TWIM_SCL, 0, 3)>;
|
||||
low-power-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&i2c0_default>;
|
||||
pinctrl-1 = <&i2c0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
bme280@76 {
|
||||
compatible = "bosch,bme280";
|
||||
reg = <0x76>;
|
||||
};
|
||||
};
|
||||
21
zephyr/boards/xiao_ble.overlay
Normal file
21
zephyr/boards/xiao_ble.overlay
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
&uart0 {
|
||||
compatible = "nordic,nrf-uarte";
|
||||
status = "okay";
|
||||
current-speed = <9600>;
|
||||
pinctrl-0 = <&uart0_default>;
|
||||
pinctrl-1 = <&uart0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
compatible = "nordic,nrf-twi";
|
||||
/* Cannot be used together with spi1. */
|
||||
status = "okay";
|
||||
pinctrl-0 = <&i2c1_default>;
|
||||
pinctrl-1 = <&i2c1_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
bme280@76 {
|
||||
compatible = "bosch,bme280";
|
||||
reg = <0x76>;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue