2019-04-19 04:57:58 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include <st/f0/stm32f030X4.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STM32F030 DEMO board";
|
|
|
|
compatible = "st,stm32f030-demo", "st,stm32f030f4p6", "st,stm32f030";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &usart1;
|
|
|
|
zephyr,shell-uart = &usart1;
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
led: led {
|
2020-01-26 23:58:46 +08:00
|
|
|
gpios = <&gpioa 4 GPIO_ACTIVE_HIGH>;
|
2019-04-19 04:57:58 +08:00
|
|
|
label = "User LED";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led0 = &led;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart1 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&iwdg {
|
|
|
|
status = "okay";
|
|
|
|
};
|