/* * Copyright (c) 2019 Antony Pavlov * * SPDX-License-Identifier: Apache-2.0 */ /dts-v1/; #include #include / { model = "STM32F030 DEMO board"; compatible = "st,stm32f030-demo"; chosen { zephyr,console = &usart1; zephyr,shell-uart = &usart1; zephyr,sram = &sram0; zephyr,flash = &flash0; }; leds { compatible = "gpio-leds"; led: led { gpios = <&gpioa 4 GPIO_ACTIVE_HIGH>; label = "User LED"; }; }; aliases { led0 = &led; }; }; /* Due to limited available memory, don't enable gpioc,d,e,f */ &gpioc {status = "disabled";}; &gpiod {status = "disabled";}; &gpiof {status = "disabled";}; &usart1 { pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; current-speed = <115200>; status = "okay"; }; &iwdg { status = "okay"; };