用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Guo XIn 291e661666 first commit 5 months ago
..
README.md first commit 5 months ago
SConscript first commit 5 months ago
pins_arduino.c first commit 5 months ago
pins_arduino.h first commit 5 months ago

README.md

STM32U575-NUCLEO开发板的Arduino生态兼容说明

1 RTduino - RT-Thread的Arduino生态兼容层

STM32U575-NUCLEO开发板已经完整适配了RTduino软件包,即RT-Thread的Arduino生态兼容层。用户可以按照Arduino的编程习惯来操作该BSP,并且可以使用大量Arduino社区丰富的库,是对RT-Thread生态的极大增强。更多信息,请参见RTduino软件包说明文档

1.1 如何开启针对本BSP的Arduino生态兼容层

Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT-Thread Settings:

Hardware Drivers Config --->
    Onboard Peripheral Drivers --->
        [*] Compatible with Arduino Ecosystem (RTduino)

2 Arduino引脚排布

该BSP遵照Arduino UNO板的引脚排列方式,并扩展增加了STM32U575-NUCLEO自身的板载资源功能引脚。详见 pins_arduino.c

更多引脚布局相关信息参见 pins_arduino.cpins_arduino.h

Arduino引脚编号 STM32引脚编号 5V容忍 备注
0 (D0) PG8 Serial-Rx,被RT-Thread的UART设备框架uart1接管
1 (D1) PG7 Serial-Tx,被RT-Thread的UART设备框架uart1接管
2 (D2) PF15 普通IO
3 (D3) PE13 PWM1-CH2,默认被RT-Thread的PWM设备框架pwm1接管
4 (D4) PF14 普通IO
5 (D5) PE11 PWM1-CH3,默认被RT-Thread的PWM设备框架pwm1接管
6 (D6) PE9 PWM1-CH1,默认被RT-Thread的PWM设备框架pwm1接管
7 (D7) PF13 普通IO
8 (D8) PF12 普通IO
9 (D9) PD15 PWM4-CH4,默认被RT-Thread的PWM设备框架pwm4接管
10 (D10) PD14 SPI1 片选 CS
11 (D11) PA7 SPI1-MOSI,默认被RT-Thread的SPI设备框架spi1总线接管
12 (D12) PA6 SPI1-MISO,默认被RT-Thread的SPI设备框架spi1总线接管
13 (D13) PA5 SPI1-SCK,默认被RT-Thread的SPI设备框架spi1总线接管
14 (D14) PB9 I2C1-SDA,默认被RT-Thread的I2C设备框架i2c1总线接管
15 (D15) PB8 I2C1-SCL,默认被RT-Thread的I2C设备框架i2c1总线接管
A0 PA3 是(但不建议) ADC1-CH8,默认被RT-Thread的ADC设备框架adc1接管
A1 PA2 是(但不建议) ADC1-CH7,默认被RT-Thread的ADC设备框架adc1接管
A2 PC3 是(但不建议) ADC1-CH4,默认被RT-Thread的ADC设备框架adc1接管
A3 PB0 是(但不建议) ADC1-CH15,默认被RT-Thread的ADC设备框架adc1接管
A4 PC1 是(但不建议) ADC1-CH2,默认被RT-Thread的ADC设备框架adc1接管
A5 PC0 是(但不建议) ADC1-CH1,默认被RT-Thread的ADC设备框架adc1接管

注意:

  1. 暂无