Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 372038a

Browse files
committed
[finsh/msh] Add user commands support
1 parent 3fb070c commit 372038a

File tree

13 files changed

+54
-43
lines changed

13 files changed

+54
-43
lines changed

‎library.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=RT-Thread
2-
version=0.9.0
2+
version=0.9.1
33
author=onelife <onelife.real@gmail.com>, Bernard Xiong <bernard.xiong@gmail.com>
44
maintainer=onelife <onelife.real@gmail.com>
55
sentence=Real Time Operating System porting for Arduino SAM and SAMD boards

‎src/components/arduino/drv_button.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ typedef void (*rx_indicator)(void);
4141
#else /* RT_USING_ULOG */
4242
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
4343
# define LOG_W LOG_E
44-
# ifdef BSP_SPI_DEBUG
44+
# ifdef BSP_BUTTON_DEBUG
4545
# define LOG_D(format, args...) rt_kprintf(format "\n", ##args)
4646
# else
4747
# define LOG_D(format, args...)

‎src/components/arduino/drv_iic.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern "C" {
3636
#else /* RT_USING_ULOG */
3737
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
3838
# define LOG_W LOG_E
39-
# ifdef BSP_SPI_DEBUG
39+
# ifdef BSP_IIC_DEBUG
4040
# define LOG_I(format, args...) rt_kprintf(format "\n", ##args)
4141
# else
4242
# define LOG_I(format, args...)

‎src/components/arduino/drv_iic_ft6206.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ typedef void (*rx_indicator)(void);
4343
#else /* RT_USING_ULOG */
4444
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
4545
# define LOG_W LOG_E
46-
# ifdef BSP_SPI_DEBUG
46+
# ifdef BSP_FT6206_DEBUG
4747
# define LOG_D(format, args...) rt_kprintf(format "\n", ##args)
4848
# else
4949
# define LOG_D(format, args...)

‎src/components/arduino/drv_rtc.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extern "C" {
4040
#else /* RT_USING_ULOG */
4141
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
4242
# define LOG_W LOG_E
43-
# ifdef BSP_SPI_DEBUG
43+
# ifdef BSP_RTC_DEBUG
4444
# define LOG_I(format, args...) rt_kprintf(format "\n", ##args)
4545
# else
4646
# define LOG_I(format, args...)

‎src/components/arduino/drv_spi_ssd1306.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
/* Private typedef -----------------------------------------------------------*/
3232
/* Private define ------------------------------------------------------------*/
3333
#ifdef RT_USING_ULOG
34-
# ifdef BSP_SSD_DEBUG
34+
# ifdef BSP_SSD1306_DEBUG
3535
# define LOG_LVL LOG_LVL_DBG
3636
# else
3737
# define LOG_LVL LOG_LVL_INFO
@@ -41,7 +41,7 @@ extern "C" {
4141
#else /* RT_USING_ULOG */
4242
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
4343
# define LOG_W LOG_E
44-
# ifdef BSP_SPI_DEBUG
44+
# ifdef BSP_SSD_DEBUG
4545
# define LOG_D(format, args...) rt_kprintf(format "\n", ##args)
4646
# else
4747
# define LOG_D(format, args...)

‎src/components/arduino/drv_spi_ssd1331.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
/* Private typedef -----------------------------------------------------------*/
3232
/* Private define ------------------------------------------------------------*/
3333
#ifdef RT_USING_ULOG
34-
# ifdef BSP_SSD_DEBUG
34+
# ifdef BSP_SSD1331_DEBUG
3535
# define LOG_LVL LOG_LVL_DBG
3636
# else
3737
# define LOG_LVL LOG_LVL_INFO
@@ -41,7 +41,7 @@ extern "C" {
4141
#else /* RT_USING_ULOG */
4242
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
4343
# define LOG_W LOG_E
44-
# ifdef BSP_SPI_DEBUG
44+
# ifdef BSP_SSD_DEBUG
4545
# define LOG_D(format, args...) rt_kprintf(format "\n", ##args)
4646
# else
4747
# define LOG_D(format, args...)

‎src/components/arduino/drv_spi_st7735.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extern "C" {
4040
#else /* RT_USING_ULOG */
4141
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
4242
# define LOG_W LOG_E
43-
# ifdef BSP_SPI_DEBUG
43+
# ifdef BSP_ST7735_DEBUG
4444
# define LOG_D(format, args...) rt_kprintf(format "\n", ##args)
4545
# else
4646
# define LOG_D(format, args...)

‎src/components/arduino/drv_spiili.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extern "C" {
4141
#else /* RT_USING_ULOG */
4242
# define LOG_E(format, args...) rt_kprintf(format "\n", ##args)
4343
# define LOG_W LOG_E
44-
# ifdef BSP_SPI_DEBUG
44+
# ifdef BSP_ILI_DEBUG
4545
# define LOG_D(format, args...) rt_kprintf(format "\n", ##args)
4646
# else
4747
# define LOG_D(format, args...)

‎src/include/rtlibc.h‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313

1414
/* definitions for libc if toolchain has no these definitions */
1515
#include "libc/libc_stat.h"
16-
#if defined(CONFIG_ARDUINO) && defined(ARDUINO_ARCH_STM32)
16+
#if defined(CONFIG_ARDUINO) && defined(CONFIG_NO_ERRNO)
1717
# include "errno.h"
1818
#else
1919
# include "libc/libc_errno.h"
2020
#endif
21-
22-
#include "libc/libc_fcntl.h"
21+
#if !(defined(CONFIG_ARDUINO) && defined(CONFIG_NO_FCNTL))
22+
# include "libc/libc_fcntl.h"
23+
#endif
2324
#include "libc/libc_ioctl.h"
2425
#include "libc/libc_dirent.h"
2526
#include "libc/libc_signal.h"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /