Commit Graph

89 Commits

Author SHA1 Message Date
yangjie11 95e6b69b8e
sync and update all projects (#7138)
* sync and update
2023-03-31 16:49:48 +08:00
vandoul 0822f02606 [bsp][lpc55sxx] add i2s and wm8904 driver 2023-03-30 23:38:30 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man c3820a2c1b format sconscript Kconfig files 2023-03-19 07:08:27 -04:00
Meco Man dfddd79b24 [errno code][-RT_EINVAL] fix that use RT_EINVAL without - 2023-03-16 20:21:43 -04:00
Meco Man 0429452465 [bsp][rtduino] update arduino_main.cpp 2023-03-05 21:10:08 -05:00
杨熙 b7c2d1ba42
[bsp][lpc55sxx] add CPU define for S06/S16/S29/S36 make GCC comiple pass 2023-03-02 22:13:22 -05:00
linshire a3bef4d0da
[bsp][lpc55sxx] 修复scons --dist工程文件复制残缺的问题
修复CMSIS缺失的问题
2023-03-02 21:54:19 -05:00
螺丝松掉的人 3a08336cb5
[bsp][lpc55sxx] update pwm driver 2023-02-28 17:37:09 -05:00
Yifang ae0296e802
[rtduino][lpc55s69] 添加RTduino所需i2c引脚定义及结构体对象声明 (#6984) 2023-02-27 21:28:39 -05:00
杨熙 8015b61fcb
[bsp][lpc55sxx] update spi driver (#6986)
* [bsp][lpc55sxx] update spi driver

1. update spi driver, fix pin driver
2. move DMA_Init to board.c

* [bsp][lpc55sxx] formmat code

* [bsp][lpc55sxx] format lpc55s69_nxp_evk board file
2023-02-27 18:27:42 -05:00
褚仕成 dfad527019 [arduino][lpc55s69] : update PWM 2023-02-27 14:20:08 +08:00
vandoul cdd2755bbd
[bsp][lpc55sxx]修复drv_spi和drv_pwm测试得到的问题 (#6983)
修复spi通过env配置选中之后没有使能的问题,修改spi获取时钟源的API,修改cs脚无效的问题;
修复pwm不能修改频率和占空比的问题,修改pwm获取时钟源的API解决PWM频率和占空比不正确的问题。
2023-02-26 20:06:05 -05:00
Yifang 7763183074
[rtduino][lpc55s69] 纠正uart引脚错误并使能相关依赖项 (#6976)
* [rtduino][lpc55s69] 纠正uart引脚错误并使能相关依赖项

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-02-25 01:28:03 -05:00
螺丝松掉的人 faddfecbd2
[rtduino][lpc55s69] update (#6972) 2023-02-25 01:26:37 -05:00
Yifang 08c2a65136
[rtduino][lpc55s69] 修正RTduino框架下的引脚错误 (#6963)
1.修正RTduino框架下的引脚错误
2.Kconfig新增RTduino依赖项
3.README文档完善
4.上传LPC55s69兼容arduino部分引脚图
2023-02-23 13:47:55 -05:00
褚仕成 1533b88390 [arduino][lpc55s69] : 对接RTduino 2023-02-22 19:20:33 -05:00
vandoul c377c4bea3
[nxp][lpc55sxx] add status to lpc_i2c_bus in drv_i2c for lpc55sxx. (#6935)
添加一个status,判断I2C执行结果来修复i2c传输始终正确的BUG。
2023-02-19 23:09:27 -05:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Yifang 53dcac6f68
bsp][LPC55S69] README文档增加keil版本编译报错解决方案 (#6910) 2023-02-06 22:15:42 -05:00
褚仕成 60199160cf [bsp][lpc55sxx] add: README_zh and README 2023-02-05 22:03:27 -05:00
杨熙 83bd8614ab
Bsp lpc55sxx (#6897)
* [bsp_lpc55sxx] i2c,rtc bsp update

1. add i2c DMA mode
2. enable rtc driver

* [bsp_lpc55sxx] formmat code

using formmating.py for format code

* [lpc55sxx] remove .gitignore

* [bsp][lpc55sxx] update bsp driver

1. update sdif driver, enable DFS, FAT32
2. update rtc driver
2023-02-02 16:41:14 +08:00
杨熙 c9c43c8c5b
[bsp_lpc55sxx] i2c,rtc bsp update (#6885)
* [bsp_lpc55sxx] i2c,rtc bsp update
2023-01-30 21:21:52 -05:00
Meco Man ddccef3a64 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
vandoul 076683f6e3 fix the syntax error of drv_spi.c in lpc55sxx. 2023-01-11 17:53:33 -05:00
Meco Man 592284c66c format link scripts 2023-01-08 22:52:13 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
yandld d58e863a6d [bsp][lpc55sxx] i2c driver fix&repair 2023-01-06 18:42:00 -05:00
yandld 7788227887 [bsp][lpc55sxx] update IDE project file
1. update all LPC55sxx ide project file
2022-12-30 07:52:46 -05:00
杨熙 012aa0e0d0
[bsp][lpc55sxx] add support for LPC55S16 (#6743)
* [bsp][lpc55sxx] add support for LPC55S16

* [bsp][lpc55s16] formating LPC55S16 driver
2022-12-14 23:34:08 -05:00
yandld 91ba90933c [bsp][lpc55s06] add LPC55S06 support 2022-12-05 18:43:41 -05:00
yandld 4c44047f78 [bsp][lpc55sxx] add LPC55S36 support 2022-12-05 18:43:41 -05:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
supperthomas 5ff358fec6 [bsp][lpc55s69] Fix the ci error for lpc55s69 2022-11-30 21:58:53 -05:00
杨熙 2bbbd4b3fd
[bsp][lpc55sxx] add support of LPC5528/LPC55S28 (#6667)
* [bsp][lpc55sxx] add support of LPC5528/LPC55S28

1. add .ignore_format
2. add support of LPC55S28
3. fix LPC55S69 keil comiple error
3. refine README

* [bsp][lpc55sxx]

1. remove cmake file
2. formating code using rt-thread formating tools
3. CMSIS folder -> ../

* [bsp][lpc55s69]

 - add IAR support(IAR version: 9.30.1)
2022-11-29 19:56:50 -05:00
yandld 6c5f9ffb0a [bsp][lpc55sxx] update NXP SDK to 2_12_0
update NXP SDK to 2_12_0
2022-11-27 21:01:12 -05:00
Meco Man 8b0610fc34 [bsp][readme] 增加scons --exec-path=xxx 命令的使用说明 2022-10-10 09:42:44 +08:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Tangyuxin a47468f574
支持只运行在安全模式下 (#6115)
* [cpu][cm33] Support running in secure mode

* [bsp][lpc55sxx] Using the cortex cm33
2022-06-29 14:08:57 +08:00
Man, Jianting (Meco) 2c10d5ad01
[rtc] use gmtime_r to replace gmtime (#6012)
* [rtc] use gmtime_r to replace gmtime
2022-06-22 13:41:06 +08:00
Meco Man c9878aacd2 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Meco Man 83b3aadaa3 [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
Meco Man 50f041f5c2 [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 2022-06-09 07:01:59 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
guozhanxin d48630e2b6 [bsp]fix building error. 2022-04-01 00:09:31 +08:00
guozhanxin b10761c09d [bsp]Fix issue that dist cannot specify a directory 2022-04-01 00:09:31 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00