From 35b0a511b8267cb96a1fe49b5b08515a9fbeceaa Mon Sep 17 00:00:00 2001 From: hydevcode Date: Thu, 23 Oct 2025 10:00:33 +0800 Subject: [PATCH 1/3] update the list of board that support RTduino (#110) --- README.md | 2 +- README_en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a6e2192..8583cf7 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ RTduino是[RT-Thread实时操作系统](https://www.rt-thread.org)的Arduino生 | ES32F3696 | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/essemi/es32f369x/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/essemi/es32f369x/applications/arduino_pinou) | √ | √ | √ | √ | √ | √ | | ES32VF2264 | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/essemi/es32vf2264/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/essemi/es32vf2264/applications/arduino_pinout) | √ | √ | √ | √ | √ | √ | | psoc6-evaluationkit-062S2 | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/Infineon/psoc6-evaluationkit-062S2/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/Infineon/psoc6-evaluationkit-062S2/applications/arduino_pinout) | √ | √ | √ | √ | √ | √ | - +| XMC7100D-F144K4160AA | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/Infineon/xmc7100d-f144k4160aa/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/Infineon/xmc7100d-f144k4160aa/applications/arduino_pinout) | √ | | | √ | √ | √ | ## 3 开发环境 RTduino 支持以下开发环境: diff --git a/README_en.md b/README_en.md index 4df27cc..6ffa1c5 100644 --- a/README_en.md +++ b/README_en.md @@ -43,7 +43,7 @@ Using the RTduino and Arduino libraries will be very easy through the [RT-Thread | ES32F3696 | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/essemi/es32f369x/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/essemi/es32f369x/applications/arduino_pinou) | √ | √ | √ | √ | √ | √ | | ES32VF2264 | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/essemi/es32vf2264/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/essemi/es32vf2264/applications/arduino_pinout) | √ | √ | √ | √ | √ | √ | | psoc6-evaluationkit-062S2 | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/Infineon/psoc6-evaluationkit-062S2/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/Infineon/psoc6-evaluationkit-062S2/applications/arduino_pinout) | √ | √ | √ | √ | √ | √ | | - +| XMC7100D-F144K4160AA | [Github](https://github.com/RT-Thread/rt-thread/tree/master/bsp/Infineon/xmc7100d-f144k4160aa/applications/arduino_pinout) / [Gitee](https://gitee.com/rtthread/rt-thread/tree/master/bsp/Infineon/xmc7100d-f144k4160aa/applications/arduino_pinout) | √ | | | √ | √ | √ | > RTduino also allows users to directly run without a specific BSP supporting. Please see Chapter 5 ### 1.2 Terms Explanation From 699dc0c6a2af3c949fb439f443f1124a2b8bffd0 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 7 Aug 2025 14:07:43 +0800 Subject: [PATCH 2/3] =?UTF-8?q?md=E6=96=87=E4=BB=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=E6=94=AF=E6=8C=81clion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8583cf7..05f0a3c 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,8 @@ RTduino 支持以下开发环境: - GCC - VSCode - RT-Thread Studio -- Keil MDK5 +- CLion +- Keil MDK5(不推荐) - Keil MDK6 > 注: From 9c7c6f75e5dd436315cae81a4da3b5a9e5df6b22 Mon Sep 17 00:00:00 2001 From: kurisaw <2053731441@qq.com> Date: Mon, 16 Mar 2026 15:12:38 +0800 Subject: [PATCH 3/3] SPI members support the usage_freq extension --- libraries/buildin/SPI/SPI.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/buildin/SPI/SPI.cpp b/libraries/buildin/SPI/SPI.cpp index ce49b45..2214b92 100644 --- a/libraries/buildin/SPI/SPI.cpp +++ b/libraries/buildin/SPI/SPI.cpp @@ -63,7 +63,10 @@ void SPIClass::beginTransaction(SPISettings settings) .mode = RT_SPI_MASTER | RT_SPI_NO_CS, /* Don't need RT-Thread SPI device driver to control CS */ .data_width = 8, .reserved = 0, - .max_hz = settings._clock + .max_hz = settings._clock, +#if defined(RT_VERSION_CHECK) && (RTTHREAD_VERSION >= RT_VERSION_CHECK(5, 3, 0)) + .usage_freq = RT_NULL +#endif }; if(settings._bitOrder == LSBFIRST)