Commit Graph

6085 Commits

Author SHA1 Message Date
xjy198903 58769e67c6
修复imxrt1170网络驱动问题 (#6342)
1、修复ksz8081.c编译错误;
2、修复rt1170网络驱动问题
2022-08-29 15:47:58 -04:00
YuQi b11cb41ae7
tms320f28379d fix init (#6343)
解决 tms320f28379d bsp 启动的问题。主要改动如下。

修正context.s中汇编代码错误。在旧版的代码中,操作数为32位而汇编命令却使用了针对16位数据的命令MOV,导致程序在某些情况无法正常启动线程。
由于C28x的平台下,SP只支持16bit寻址,所以用于线程空间存放的heap以及ebss段都需要放在低16位的空间,针对这个问题修改了CMD文件。此外还增加基于CMD文件基于RAM的支持,方便调试。
新增rtdef.h中RT_SECTION,RT_USED,ALIGN和RT_WEAK的定义。旧版bsp中这些定义为空,导致INIT_EXPORT注册的函数失效。
修改程序启动代码,在程序入口直接调用原生启动代码
以上改动在LAUNCHXL-F28379D 通过了测试。
2022-08-29 15:35:23 -04:00
liYang~ ef8ae7963c
[drv_usart]完善ch32的串口驱动。 (#6336) 2022-08-27 00:34:27 -04:00
winfenggao ae66e67dee bug:
UART_FLAG_TC 不能在中断里CLEAR;
因为函数 static int stm32_putc(struct rt_serial_device *serial, char c)里发送完成后
while 循环等这个标志退出,中断服务函数CLEAR后,此处进入死循环
2022-08-25 10:25:34 -04:00
liYang~ c67cbdb30c
[drv_gpio]为ch32完善gpio驱动 (#6334)
* 修改Kconfig的不足

* update gpio driver

* formatting code
2022-08-25 10:24:53 -04:00
Meco Man 4fa40bcee5 [stm32l4-pandora] 整理文件系统
增加ROMFS,FATFS和未来的LittleFS将挂载在ROMFS上
初步增加littlefs文件系统,尚未完全实现一键化配置
2022-08-24 22:40:11 -04:00
emuzit a38b39ac25
ch569w-evt: add usbhs device mode driver (#6330)
ch569w-evt: add usbhs device mode driver

* usbd driver tested with cdc_vcom, internal loopback
  (can't run both MSH & usbd due to 16KB RAM limitation)
* reduce usrstack & main thread stack size for usbd test
* ch56x_uart.c : iron out UART0_PIN_ALT assignment
2022-08-24 07:59:37 -04:00
liYang~ 9cfb864068
[bsp]添加ch32v307vct6 (#6331) 2022-08-23 21:51:35 -04:00
liYang~ 0ff905ce43
[bsp]添加ch32v307需要的库文件 (#6329)
* add ch32v307 lib

* fix scons
2022-08-23 02:13:33 -04:00
Man, Jianting (Meco) a02ab79fd5
Merge pull request #6326 from OpenPowerware/master
[bsp][tms320f28379d] libc compatible
2022-08-22 16:47:32 -04:00
Yunjie Gu db4bc4a525 libc compatible 2022-08-22 21:07:22 +01:00
supperthomas f602d199d3
[bsp/maxium/max3660]Update README.md (#6323)
* Update README.md

* rename as max32660-evsys

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-22 13:44:25 -04:00
Man, Jianting (Meco) 955b8d9ae3
[bsp] update esp32 Kconfig (#6218) 2022-08-22 13:40:27 -04:00
Meco Man 97a5e4ca19 [rtduino] remove libraries dependencies 2022-08-22 09:45:45 +08:00
Meco Man 2f7c294d97 [stm32f407-explorer][fs] 优化文件系统选项配置 2022-08-22 09:45:01 +08:00
Meco Man 10695d6a90 [fal] PKG_USING_FAL -> RT_USING_FAL 2022-08-22 09:42:35 +08:00
Yunjie Gu b43f0e7205
[bsp][tms320f28379d] Fix compile ti (#6254)
* compile_ok

Issues fixed:
(1) update .config: select FINSH_USING_SYMTAB
(2) add rt_size_t in rtconfig_project.h
(3) fix finsh problems of using sym table
(4) update .project to include ipc source codes.
Todo list:
(1) automate the build source selection of ccs and reconcile it with scons

* change compiler

* msh can run now

the key step is to swap the order of rt_interrupt_nest -- and RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,()) in irq.c. This is an improvised solution and an issue has been raised.

* Update 2837x_FLASH_lnk_cpu1.cmd

The original one is also fine. Just to make it more rigorous since FSymTab is in data section.

* update readme.md

Complier selection and maintainer update.

Co-authored-by: YuQi <qiyu_sjtu@163.com>
2022-08-20 13:16:41 -04:00
chenbin 5b8a3678f0
[n32g45x] bsp 完善can驱动中断处理 (#6313)
* 完善can驱动中断处理
优化can波特率采样率,采样点在75%以上
增加新的can驱动宏定义支持,避免编译错误

* Update drv_can.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-20 12:21:51 -04:00
Meco Man 89f40696ff [nxp][imxrt1170] format files 2022-08-17 23:47:54 -04:00
xjy198903 1ba47b7ca6
[nxp 1170] Update network (#6299)
* 增加千兆网络配置

* 适配最新1170SDK2.12版本

* 增加MAC层驱动配置
2022-08-17 09:41:31 -04:00
xjy198903 7cf703dde5
Update 1170 gpios (#6298)
* 增加1170可操作的gpio数

* 修改默认引脚配置

* 增加千兆网络引脚配置
2022-08-17 09:40:26 -04:00
xjy198903 840f6b997c
[nxp][imxrt1170]Fix building problem (#6297) 2022-08-17 04:28:58 -04:00
woody 7d469384b5
将swm320和swm341整合进synwit (#6290)
* 将swm320和swm341整合进synwit
2022-08-16 12:43:24 -04:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08:00
Meco Man c038e55d32 [armclang] 使用__clang__代替__CLANG_ARM
attach https://github.com/RT-Thread/rt-thread/pull/5451
2022-08-16 09:37:45 +08:00
Not Black Magic eb12619654
Fix BSP/imxrt/imxrt1060-nxp-evk: RTC Driver issue (#6283)
Fix BSP bug:
-Function naming conflict in drv_rtc.c, rename get/set_timestamp to imxrt_hp_get/set_timestamp, which conflicted with rtc.c/.h framework.
2022-08-15 09:34:01 -04:00
Sherman fde369f011
[[renesas/drivers] Fix error code issues 6183.Add hardware i2c driver. (#6279)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

* [renesas/drv_wdt.c] Fix error code issues
[renesas/drv_i2c.c] add hardware i2c driver

* [update] drv_wdt.c,drv_i2c.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-15 09:25:42 -04:00
xjy198903 eedb4e1981
[imxrt] 消除编译警告 2022-08-15 09:24:53 -04:00
xjy198903 6a225fff22
Update sdram (#6280)
增加1170系列SDRAM时钟配置
修复sdram中memheap自动初始化时机错误导致被assert的情况

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-15 03:34:49 -04:00
xjy198903 814b1abb08
增加双网口配置选项,增加phy8211F 驱动 (#6278)
* Update Kconfig

增加RT1170双路网络选项

* Update SConscript

增加RTL8211F驱动选项支持

* Update SConstruct

去掉外设目录

* Add files via upload

增加PHY芯片RTL8211F驱动

* Update drv_rtl8211f.c

* format code

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-14 23:21:27 -04:00
Meco Man ff310443b8 [nxp] move phy driver into drivers folder 2022-08-14 21:50:14 -04:00
Meco Man 4537d06afb [stm32] add missing void 2022-08-14 21:49:43 -04:00
Meco Man 53c6e7308c [simulator] exit()函数改为exit(1) 2022-08-14 21:49:43 -04:00
Meco Man 40fe10ba15 [nxp][link script] format issue
report in slack group
2022-08-14 21:49:16 -04:00
Fan Yang 666af5e29d
[DeviceDriver] Add CANFD support and correct typos (#5912)
* Add CANFD support and correct typos

- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>

* update

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
woody 0189987d91
add synwit swm341 bsp (#6235)
华芯微特SWM341芯片的bsp支持包
* 修改dac.c函数名称错误
* delete swm320-lq100 bsp
* 修复sdio读写块的地址偏移问题
* add synwit swm341 bsp
* 修复gcc下启动文件错误
* 为测试用例添加说明
2022-08-13 22:29:05 -04:00
Meco Man 5c7655663c [imxrt] fix gpio interrupt bug in drv_gpio.c
report in #4184
2022-08-13 22:08:31 -04:00
Man, Jianting (Meco) 8db14a3f5b
[imxrt1170] update enet (#6244)
Co-authored-by: xinyi.gao <xinyi.gao@nxp.com>
2022-08-13 22:06:38 -04:00
Meco Man f290ff8754 [simulator][rtconfig.py] fix the problem of path cannot be find and cause failure
Some users' computer cannot find the path of VS and will cause failure. Just skip this step.
2022-08-13 22:04:11 -04:00
Man, Jianting (Meco) 0ac8f72037
[lvgl] remove suareline studio specific support for imxrt1060 (#6261)
* [lvgl] PKG_USING_LV_MUSIC_DEMO defaults by yes

* [lvgl] remove specific suppport for imxrt1060
https://github.com/lvgl/lvgl/pull/3566
2022-08-13 22:02:41 -04:00
Meco Man 656f0e3d23 [imxrt1060] fix a tiny problme
this is report in slack group:
- I had to do a small fix in board/linker_scripts/link.lds file.
line 81, should be:
ivt_begin = ORIGIN(m_boot_data) + LENGTH(m_boot_data);
(add a space between ivt_begin and "=“).

- For unknown reason I had to set DEMO_PANEL_RK043FN66HS as default in imxrt1060-nxp-evk/board/Kconfig
Leaving the DEMO_PANEL_RK043FN02H was not working even after selecting RK043FN66HS in menuconfig. The result was touch not working without this change as a wrong driver was being pick.
2022-08-13 21:56:04 -04:00
Sherman e7f64fe07f
[renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md (#6227)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-13 20:53:51 -04:00
xjy198903 405e0da093
[NXP]升级RT1170-EVK开发板SDK2.12版本(#6264) 2022-08-13 03:22:12 -04:00
chinky 448843ffd8 [bsp]stm32l475-atk-pandora update readme, .gitignore 2022-08-11 22:19:45 -04:00
Rbb666 9a8249bbba
【BSP】CY8CKIT-062S2-43012 (#6237)
英飞凌 CY8CKIT-062S2-43012 BSP
2022-08-09 12:36:36 -04:00
qipingqiu 38154c4656
add hwtimer device (#6230) 2022-08-09 12:18:48 -04:00
emuzit 77067f8729
ch569w-evt : add pwm driver, and spi_xfer bug fix (#6240)
add PWM driver, output checked with logic analyzer
spi_xfer() bug fix for cs_pin and message looping
uart pin_mode init moved to uart driver
2022-08-09 12:18:20 -04:00
Meco Man 8cd7ee268f [gd32] 修复串口引脚定义错误的问题
https://club.rt-thread.org/ask/question/32d3a440402902f7.html
2022-08-08 10:11:46 -04:00
guozhanxin ccf0ad297b [bsp][raspberry-pi]Fix the issue of inaccurate system tick. 2022-08-08 10:01:15 -04:00