Skip to content

Commit d778c9d

Browse files
authored
Merge pull request #2455 from armink/lts-v3.1.x
Lts v3.1.x
2 parents 2d69172 + 94e3f77 commit d778c9d

File tree

451 files changed

+46844
-4109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

451 files changed

+46844
-4109
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ before_script:
1818
- export RTT_ROOT=`pwd`
1919
- "[ x$RTT_CC == x ] && export RTT_CC='gcc' || true"
2020

21-
script:
22-
- scons -C bsp/$RTT_BSP
23-
2421
env:
2522
# - RTT_BSP='simulator' RTT_CC='clang-analyze' RTT_EXEC_PATH=/usr/share/clang/scan-build
2623
- RTT_BSP='CME_M7' RTT_TOOL_CHAIN='sourcery-arm'
@@ -110,3 +107,7 @@ env:
110107
- RTT_BSP='frdm-k64f' RTT_TOOL_CHAIN='sourcery-arm'
111108
- RTT_BSP='fh8620' RTT_TOOL_CHAIN='sourcery-arm'
112109
- RTT_BSP='x1000' RTT_TOOL_CHAIN='sourcery-mips'
110+
111+
stage: compile
112+
script:
113+
- scons -C bsp/$RTT_BSP

bsp/CME_M7/rtconfig.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
/* SECTION: RT_DEBUG */
1818
/* Thread Debug */
1919
#define RT_DEBUG
20+
#define RT_DEBUG_COLOR
2021
#define RT_USING_OVERFLOW_CHECK
2122

2223
/* Using Hook */

bsp/allwinner_tina/.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_RT_THREAD_PRIORITY_32=y
1414
CONFIG_RT_THREAD_PRIORITY_MAX=32
1515
CONFIG_RT_TICK_PER_SECOND=100
1616
CONFIG_RT_DEBUG=y
17+
CONFIG_RT_DEBUG_COLOR=y
1718
CONFIG_RT_USING_OVERFLOW_CHECK=y
1819
CONFIG_RT_DEBUG_INIT=0
1920
CONFIG_RT_DEBUG_THREAD=0

bsp/allwinner_tina/drivers/drv_gpio.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@
2727
#include "drv_gpio.h"
2828
#include "interrupt.h"
2929

30-
#define DBG_ENABLE
3130
#define DBG_SECTION_NAME "GPIO"
3231
#define DBG_LEVEL DBG_WARNING
33-
#define DBG_COLOR
3432
#include <rtdbg.h>
3533

36-
3734
#define readl(addr) (*(volatile unsigned int *)(addr))
3835
#define writel(value,addr) (*(volatile unsigned int *)(addr) = (value))
3936

bsp/allwinner_tina/drivers/drv_sdio.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@
3232
#include "drv_gpio.h"
3333
#include "drv_clock.h"
3434

35-
#define DBG_ENABLE
35+
3636
#define DBG_SECTION_NAME "MMC"
3737
// #define DBG_LEVEL DBG_LOG
3838
// #define DBG_LEVEL DBG_INFO
3939
#define DBG_LEVEL DBG_WARNING
4040
// #define DBG_LEVEL DBG_ERROR
41-
#define DBG_COLOR
4241
#include <rtdbg.h>
4342

4443
#ifdef RT_USING_SDIO

bsp/allwinner_tina/drivers/spi/drv_spi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,12 @@
3535

3636
//#define DEBUG
3737

38-
#define DBG_ENABLE
3938
#define DBG_SECTION_NAME "SPI"
4039
#ifdef DEBUG
4140
#define DBG_LEVEL DBG_LOG
4241
#else
4342
#define DBG_LEVEL DBG_WARNING
4443
#endif /* DEBUG */
45-
#define DBG_COLOR
4644
#include <rtdbg.h>
4745

4846
#ifdef RT_USING_SPI

bsp/allwinner_tina/drivers/spi/drv_spi_flash.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626
#include <rthw.h>
2727
#include <rtdevice.h>
2828

29-
#define DBG_ENABLE
3029
#define DBG_SECTION_NAME "FLASH"
3130
#define DBG_LEVEL DBG_LOG
32-
#define DBG_COLOR
3331
#include <rtdbg.h>
3432

3533
#define SPI_FLASH_DEVICE_NAME "spi00"

bsp/allwinner_tina/rtconfig.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define RT_THREAD_PRIORITY_MAX 32
1515
#define RT_TICK_PER_SECOND 100
1616
#define RT_DEBUG
17+
#define RT_DEBUG_COLOR
1718
#define RT_USING_OVERFLOW_CHECK
1819
#define RT_DEBUG_INIT 0
1920
#define RT_DEBUG_THREAD 0

bsp/amebaz/.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ CONFIG_RT_USING_TIMER_SOFT=y
2121
CONFIG_RT_TIMER_THREAD_PRIO=4
2222
CONFIG_RT_TIMER_THREAD_STACK_SIZE=1024
2323
CONFIG_RT_DEBUG=y
24+
CONFIG_RT_DEBUG_COLOR=y
2425
# CONFIG_RT_DEBUG_INIT_CONFIG is not set
2526
# CONFIG_RT_DEBUG_THREAD_CONFIG is not set
2627
# CONFIG_RT_DEBUG_SCHEDULER_CONFIG is not set

bsp/amebaz/drivers/wlan/drv_wifi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@
2828
#include "drv_wlan.h"
2929
#include "drv_wifi.h"
3030

31-
#define DBG_ENABLE
3231
#define DBG_LEVEL DBG_INFO
3332
#define DBG_SECTION_NAME "WIFI"
34-
#define DBG_COLOR
3533
#include <rtdbg.h>
3634

3735
#define MAX_ADDR_LEN (6)

0 commit comments

Comments
 (0)