Commit 419edffa authored by Felipe Neves's avatar Felipe Neves Committed by Anas Nashif
Browse files

boards: arduino_nicla_vision: add Arduino Nicla Vision



Initial board support and documentation.

Signed-off-by: default avatarFelipe Neves <ryukokki.felipe@gmail.com>
parent c4e3afe6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
# Copyright 2024 Felipe Neves
# SPDX-License-Identifier: Apache-2.0

config BOARD_ARDUINO_NICLA_VISION
	select SOC_STM32H747XX_M7 if BOARD_ARDUINO_NICLA_VISION_STM32H747XX_M7
	select SOC_STM32H747XX_M4 if BOARD_ARDUINO_NICLA_VISION_STM32H747XX_M4
+18 −0
Original line number Diff line number Diff line
# Copyright 2024 Felipe Neves
# SPDX-License-Identifier: Apache-2.0

if BOARD_ARDUINO_NICLA_VISION

if BT

choice AIROC_PART
	default CYW4343W
endchoice

choice CYW4343W_MODULE
	default CYW4343W_MURATA_1DX
endchoice

endif # BT

endif # BOARD_ARDUINO_NICLA_VISION
+33 −0
Original line number Diff line number Diff line
/*
 * Copyright 2024 Felipe Neves
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/ {
	leds {
		compatible = "gpio-leds";
		red_led: led_0 {
			gpios = <&gpioe 3 GPIO_ACTIVE_LOW>;
		};
		green_led: led_1 {
			gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
		};
		blue_led: led_2 {
			gpios = <&gpiof 4 GPIO_ACTIVE_LOW>;
		};
	};
};

&rcc {
	d1cpre = <1>;
	hpre = <2>;
	d1ppre = <2>;
	d2ppre1 = <2>;
	d2ppre2 = <2>;
	d3ppre = <2>;
};

&mailbox {
	status = "okay";
};
+37 −0
Original line number Diff line number Diff line
/*
 * Copyright 2024 Felipe Neves
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/dts-v1/;
#include <st/h7/stm32h747Xi_m4.dtsi>
#include <st/h7/stm32h747a(g-i)ix-pinctrl.dtsi>
#include "arduino_nicla_vision.dtsi"

/ {
	model = "Arduino Nicla Vision Board (M4)";
	compatible = "arduino,nicla-vision";

	chosen {
		zephyr,console = &uart4;
		zephyr,shell-uart = &uart4;
		zephyr,sram = &sram1;
		zephyr,flash = &flash1;
	};

	aliases {
		led0 = &blue_led;
	};
};

&rcc {
	clock-frequency = <DT_FREQ_M(240)>;
};

&uart4 {
	status = "okay";
	pinctrl-0 = <&uart4_tx_pb9 &uart4_rx_pb8>;
	pinctrl-names = "default";
	current-speed = <115200>;
};
+18 −0
Original line number Diff line number Diff line
identifier: arduino_nicla_vision/stm32h747xx/m4
name: Arduino Nicla Vision (M4)
type: mcu
arch: arm
toolchain:
  - zephyr
  - gnuarmemb
  - xtools
ram: 288
flash: 1024
supported:
  - gpio
testing:
  ignore_tags:
    - mpu
    - nfc
    - net
vendor: arduino
Loading