1.1K Star 5.1K Fork 2.1K

GVPRT-Thread/rt-thread

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.devcontainer
.gitee
.github
.hooks
bsp
CME_M7
ESP32_C3
Infineon
Vango
acm32
airm2m
allwinner
allwinner_tina
amebaz
apm32
apollo2
asm9260t
at32
at91
avr32
beaglebone
bf533
bluetrum
bm3803
bouffalo_lab
ck802
core-v-mcu
cvitek
dm365
efm32
essemi
fm33lc026
frdm-k64f
ft2004
ft32
fujitsu/mb9x
gd32
hc32
hc32l136
hc32l196
hifive1
hk32
hpmicro
ht32
juicevm
k210
k230
lm3s8962
lm3s9b9x
lm4f232
loongson
m16c62p
maxim
microblaze
microchip
mini2440
mini4020
mipssim
mm32
mm32f103x
mm32f327x
mm32f526x
mm32l07x
mm32l3xx
msp432e401y-LaunchPad
n32
n32g452xx
nios_ii
nrf5x
nuclei
nuvoton
nv32f100x
nxp
phytium
pic32ethernet
qemu-vexpress-a9
qemu-virt64-aarch64
qemu-virt64-riscv
raspberry-pi
raspberry-pico
renesas
rm48x50
rockchip
rv32m1_vega
rx
sam7x
samd21
sep6200
simulator
smartfusion2
sparkfun-redv
stm32
docs
libraries
stm32f072-st-nucleo
stm32f091-st-nucleo
stm32f103-100ask-mini
stm32f103-100ask-pro
stm32f103-atk-nano
stm32f103-atk-warshipv3
stm32f103-blue-pill
stm32f103-dofly-M3S
stm32f103-dofly-lyc8
stm32f103-fire-arbitrary
stm32f103-gizwits-gokitv21
stm32f103-hw100k-ibox
stm32f103-keysking-learning
stm32f103-onenet-nbiot
stm32f103-yf-ufun
stm32f103-ys-f1pro
stm32f107-uc-eval
stm32f207-st-nucleo
stm32f302-st-nucleo
stm32f334-st-nucleo
stm32f401-st-nucleo
stm32f401-weact-blackpill
stm32f405-smdz-breadfruit
stm32f405zg-mini-template
stm32f407-armfly-v5
stm32f407-atk-explorer
stm32f407-fk407m2-zgt6
stm32f407-lckfb-skystar
stm32f407-robomaster-c
stm32f407-rt-spark
stm32f407-st-discovery
stm32f410-st-nucleo
stm32f411-atk-nano
stm32f411-st-nucleo
stm32f411-weact-blackpill
stm32f412-st-nucleo
stm32f413-st-nucleo
stm32f427-robomaster-a
stm32f429-armfly-v6
stm32f429-atk-apollo
stm32f429-fire-challenger
stm32f429-st-disco
stm32f446-st-nucleo
stm32f469-st-disco
stm32f723-st-disco
stm32f746-st-disco
stm32f746-st-nucleo
stm32f767-atk-apollo
stm32f767-fire-challenger-v1
stm32f767-st-nucleo
stm32f769-st-disco
stm32g030-tiny-board
stm32g070-st-nucleo
stm32g071-st-nucleo
stm32g431-st-nucleo
stm32g474-st-nucleo
stm32g491-st-nucleo
stm32h503-st-nucleo
stm32h563-st-nucleo
stm32h723-st-nucleo
stm32h730-esphosted-evb
stm32h743-armfly-v7
stm32h743-atk-apollo
stm32h743-openmv-h7plus
stm32h743-st-nucleo
stm32h747-st-discovery
stm32h750-armfly-h7-tool
stm32h750-artpi
stm32h750-fk750m1-vbt6
stm32h750-weact-ministm32h7xx
stm32h7s7-st-disco
stm32l010-st-nucleo
stm32l053-st-nucleo
stm32l412-st-nucleo
stm32l431-BearPi
stm32l431-tencentos-tiny-EVB_MX+
stm32l432-st-nucleo
stm32l433-ali-startkit
stm32l433-st-nucleo
stm32l452-st-nucleo
stm32l475-atk-pandora
stm32l475-st-discovery
stm32l476-st-nucleo
stm32l496-ali-developer
stm32l496-st-discovery
stm32l496-st-nucleo
stm32l4r5-st-nucleo
stm32l4r9-st-eval
stm32l4r9-st-sensortile-box
stm32l552-st-nucleo
stm32mp157a-st-discovery
stm32mp157a-st-ev1
stm32u575-st-nucleo
applications
arduino_pinout
README.md
SConscript
pins_arduino.c
pins_arduino.h
SConscript
arduino_main.cpp
main.c
board
figures
.config
.gitignore
EventRecorderStub.scvd
Kconfig
README.md
README_zh.md
SConscript
SConstruct
project.ewd
project.ewp
project.eww
project.uvoptx
project.uvprojx
rtconfig.h
rtconfig.py
template.ewp
template.eww
template.uvoptx
template.uvprojx
stm32u585-iot02a
stm32wb55-st-nucleo
stm32wl55-st-nucleo
stm32wle5-yizhilian-lm401
stm32wle5-yizhilian-lm402
tools
README.md
synopsys/boards
synwit
tae32f5300
taihu
thead-smart
ti/c28x
tkm32F499
tm4c123bsp
tm4c129x
tms320c6678
upd70f3454
w60x
wch
wh44b0
x86
xplorer4330
xuantie
yichip
zynqmp-a53-dfzu2eg
zynqmp-r5-axu4ev
.clang-format
Copyright_Notice.md
README.md
components
documentation
examples
include
libcpu
src
tools
.clang-format
.gitattributes
.gitignore
ChangeLog.md
Kconfig
LICENSE
MAINTAINERS
README.md
README_de.md
README_es.md
README_zh.md
克隆/下载
pins_arduino.h 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
/*
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023-04-13 songw4232 first version
*/
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
/* pins alias. Must keep in sequence */
#define D0 (0)
#define D1 (1)
#define D2 (2)
#define D3 (3)
#define D4 (4)
#define D5 (5)
#define D6 (6)
#define D7 (7)
#define D8 (8)
#define D9 (9)
#define D10 (10)
#define D11 (11)
#define D12 (12)
#define D13 (13)
#define D14 (14)
#define D15 (15)
#define A0 (16)
#define A1 (17)
#define A2 (18)
#define A3 (19)
#define A4 (20)
#define A5 (21)
#define RTDUINO_PIN_MAX_LIMIT A5 /* pin number max limit check */
#define F_CPU 160000000L /* CPU:160MHz */
/* i2c1 : PB9-SDA PB8-SCL */
#define RTDUINO_DEFAULT_IIC_BUS_NAME "i2c1"
/* spi1 : PA5-SCK PA6-MISO PA7-MOSI */
#define RTDUINO_DEFAULT_SPI_BUS_NAME "spi1"
#endif /* Pins_Arduino_h */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/rtthread/rt-thread.git
git@gitee.com:rtthread/rt-thread.git
rtthread
rt-thread
rt-thread
master

搜索帮助