Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
luozhenger
rt-thread
提交
d58e863a
R
rt-thread
项目概览
luozhenger
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d58e863a
编写于
1月 06, 2023
作者:
Y
yandld
提交者:
mysterywolf
1月 06, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[bsp][lpc55sxx] i2c driver fix&repair
上级
5eadf36b
变更
32
隐藏空白更改
内联
并排
Showing
32 changed file
with
239 addition
and
142 deletion
+239
-142
bsp/lpc55sxx/Libraries/drivers/drv_adc.c
bsp/lpc55sxx/Libraries/drivers/drv_adc.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_adc.h
bsp/lpc55sxx/Libraries/drivers/drv_adc.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_hwtimer.c
bsp/lpc55sxx/Libraries/drivers/drv_hwtimer.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_hwtimer.h
bsp/lpc55sxx/Libraries/drivers/drv_hwtimer.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_i2c.c
bsp/lpc55sxx/Libraries/drivers/drv_i2c.c
+6
-4
bsp/lpc55sxx/Libraries/drivers/drv_i2c.h
bsp/lpc55sxx/Libraries/drivers/drv_i2c.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_key.c
bsp/lpc55sxx/Libraries/drivers/drv_key.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_key.h
bsp/lpc55sxx/Libraries/drivers/drv_key.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_led.c
bsp/lpc55sxx/Libraries/drivers/drv_led.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_led.h
bsp/lpc55sxx/Libraries/drivers/drv_led.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_log.h
bsp/lpc55sxx/Libraries/drivers/drv_log.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_mma8562.c
bsp/lpc55sxx/Libraries/drivers/drv_mma8562.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_pin.c
bsp/lpc55sxx/Libraries/drivers/drv_pin.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_pin.h
bsp/lpc55sxx/Libraries/drivers/drv_pin.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_pwm.c
bsp/lpc55sxx/Libraries/drivers/drv_pwm.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_pwm.h
bsp/lpc55sxx/Libraries/drivers/drv_pwm.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_rtc.c
bsp/lpc55sxx/Libraries/drivers/drv_rtc.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_rtc.h
bsp/lpc55sxx/Libraries/drivers/drv_rtc.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_sd.c
bsp/lpc55sxx/Libraries/drivers/drv_sd.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_sd.h
bsp/lpc55sxx/Libraries/drivers/drv_sd.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_spi.c
bsp/lpc55sxx/Libraries/drivers/drv_spi.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_spi.h
bsp/lpc55sxx/Libraries/drivers/drv_spi.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_uart.c
bsp/lpc55sxx/Libraries/drivers/drv_uart.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_uart.h
bsp/lpc55sxx/Libraries/drivers/drv_uart.h
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_wdt.c
bsp/lpc55sxx/Libraries/drivers/drv_wdt.c
+1
-1
bsp/lpc55sxx/Libraries/drivers/drv_wdt.h
bsp/lpc55sxx/Libraries/drivers/drv_wdt.h
+1
-1
bsp/lpc55sxx/lpc55s69_nxp_evk/.config
bsp/lpc55sxx/lpc55s69_nxp_evk/.config
+36
-11
bsp/lpc55sxx/lpc55s69_nxp_evk/board/MCUX_Config/board/pin_mux.c
...c55sxx/lpc55s69_nxp_evk/board/MCUX_Config/board/pin_mux.c
+6
-24
bsp/lpc55sxx/lpc55s69_nxp_evk/project.ewp
bsp/lpc55sxx/lpc55s69_nxp_evk/project.ewp
+12
-0
bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvoptx
bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvoptx
+123
-75
bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvprojx
bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvprojx
+23
-2
bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.h
bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.h
+8
-1
未找到文件。
bsp/lpc55sxx/Libraries/drivers/drv_adc.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_adc.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_hwtimer.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_hwtimer.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_i2c.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
@@ -17,6 +17,8 @@
#ifdef RT_USING_I2C
#define i2c_dbg rt_kprintf
struct
lpc_i2c_bus
{
struct
rt_i2c_bus_device
parent
;
...
...
@@ -112,7 +114,7 @@ int rt_hw_i2c_init(void)
rt_memset
((
void
*
)
&
lpc_i2c1
,
0
,
sizeof
(
struct
lpc_i2c_bus
));
lpc_i2c1
.
parent
.
ops
=
&
i2c_ops
;
lpc_i2c1
.
I2C
=
I2C1
;
lpc_i2c1
.
device_name
=
"
LPC Flexcomm1 as I2C
"
;
lpc_i2c1
.
device_name
=
"
i2c1
"
;
rt_i2c_bus_device_register
(
&
lpc_i2c1
.
parent
,
"i2c1"
);
#endif
/* BSP_USING_I2C1 */
...
...
@@ -132,8 +134,8 @@ int rt_hw_i2c_init(void)
rt_memset
((
void
*
)
&
lpc_i2c4
,
0
,
sizeof
(
struct
lpc_i2c_bus
));
lpc_i2c4
.
parent
.
ops
=
&
i2c_ops
;
lpc_i2c4
.
I2C
=
I2C4
;
lpc_i2c4
.
device_name
=
"
LPC Flexcomm4 as I2C
"
;
rt_i2c_bus_device_register
(
&
lpc_i2c4
.
parent
,
BSP_USING_MMA8562I2C
);
lpc_i2c4
.
device_name
=
"
i2c4
"
;
rt_i2c_bus_device_register
(
&
lpc_i2c4
.
parent
,
"i2c4"
);
#endif
/* BSP_USING_I2C4 */
...
...
bsp/lpc55sxx/Libraries/drivers/drv_i2c.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_key.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_key.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_led.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_led.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_log.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_mma8562.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_pin.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_pin.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_pwm.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_pwm.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_rtc.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_rtc.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_sd.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_sd.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_spi.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_spi.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*/
...
...
bsp/lpc55sxx/Libraries/drivers/drv_uart.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_uart.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_wdt.c
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/Libraries/drivers/drv_wdt.h
浏览文件 @
d58e863a
/*
* Copyright (c) 2006-202
2
, RT-Thread Development Team
* Copyright (c) 2006-202
3
, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/.config
浏览文件 @
d58e863a
...
...
@@ -9,6 +9,7 @@ CONFIG_SOC_LPC55S69=y
#
CONFIG_RT_NAME_MAX
=
8
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMART is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE
=
4
# CONFIG_RT_THREAD_PRIORITY_8 is not set
...
...
@@ -77,17 +78,20 @@ CONFIG_RT_USING_HEAP=y
#
CONFIG_RT_USING_DEVICE
=
y
# CONFIG_RT_USING_DEVICE_OPS is not set
# CONFIG_RT_USING_DM is not set
# CONFIG_RT_USING_INTERRUPT_INFO is not set
CONFIG_RT_USING_CONSOLE
=
y
CONFIG_RT_CONSOLEBUF_SIZE
=
128
CONFIG_RT_CONSOLE_DEVICE_NAME
=
"uart0"
CONFIG_RT_VER_NUM
=
0
x50000
CONFIG_ARCH_ARM
=
y
# CONFIG_RT_USING_CACHE is not set
# CONFIG_ARCH_ARM_BOOTWITH_FLUSH_CACHE is not set
# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
CONFIG_RT_USING_CPU_FFS
=
y
CONFIG_ARCH_ARM
=
y
CONFIG_ARCH_ARM_CORTEX_M
=
y
CONFIG_ARCH_ARM_CORTEX_SECURE
=
y
CONFIG_ARCH_ARM_CORTEX_M33
=
y
# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set
#
# RT-Thread Components
...
...
@@ -114,12 +118,12 @@ CONFIG_FINSH_USING_DESCRIPTION=y
CONFIG_FINSH_ARG_MAX
=
10
# CONFIG_RT_USING_DFS is not set
# CONFIG_RT_USING_FAL is not set
# CONFIG_RT_USING_LWP is not set
#
# Device Drivers
#
CONFIG_RT_USING_DEVICE_IPC
=
y
CONFIG_RT_UNAMED_PIPE_NUMBER
=
64
# CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set
CONFIG_RT_USING_SERIAL
=
y
CONFIG_RT_USING_SERIAL_V1
=
y
...
...
@@ -129,15 +133,21 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64
# CONFIG_RT_USING_CAN is not set
# CONFIG_RT_USING_HWTIMER is not set
# CONFIG_RT_USING_CPUTIME is not set
# CONFIG_RT_USING_I2C is not set
CONFIG_RT_USING_I2C
=
y
# CONFIG_RT_I2C_DEBUG is not set
# CONFIG_RT_USING_I2C_BITOPS is not set
# CONFIG_RT_USING_PHY is not set
CONFIG_RT_USING_PIN
=
y
# CONFIG_RT_USING_ADC is not set
# CONFIG_RT_USING_DAC is not set
# CONFIG_RT_USING_NULL is not set
# CONFIG_RT_USING_ZERO is not set
# CONFIG_RT_USING_RANDOM is not set
# CONFIG_RT_USING_PWM is not set
# CONFIG_RT_USING_MTD_NOR is not set
# CONFIG_RT_USING_MTD_NAND is not set
# CONFIG_RT_USING_PM is not set
# CONFIG_RT_USING_FDT is not set
# CONFIG_RT_USING_RTC is not set
# CONFIG_RT_USING_SDIO is not set
# CONFIG_RT_USING_SPI is not set
...
...
@@ -145,10 +155,13 @@ CONFIG_RT_USING_PIN=y
# CONFIG_RT_USING_AUDIO is not set
# CONFIG_RT_USING_SENSOR is not set
# CONFIG_RT_USING_TOUCH is not set
# CONFIG_RT_USING_LCD is not set
# CONFIG_RT_USING_HWCRYPTO is not set
# CONFIG_RT_USING_PULSE_ENCODER is not set
# CONFIG_RT_USING_INPUT_CAPTURE is not set
# CONFIG_RT_USING_DEV_BUS is not set
# CONFIG_RT_USING_WIFI is not set
# CONFIG_RT_USING_VIRTIO is not set
#
# Using USB
...
...
@@ -293,6 +306,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_AGILE_FTP is not set
# CONFIG_PKG_USING_EMBEDDEDPROTO is not set
# CONFIG_PKG_USING_RT_LINK_HW is not set
# CONFIG_PKG_USING_RYANMQTT is not set
# CONFIG_PKG_USING_RYANW5500 is not set
# CONFIG_PKG_USING_LORA_PKT_FWD is not set
# CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set
# CONFIG_PKG_USING_LORA_PKT_SNIFFER is not set
...
...
@@ -504,7 +519,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
# sensors drivers
#
# CONFIG_PKG_USING_FINGERPRINT is not set
# CONFIG_PKG_USING_LSM6DSM is not set
# CONFIG_PKG_USING_LSM6DSL is not set
# CONFIG_PKG_USING_LPS22HB is not set
...
...
@@ -564,6 +578,10 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_AD7746 is not set
# CONFIG_PKG_USING_ADT74XX is not set
# CONFIG_PKG_USING_MAX17048 is not set
# CONFIG_PKG_USING_AS7341 is not set
# CONFIG_PKG_USING_CW2015 is not set
# CONFIG_PKG_USING_ICM20608 is not set
# CONFIG_PKG_USING_PAJ7620 is not set
#
# touch drivers
...
...
@@ -577,10 +595,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_FT6236 is not set
# CONFIG_PKG_USING_XPT2046_TOUCH is not set
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
# CONFIG_PKG_USING_AS7341 is not set
# CONFIG_PKG_USING_STM32_SDIO is not set
# CONFIG_PKG_USING_ESP_IDF is not set
# CONFIG_PKG_USING_ICM20608 is not set
# CONFIG_PKG_USING_BUTTON is not set
# CONFIG_PKG_USING_PCF8574 is not set
# CONFIG_PKG_USING_SX12XX is not set
...
...
@@ -620,7 +636,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_CAN_YMODEM is not set
# CONFIG_PKG_USING_LORA_RADIO_DRIVER is not set
# CONFIG_PKG_USING_QLED is not set
# CONFIG_PKG_USING_PAJ7620 is not set
# CONFIG_PKG_USING_AGILE_CONSOLE is not set
# CONFIG_PKG_USING_LD3320 is not set
# CONFIG_PKG_USING_WK2124 is not set
...
...
@@ -651,11 +666,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_BL_MCU_SDK is not set
# CONFIG_PKG_USING_SOFT_SERIAL is not set
# CONFIG_PKG_USING_MB85RS16 is not set
# CONFIG_PKG_USING_CW2015 is not set
# CONFIG_PKG_USING_RFM300 is not set
# CONFIG_PKG_USING_IO_INPUT_FILTER is not set
# CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set
# CONFIG_PKG_USING_LRF_NV7LIDAR is not set
# CONFIG_PKG_USING_FINGERPRINT is not set
#
# AI packages
...
...
@@ -737,6 +752,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SLCAN2RTT is not set
# CONFIG_PKG_USING_SOEM is not set
# CONFIG_PKG_USING_QPARAM is not set
# CONFIG_PKG_USING_CorevMCU_CLI is not set
# CONFIG_PKG_USING_GET_IRQ_PRIORITY is not set
#
# Arduino libraries
...
...
@@ -757,10 +774,13 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_ARDUINO_CAPACITIVESENSOR is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_ADXL375 is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VL53L0X is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VL53L1X is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_SENSOR is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_VL6180X is not set
# CONFIG_PKG_USING_ADAFRUIT_MAX31855 is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX31865 is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX31856 is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MAX6675 is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_MLX90614 is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_LSM9DS1 is not set
# CONFIG_PKG_USING_ARDUINO_ADAFRUIT_AHTX0 is not set
...
...
@@ -955,7 +975,11 @@ CONFIG_BSP_USING_UART0=y
# CONFIG_HW_UART0_BAUDRATE_9600 is not set
CONFIG_HW_UART0_BAUDRATE_115200
=
y
# CONFIG_BSP_USING_UART2 is not set
# CONFIG_BSP_USING_I2C is not set
CONFIG_BSP_USING_I2C
=
y
# CONFIG_BSP_USING_I2C1 is not set
CONFIG_BSP_USING_I2C4
=
y
CONFIG_HW_I2C4_BAUDRATE_100kHZ
=
y
# CONFIG_HW_I2C4_BAUDRATE_400kHZ is not set
# CONFIG_BSP_USING_SPI is not set
# CONFIG_BSP_USING_ADC is not set
# CONFIG_BSP_USING_SDIO is not set
...
...
@@ -969,7 +993,8 @@ CONFIG_HW_UART0_BAUDRATE_115200=y
#
CONFIG_BSP_USING_LED
=
y
CONFIG_BSP_USING_KEY
=
y
# CONFIG_BSP_USING_MMA8562 is not set
CONFIG_BSP_USING_MMA8562
=
y
CONFIG_BSP_USING_MMA8562I2C
=
"i2c4"
#
# Board extended module Drivers
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/board/MCUX_Config/board/pin_mux.c
浏览文件 @
d58e863a
...
...
@@ -259,30 +259,6 @@ void BOARD_InitPins(void)
* : Digital mode, digital input is enabled. */
|
IOCON_PIO_DIGIMODE
(
PIO1_2_DIGIMODE_DIGITAL
));
IOCON
->
PIO
[
1
][
20
]
=
((
IOCON
->
PIO
[
1
][
20
]
&
/* Mask bits to zero which are setting */
(
~
(
IOCON_PIO_FUNC_MASK
|
IOCON_PIO_DIGIMODE_MASK
)))
/* Selects pin function.
* : PORT120 (pin 4) is configured as FC4_TXD_SCL_MISO_WS. */
|
IOCON_PIO_FUNC
(
PIO1_20_FUNC_ALT5
)
/* Select Digital mode.
* : Digital mode, digital input is enabled. */
|
IOCON_PIO_DIGIMODE
(
PIO1_20_DIGIMODE_DIGITAL
));
IOCON
->
PIO
[
1
][
21
]
=
((
IOCON
->
PIO
[
1
][
21
]
&
/* Mask bits to zero which are setting */
(
~
(
IOCON_PIO_FUNC_MASK
|
IOCON_PIO_DIGIMODE_MASK
)))
/* Selects pin function.
* : PORT121 (pin 30) is configured as FC4_RXD_SDA_MOSI_DATA. */
|
IOCON_PIO_FUNC
(
PIO1_21_FUNC_ALT5
)
/* Select Digital mode.
* : Digital mode, digital input is enabled. */
|
IOCON_PIO_DIGIMODE
(
PIO1_21_DIGIMODE_DIGITAL
));
IOCON
->
PIO
[
1
][
24
]
=
((
IOCON
->
PIO
[
1
][
24
]
&
/* Mask bits to zero which are setting */
(
~
(
IOCON_PIO_FUNC_MASK
|
IOCON_PIO_DIGIMODE_MASK
)))
...
...
@@ -342,6 +318,12 @@ void BOARD_InitPins(void)
/* Select Digital mode.
* : Digital mode, digital input is enabled. */
|
IOCON_PIO_DIGIMODE
(
PIO1_7_DIGIMODE_DIGITAL
));
/* I2C4 */
IOCON_PinMuxSet
(
IOCON
,
1U
,
20
,
5
|
IOCON_PIO_MODE_INACT
|
IOCON_PIO_SLEW_STANDARD
|
IOCON_PIO_INV_DI
|
IOCON_PIO_DIGITAL_EN
|
IOCON_PIO_OPENDRAIN_DI
);
IOCON_PinMuxSet
(
IOCON
,
1U
,
21
,
5
|
IOCON_PIO_MODE_INACT
|
IOCON_PIO_SLEW_STANDARD
|
IOCON_PIO_INV_DI
|
IOCON_PIO_DIGITAL_EN
|
IOCON_PIO_OPENDRAIN_DI
);
}
/***********************************************************************************************************************
* EOF
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/project.ewp
浏览文件 @
d58e863a
...
...
@@ -1176,6 +1176,12 @@
</group>
<group>
<name>DeviceDrivers</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_core.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c</name>
</file>
...
...
@@ -1215,12 +1221,18 @@
<file>
<name>$PROJ_DIR$\board\board.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\Libraries\drivers\drv_i2c.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\Libraries\drivers\drv_key.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\Libraries\drivers\drv_led.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\Libraries\drivers\drv_mma8562.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\Libraries\drivers\drv_pin.c</name>
</file>
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvoptx
浏览文件 @
d58e863a
...
...
@@ -322,7 +322,7 @@
<Group>
<GroupName>
CPU
</GroupName>
<tvExp>
1
</tvExp>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
...
...
@@ -413,6 +413,30 @@
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\components\drivers\i2c\i2c_core.c
</PathWithFileName>
<FilenameWithoutPath>
i2c_core.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
17
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\components\drivers\i2c\i2c_dev.c
</PathWithFileName>
<FilenameWithoutPath>
i2c_dev.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
18
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\..\..\components\drivers\ipc\completion.c
</PathWithFileName>
<FilenameWithoutPath>
completion.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
...
...
@@ -420,7 +444,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
1
7
</FileNumber>
<FileNumber>
1
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -432,7 +456,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
18
</FileNumber>
<FileNumber>
20
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -444,7 +468,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
19
</FileNumber>
<FileNumber>
21
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -456,7 +480,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
2
0
</FileNumber>
<FileNumber>
2
2
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -468,7 +492,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
2
1
</FileNumber>
<FileNumber>
2
3
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -480,7 +504,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
2
2
</FileNumber>
<FileNumber>
2
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -492,7 +516,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
2
3
</FileNumber>
<FileNumber>
2
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -504,7 +528,7 @@
</File>
<File>
<GroupNumber>
4
</GroupNumber>
<FileNumber>
2
4
</FileNumber>
<FileNumber>
2
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -518,13 +542,13 @@
<Group>
<GroupName>
Drivers
</GroupName>
<tvExp>
0
</tvExp>
<tvExp>
1
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<cbSel>
0
</cbSel>
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
2
5
</FileNumber>
<FileNumber>
2
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -536,7 +560,7 @@
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
2
6
</FileNumber>
<FileNumber>
2
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -548,7 +572,7 @@
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
2
7
</FileNumber>
<FileNumber>
2
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -560,7 +584,19 @@
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
28
</FileNumber>
<FileNumber>
30
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\Libraries\drivers\drv_i2c.c
</PathWithFileName>
<FilenameWithoutPath>
drv_i2c.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
31
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -572,7 +608,7 @@
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
29
</FileNumber>
<FileNumber>
32
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -584,7 +620,19 @@
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
30
</FileNumber>
<FileNumber>
33
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
<bDave2>
0
</bDave2>
<PathWithFileName>
..\Libraries\drivers\drv_mma8562.c
</PathWithFileName>
<FilenameWithoutPath>
drv_mma8562.c
</FilenameWithoutPath>
<RteFlg>
0
</RteFlg>
<bShared>
0
</bShared>
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
34
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -596,7 +644,7 @@
</File>
<File>
<GroupNumber>
5
</GroupNumber>
<FileNumber>
3
1
</FileNumber>
<FileNumber>
3
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -616,7 +664,7 @@
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
2
</FileNumber>
<FileNumber>
3
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -628,7 +676,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
3
</FileNumber>
<FileNumber>
3
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -640,7 +688,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
4
</FileNumber>
<FileNumber>
3
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -652,7 +700,7 @@
</File>
<File>
<GroupNumber>
6
</GroupNumber>
<FileNumber>
3
5
</FileNumber>
<FileNumber>
3
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -672,7 +720,7 @@
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
36
</FileNumber>
<FileNumber>
40
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -684,7 +732,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
37
</FileNumber>
<FileNumber>
41
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -696,7 +744,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
38
</FileNumber>
<FileNumber>
42
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -708,7 +756,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
39
</FileNumber>
<FileNumber>
43
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -720,7 +768,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
4
0
</FileNumber>
<FileNumber>
4
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -732,7 +780,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
4
1
</FileNumber>
<FileNumber>
4
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -744,7 +792,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
4
2
</FileNumber>
<FileNumber>
4
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -756,7 +804,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
4
3
</FileNumber>
<FileNumber>
4
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -768,7 +816,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
4
4
</FileNumber>
<FileNumber>
4
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -780,7 +828,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
4
5
</FileNumber>
<FileNumber>
4
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -792,7 +840,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
46
</FileNumber>
<FileNumber>
50
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -804,7 +852,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
47
</FileNumber>
<FileNumber>
51
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -816,7 +864,7 @@
</File>
<File>
<GroupNumber>
7
</GroupNumber>
<FileNumber>
48
</FileNumber>
<FileNumber>
52
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -836,7 +884,7 @@
<RteFlg>
0
</RteFlg>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
49
</FileNumber>
<FileNumber>
53
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -848,7 +896,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
5
0
</FileNumber>
<FileNumber>
5
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -860,7 +908,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
5
1
</FileNumber>
<FileNumber>
5
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -872,7 +920,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
5
2
</FileNumber>
<FileNumber>
5
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -884,7 +932,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
5
3
</FileNumber>
<FileNumber>
5
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -896,7 +944,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
5
4
</FileNumber>
<FileNumber>
5
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -908,7 +956,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
5
5
</FileNumber>
<FileNumber>
5
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -920,7 +968,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
56
</FileNumber>
<FileNumber>
60
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -932,7 +980,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
57
</FileNumber>
<FileNumber>
61
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -944,7 +992,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
58
</FileNumber>
<FileNumber>
62
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -956,7 +1004,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
59
</FileNumber>
<FileNumber>
63
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -968,7 +1016,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
0
</FileNumber>
<FileNumber>
6
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -980,7 +1028,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
1
</FileNumber>
<FileNumber>
6
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -992,7 +1040,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
2
</FileNumber>
<FileNumber>
6
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1004,7 +1052,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
3
</FileNumber>
<FileNumber>
6
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1016,7 +1064,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
4
</FileNumber>
<FileNumber>
6
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1028,7 +1076,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
6
5
</FileNumber>
<FileNumber>
6
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1040,7 +1088,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
66
</FileNumber>
<FileNumber>
70
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1052,7 +1100,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
67
</FileNumber>
<FileNumber>
71
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1064,7 +1112,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
68
</FileNumber>
<FileNumber>
72
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1076,7 +1124,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
69
</FileNumber>
<FileNumber>
73
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1088,7 +1136,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
7
0
</FileNumber>
<FileNumber>
7
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1100,7 +1148,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
7
1
</FileNumber>
<FileNumber>
7
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1112,7 +1160,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
7
2
</FileNumber>
<FileNumber>
7
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1124,7 +1172,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
7
3
</FileNumber>
<FileNumber>
7
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1136,7 +1184,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
7
4
</FileNumber>
<FileNumber>
7
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1148,7 +1196,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
7
5
</FileNumber>
<FileNumber>
7
9
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1160,7 +1208,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
76
</FileNumber>
<FileNumber>
80
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1172,7 +1220,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
77
</FileNumber>
<FileNumber>
81
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1184,7 +1232,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
78
</FileNumber>
<FileNumber>
82
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1196,7 +1244,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
79
</FileNumber>
<FileNumber>
83
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1208,7 +1256,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
8
0
</FileNumber>
<FileNumber>
8
4
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1220,7 +1268,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
8
1
</FileNumber>
<FileNumber>
8
5
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1232,7 +1280,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
8
2
</FileNumber>
<FileNumber>
8
6
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1244,7 +1292,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
8
3
</FileNumber>
<FileNumber>
8
7
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1256,7 +1304,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
8
4
</FileNumber>
<FileNumber>
8
8
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1268,7 +1316,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
8
5
</FileNumber>
<FileNumber>
8
9
</FileNumber>
<FileType>
2
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1280,7 +1328,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
86
</FileNumber>
<FileNumber>
90
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1292,7 +1340,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
87
</FileNumber>
<FileNumber>
91
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1304,7 +1352,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
88
</FileNumber>
<FileNumber>
92
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
@@ -1316,7 +1364,7 @@
</File>
<File>
<GroupNumber>
8
</GroupNumber>
<FileNumber>
89
</FileNumber>
<FileNumber>
93
</FileNumber>
<FileType>
1
</FileType>
<tvExp>
0
</tvExp>
<tvExpOptDlg>
0
</tvExpOptDlg>
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvprojx
浏览文件 @
d58e863a
...
...
@@ -10,7 +10,7 @@
<TargetName>
rtthread-lpc55s6x
</TargetName>
<ToolsetNumber>
0x4
</ToolsetNumber>
<ToolsetName>
ARM-ADS
</ToolsetName>
<pCCUsed>
61
60000::V6.16
::ARMCLANG
</pCCUsed>
<pCCUsed>
61
90000::V6.19
::ARMCLANG
</pCCUsed>
<uAC6>
1
</uAC6>
<TargetOption>
<TargetCommonOption>
...
...
@@ -186,6 +186,7 @@
<RvdsVP>
2
</RvdsVP>
<RvdsMve>
0
</RvdsMve>
<RvdsCdeCp>
0
</RvdsCdeCp>
<nBranchProt>
0
</nBranchProt>
<hadIRAM2>
1
</hadIRAM2>
<hadIROM2>
0
</hadIROM2>
<StupSel>
8
</StupSel>
...
...
@@ -339,7 +340,7 @@
<MiscControls>
--target=arm-arm-none-eabi
</MiscControls>
<Define>
__STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, DEBUG
</Define>
<Undefine></Undefine>
<IncludePath>
..\..\..\components\libc\posix\ipc;board;..\..\..\components\drivers\include;board\MCUX_Config\board;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\Libraries\LPC55S6X\middleware\sdmmc\port;..\Libraries\drivers;..\..\..\components\libc\posix\io\poll;..\Libraries\drivers\config;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m33;..\..\..\components\drivers\include;..\Libraries\LPC55S6X\middleware\sdmmc\inc;..\..\..\components\libc\posix\io\stdio;applications;..\Libraries\CMSIS\Core\Include;..\Libraries\LPC55S6X\components\codec;.;..\..\..\components\libc\compilers\common\extension;..\Libraries\LPC55S6X\LPC55S6X;..\Libraries\LPC55S6X\LPC55S6X\drivers;..\..\..\components\drivers\include;..\..\..\include
</IncludePath>
<IncludePath>
..\..\..\components\libc\posix\ipc;board;..\..\..\components\drivers\include;board\MCUX_Config\board;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\Libraries\LPC55S6X\middleware\sdmmc\port;..\Libraries\drivers;..\..\..\components\libc\posix\io\poll;..\Libraries\drivers\config;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m33;..\..\..\components\drivers\include;..\
..\..\components\drivers\include;..\
Libraries\LPC55S6X\middleware\sdmmc\inc;..\..\..\components\libc\posix\io\stdio;applications;..\Libraries\CMSIS\Core\Include;..\Libraries\LPC55S6X\components\codec;.;..\..\..\components\libc\compilers\common\extension;..\Libraries\LPC55S6X\LPC55S6X;..\Libraries\LPC55S6X\LPC55S6X\drivers;..\..\..\components\drivers\include;..\..\..\include
</IncludePath>
</VariousControls>
</Cads>
<Aads>
...
...
@@ -473,6 +474,16 @@
<Group>
<GroupName>
DeviceDrivers
</GroupName>
<Files>
<File>
<FileName>
i2c_core.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\..\components\drivers\i2c\i2c_core.c
</FilePath>
</File>
<File>
<FileName>
i2c_dev.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\..\..\components\drivers\i2c\i2c_dev.c
</FilePath>
</File>
<File>
<FileName>
completion.c
</FileName>
<FileType>
1
</FileType>
...
...
@@ -538,6 +549,11 @@
<FileType>
1
</FileType>
<FilePath>
board\board.c
</FilePath>
</File>
<File>
<FileName>
drv_i2c.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\Libraries\drivers\drv_i2c.c
</FilePath>
</File>
<File>
<FileName>
drv_key.c
</FileName>
<FileType>
1
</FileType>
...
...
@@ -548,6 +564,11 @@
<FileType>
1
</FileType>
<FilePath>
..\Libraries\drivers\drv_led.c
</FilePath>
</File>
<File>
<FileName>
drv_mma8562.c
</FileName>
<FileType>
1
</FileType>
<FilePath>
..\Libraries\drivers\drv_mma8562.c
</FilePath>
</File>
<File>
<FileName>
drv_pin.c
</FileName>
<FileType>
1
</FileType>
...
...
bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.h
浏览文件 @
d58e863a
...
...
@@ -49,8 +49,8 @@
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart0"
#define RT_VER_NUM 0x50000
#define ARCH_ARM
#define RT_USING_CPU_FFS
#define ARCH_ARM
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_SECURE
#define ARCH_ARM_CORTEX_M33
...
...
@@ -78,10 +78,12 @@
/* Device Drivers */
#define RT_USING_DEVICE_IPC
#define RT_UNAMED_PIPE_NUMBER 64
#define RT_USING_SERIAL
#define RT_USING_SERIAL_V1
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_I2C
#define RT_USING_PIN
/* Using USB */
...
...
@@ -234,11 +236,16 @@
#define BSP_USING_UART
#define BSP_USING_UART0
#define HW_UART0_BAUDRATE_115200
#define BSP_USING_I2C
#define BSP_USING_I2C4
#define HW_I2C4_BAUDRATE_100kHZ
/* Onboard Peripheral Drivers */
#define BSP_USING_LED
#define BSP_USING_KEY
#define BSP_USING_MMA8562
#define BSP_USING_MMA8562I2C "i2c4"
/* Board extended module Drivers */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录