zephyr/samples/drivers/current_sensing/boards/serpente.overlay
Alexander Falb 402a352279 tests/samples: add samples for Serpente board
Add the supported features section to  serpente.yaml and overlay files
to the corresponding tests and samples.

Signed-off-by: Alexander Falb <fal3xx@gmail.com>
2020-09-04 09:25:02 -05:00

30 lines
502 B
Plaintext

/*
* Copyright (c) 2020 Alexander Falb <fal3xx@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,console = &sercom0;
zephyr,shell-uart = &sercom0;
};
};
&sercom0 {
compatible = "atmel,sam0-uart";
current-speed = <115200>;
rxpo = <1>;
txpo = <0>;
};
&sercom2 {
compatible = "atmel,sam0-i2c";
clock-frequency = <I2C_BITRATE_FAST>;
#address-cells = <1>;
#size-cells = <0>;
/delete-property/ current-speed;
/delete-property/ rxpo;
/delete-property/ txpo;
};