Skip to content

Commit 79fd128

Browse files
committed
Merge branch 'master' into gitee_master
2 parents 6bf76a3 + 5b94c14 commit 79fd128

File tree

151 files changed

+34541
-5940
lines changed

Some content is hidden

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

151 files changed

+34541
-5940
lines changed

bsp/essemi/es8p508x/SConscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# RT-Thread SConscript bridge
22
import os
3+
from building import *
34

45
objs = []
5-
cwd = GetCurrentDir()
6+
cwd = GetCurrentDir()
67
list = os.listdir(cwd)
78

89
for d in list:

bsp/imx6ul/SConstruct

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ env = Environment(tools = ['mingw'],
2020
AR = rtconfig.AR, ARFLAGS = '-rc',
2121
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
2222
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
23+
env['ASCOM'] = env['ASPPCOM']
2324

2425
Export('RTT_ROOT')
2526
Export('rtconfig')

bsp/imxrt/imxrt1052-nxp-evk/rtconfig.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,17 @@
5353
CPATH = ''
5454
LPATH = ''
5555

56+
AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
57+
AFLAGS += ' -D__STARTUP_CLEAR_BSS'
58+
5659
if BUILD == 'debug':
5760
CFLAGS += ' -gdwarf-2'
5861
AFLAGS += ' -gdwarf-2'
5962
CFLAGS += ' -O0'
6063
else:
6164
CFLAGS += ' -O2 -Os'
6265

63-
POST_ACTION = OBJCPY + ' -O binary --remove-section=.boot_data --remove-section=.image_vertor_table --remove-section=.ncache $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
66+
POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
6467

6568
# module setting
6669
CXXFLAGS = ' -Woverloaded-virtual -fno-exceptions -fno-rtti '

bsp/imxrt/imxrt1064-nxp-evk/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
### 快速上手
7373

74-
本 BSP 为开发者提供 MDK4、MDK5 和 IAR 工程,暂不支持 GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
74+
本 BSP 为开发者提供 MDK4、MDK5 和 IAR 工程,以及GCC 开发环境。下面以 MDK5 开发环境为例,介绍如何将系统运行起来。
7575

7676
#### 硬件连接
7777

@@ -115,4 +115,4 @@ msh >
115115

116116
维护人:
117117

118-
- [王强](https://github.com/xfwangqiang), 邮箱:<[email protected]>
118+
- [王强](https://github.com/xfwangqiang, https://gitee.com/xfwangqiang), 邮箱:<[email protected]>

bsp/imxrt/imxrt1064-nxp-evk/rtconfig.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
CPATH = ''
5454
LPATH = ''
5555

56+
AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
57+
AFLAGS += ' -D__STARTUP_CLEAR_BSS'
58+
5659
if BUILD == 'debug':
5760
CFLAGS += ' -gdwarf-2'
5861
AFLAGS += ' -gdwarf-2'

bsp/nrf5x/libraries/drivers/SConscript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ if GetDepend(['BSP_USING_QSPI_FLASH']):
1919

2020
if GetDepend(['BSP_USING_SPI']):
2121
src += ['drv_spi.c']
22+
2223
if GetDepend(['BSP_USING_GPIO']):
2324
src += ['drv_gpio.c']
25+
26+
if GetDepend(['BSP_USING_PWM']):
27+
src += ['drv_pwm.c']
2428

2529
path = [cwd]
2630

bsp/nrf5x/libraries/drivers/drv_gpio.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,6 @@ static const struct pin_index pins[] =
4646
__NRF5X_PIN(29, 0, 29),
4747
__NRF5X_PIN(30, 0, 30),
4848
__NRF5X_PIN(31, 0, 31),
49-
__NRF5X_PIN(32, 1, 0 ),
50-
__NRF5X_PIN(33, 1, 1 ),
51-
__NRF5X_PIN(34, 1, 2 ),
52-
__NRF5X_PIN(35, 1, 3 ),
53-
__NRF5X_PIN(36, 1, 4 ),
54-
__NRF5X_PIN(37, 1, 5 ),
55-
__NRF5X_PIN(38, 1, 6 ),
56-
__NRF5X_PIN(39, 1, 7 ),
57-
__NRF5X_PIN(40, 1, 8 ),
58-
__NRF5X_PIN(41, 1, 9 ),
59-
__NRF5X_PIN(42, 1, 10),
60-
__NRF5X_PIN(43, 1, 11),
61-
__NRF5X_PIN(44, 1, 12),
62-
__NRF5X_PIN(45, 1, 13),
63-
__NRF5X_PIN(46, 1, 14),
64-
__NRF5X_PIN(47, 1, 15),
6549
};
6650

6751
/* EVENTS_IN[n](n=0..7) and EVENTS_PORT */

bsp/nrf5x/libraries/drivers/drv_gpio.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#include <board.h>
1515
#include <rtdevice.h>
16-
#include <nrf52840.h>
1716
#include <hal/nrf_gpio.h>
1817
#include <drivers/include/nrfx_gpiote.h>
1918

0 commit comments

Comments
 (0)