-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
一期目标
- GPIO (数字输入输出)
- ADC (模拟输入)
- PWM (模拟输出)
- 串口输出
- Arduino通用算法库可以100%兼容
- 整合RT-Thread debug输出
- 软件IIC框架整合到Wire.h (未实现从机部分)
- 对接Adafruit_Sensor和Adafruit_BusIO框架,以此来支持Adafruit的众多传感器库,接入Adafruit生态
- I2C传感器
- SPI传感器
- SPI
- 基本函数
- legacy functions be07586
- 下载下来的zip文件可以直接免解压,sconscript自动处理
- SerialUSB (使用TinyUSB CDC)
- 梳理所有核心函数是否已经全部被实现
- 完善和强化print类和stream类
- analogReadResolution()
- analogWriteResolution()
- true analog DAC (潘多拉)
- analogWriteFrequency()
-
Tone() / noTone() 函数适配(不计划支持)
二期目标
- __FlashStringHelper fd67c9d
- analogReference() 函数适配,官方不同板子定义不一致https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/
三期目标
- pulseIn() / pulseInLong() 函数适配 support hwtimer device driver #10
- clockCyclesPerMicrosecond() /clockCyclesToMicroseconds() / microsecondsToClockCycles()
- 支持 https://github.com/GorgonMeducer/perf_counter
四期目标
- 硬件定时器的相关库 MsTimer2
- upstream https://github.com/PaulStoffregen/CapacitiveSensor
- WCharaceter.h 中有两个函数是POSIX扩展函数,尚未实现 (toascii() / isascii())
- 支持从串口读取数据 (除console之外的串口,console串口不负责读数据)d2e30ac
- https://www.arduino.cc/reference/en/language/variables/utilities/progmem/
- TinyUSB 优化 https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/master/src/arduino/Adafruit_USBD_CDC.cpp
- 解决PWM ADC功能引脚无法当做普通引脚使用的问题
Metadata
Metadata
Assignees
Labels
No labels