Commit Graph

1854 Commits

Author SHA1 Message Date
Meco Man 067315ff40 [phy] fix the PHY_FULL_DUPLEX conflicts 2022-08-03 22:45:27 -04:00
dongly 3363586cbb
Fix some compilation warning (#5744)
* Fix some compilation warning

* 补充修正一些数据类型的使用错误

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
liyangyang 2a7da005ba perfect bsp 2022-08-01 23:14:35 -04:00
Meng 9673f060f1
[bsp][stm32] 更新f407-robomaster-c板的bsp, 添加stm32定时器8 pwm默认配置 (#6201)
* [bsp][stm32] f407-robomaster-c板, 添加stm32定时器8pwm默认配置

* tab -> space

* 取消DFS选定

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-01 00:21:41 -04:00
Meco Man c775809223 [arduino][stm32f072] 修正f072反向PWM不输出的问题 2022-07-27 11:46:45 +08:00
liYang~ a79b34ef8a
Improve the connection of RTdunio PWM(stm32f401-st-nucleo) (#6192)
* Improve the connection of RTdunio PWM

* Update bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/README.md
2022-07-27 11:44:13 +08:00
liYang~ 32ed7dcfd2
修复了pwm互补输出的一些bug,并在finsh中添加使用说明 (#6191)
* Fix the bug of complementary output
2022-07-26 10:07:07 +08:00
ririyeye ae918797b9
[bsp/stm32]:修复阿波罗f429网口引脚错误 (#6184)
* [bsp/stm32]:修复阿波罗f429网口引脚错误

* [bsp/stm32]:更新cubemx文件,添加kconfig依赖

* Update bsp/stm32/stm32f429-atk-apollo/board/Kconfig
2022-07-25 10:15:44 +08:00
liyangyang 709d615096 Fix the configuration of stm32f401's PWM in CubeMX 2022-07-22 12:04:43 +08:00
Meco Man b9b2ac1690 attach #6162 2022-07-15 10:11:00 +08:00
Meco Man 21e35dbbfd [arduino][stm32l475 pandora]update readme 2022-07-15 10:09:50 +08:00
Meco Man 65a5e3af0f [arduino] 优化默认代码 2022-07-15 10:09:50 +08:00
liyangyang 0fe1d152f0 guiengine在RTT中已经淘汰了,删除这个文件,避免影响开发者 2022-07-14 16:49:32 +08:00
liYang~ e36e3fda0c
Adapt lvgl for using ft6206 model touch screen[stm32f469-st-disco] (#6153)
* Adapt lvgl for using ft6206 model touch screen
2022-07-08 13:55:13 +08:00
liYang~ c850054aee
Docking lvgl touch driver using package (#6149)
* Docking lvgl touch driver using package
2022-07-08 09:25:32 +08:00
Meco Man 15cd71bae6 [lvgl] adapt lvgl 8.3.0 2022-07-07 16:55:25 +08:00
solar_li d3139706e4
Adapt RTduino package for stm32f469-st-disco BSP (#6139)
* Adapt RTdunio package for stm32f469-st-disco BSP
2022-07-05 10:05:31 +08:00
Meco Man 74a802b445 [stm32] 合并获取定时器时钟频率公共部分
防止后续维护出现没有全面修改的问题
2022-07-04 16:23:21 +08:00
BreederBai b2bc0dcd16
[rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数 (#6130)
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
2022-07-04 10:40:42 +08:00
BreederBai 78faea4b8d
[bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期 (#6129)
* [bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期
2022-07-04 10:26:33 +08:00
张世争 c8a73411f6 [BSP][STM32] RTC Alarm驱动适配 2022-07-04 09:39:12 +08:00
solar_li b19602bcaa
Docking lvgl for stm32f469-st-disco bsp using ft6336 touch chip (#6121)
* Add touch V2 version

* Added touch driver ft6336 for stm32f469 bsp
2022-06-30 10:27:16 +08:00
solar_li 5b00165f6e
Add lvgl adaptation of touch screen xpt2046 for BSP (#6114)
* lvgl adaptation to resistive touch screen xpt2046

* some bug

* canonical code

* canonical code

* fix

* Modify the calibration section

* Modify the calibration section

* fix
2022-06-29 14:11:36 +08:00
Meco Man 9f4b7b3858 [arduino][stm32l475] support wireless module pinout 2022-06-23 21:28:27 +08:00
Man, Jianting (Meco) 70bd55fea5
[arduino] use perf_counter to instead of hwtimer (#6089)
移除硬件定时器依赖
取消stm32f401 spi的支持
更换f401 arduino默认例程
2022-06-17 14:29:44 +08:00
solar_li a50018c57e
[stm32][soft spi] implement soft spi (#6078)
* [stm32][soft spi] implement soft spi
2022-06-16 10:54:30 +08:00
breederbai 14cd8d0145 [bsp][stm32]:修复UART6 DMA分配有可能冲突的BUG
用户自己可以添加DMA分配文件,所以这里的DMA分配有可能和用户自定义的冲突
2022-06-14 17:00:11 +08:00
Meco Man b0030704d0 [stm32][hwtimer] add H7 support 2022-06-14 16:11:05 +08:00
100ask-Alen 3d06d96f65
[bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068)
* [bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068)
2022-06-14 14:17:22 +08:00
supperthomas c16eaf55de
[bsp/stm32l496_ali] add the on-chip flash (#6061)
* [bsp/stm32l496_ali] add the on-chip flash

* [bsp/stm32l496_ali]add Kconfig

Co-authored-by: Meco Man <920369182@qq.com>
2022-06-13 21:15:12 +08:00
supperthomas 5e0810e756
[bsp][stm32l496zg] add on-chip feature (#6056)
* [bsp][stm32l496zg] add on-chip feature
2022-06-09 14:28:36 +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
100ask-Alen 4fa1beb812
[bsp][100ask]: create two new bsp for 100ask stm32f103 boards and commit them (#6045)
* 重新pull后上传bsp和action
* remove the file named main.c in cubemx prj and add enter at last in the file named user_key.c
* remove personal project environment file project.uvguix.slhuan in rtt/bsp/stm32/stm32f103_100ask_mini
* remove system_stmf1xx.c in bsp/stm32/stm32f103-100ask_pro/mini
* modify stm32f1xx_it.c code to conform to the specification

Co-authored-by: slhuan <953172510@qq.com>
2022-06-08 23:28:49 +08:00
luhuadong 5b84857889 [bsp][stm32] fix stm32f767-st-nucleo console device name 2022-06-08 14:46:34 +08:00
Yanlineng a9dce72915 [bsp][stm32h750-artpi] Modify the content of flash algorithms in README.md 2022-06-08 14:18:11 +08:00
Yanlineng 4b26e44e55 [bsp][stm32h750-artpi] add bootloader.bin, add the description of the bootloader in README.md.(#5923) 2022-06-08 14:18:11 +08:00
breederbai 21003c74ea [bsp][stm32] 增加uart7和uart8的DMA配置 2022-06-08 11:57:23 +08:00
Man, Jianting (Meco) b197b503c6
[stm32] move CMSIS hearder files to common folder (#5998)
* [stm32] move CMSIS hearder files to common folder

* add CMSIS new sconscript
2022-06-04 17:05:37 +08:00
Man, Jianting (Meco) 02b176f8cb
[arduino] add comment (#6016) 2022-06-04 13:20:30 +08:00
xfwangqiang e8d775f888
[componnets][pin]add pin operate command in MSH (#5892)
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
2022-05-30 18:00:26 +08:00
Stanley Lwin 04a17d469a
[device][adc] implement adc_get_vref (#5988)
* add adc_get_vref

add stm32_adc_get_vref
2022-05-29 10:22:33 +08:00
cha331 9d5302d7fb
[STM32][RTC] add support for STM32L0 series. (#5994)
* [STM32][RTC] add support for STM32L0 series.

* Update drv_rtc.c
2022-05-28 10:02:01 +08:00
Meco Man 996add96d6 [stm32][dac] add comment 2022-05-25 10:04:33 +08:00
Meco Man 4ac54cfd60 [arduino] suuport MsTimer2 library 2022-05-25 10:03:54 +08:00
Meco Man 3d4bb43aec [arduino][readme] 增加对5v容忍的描述 2022-05-25 10:03:54 +08:00
Meco Man b0364da7e3 [arduino] add F_CPU to indicate the frequency of CPU 2022-05-25 10:03:54 +08:00
Meco Man 36f142fbc3 [arduino] add RTDUINO_NO_SETUP_LOOP 2022-05-25 10:03:54 +08:00
Meco Man 2fc7fab80a remove CMSIS/RTOS folders 2022-05-20 10:51:55 +08:00
Meco Man 4557d3c8c3 update 2022-05-20 10:51:55 +08:00
Meco Man 19672b7c3a update stm32 ci checking list 2022-05-20 10:51:55 +08:00
Meco Man 9182d4cbb7 [stm32] remove meaningless files 2022-05-20 10:51:55 +08:00
Meco Man 2d41853124 [stm32f746] update the project
取消了默认选中LWIP和DFS
2022-05-16 09:53:25 +08:00
Meco Man 6fe83d4a77 [lvgl][stm32f407] 优化LVGL初始化流程 2022-05-12 10:10:11 +08:00
Meco Man 1b4f16f729 [stm32f469][lvgl] 优化LVGL文件结构 2022-05-11 20:30:50 +08:00
Meco Man 4448869394 [simulator] 优化vs模拟器的LVGL结构 2022-05-11 20:30:38 +08:00
Meco Man 9ff61b4cb3 [l475] remove meaningless header file 2022-05-11 20:30:38 +08:00
Man, Jianting (Meco) 4e7823cb6b
[stm32l475]优化LVGL初始化流程和结构 (#5919)
* [lvgl] 代码精炼

* delet lv_port_indev.c

* Update Kconfig
2022-05-11 08:41:57 +08:00
Meco Man 8a7b9da76d [stm32 nucleo][f072][f401] support TIM7/TIM11 hardware timer 2022-05-10 13:55:16 +08:00
Meco Man c14dbe8a2e [lvgl] beautify code 2022-05-10 10:12:45 +08:00
Man, Jianting (Meco) 0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 (#5901) 2022-05-09 22:59:27 +08:00
Meco Man 96dd783f37 [cmsis] avoid conflict between cmsis5 and bsp cmsis 2022-05-09 22:54:36 +08:00
Wu Han 4171fcbb06 [bsp][stm32][drv_crypto] Enable RNG Clock 2022-05-09 11:13:01 +08:00
Meco Man 73236a825c [stm32][spi] remove hardware NSS 2022-05-09 09:57:22 +08:00
Meco Man e037b7684e prepare to support squareline studio 2022-05-09 09:56:27 +08:00
Man, Jianting (Meco) 0e66f3f833
[arduino] update (#5895) 2022-05-01 12:24:35 +08:00
Meco Man ec9629b5f0 更新文档 潘多拉增加spi2 2022-04-28 09:19:39 +08:00
breederbai 429e1cafe6 修复BUG:串口启用DMA接收后,动态修改串口波特率扰乱接收检索
在串口不关闭的情况下,更改波特率后,清空上次数据检索,导致更新写入检索错误,
串口无法读出正确的数据。真实数据的位置和检索值之间总有一定的距离,导致读取
数据的时候会有一定的延时。缓冲区大,延时越长
2022-04-27 21:59:06 +08:00
breederbai 326abec0e7 修复BUG:SDIO和UART6(TX)的DMA通道分配冲突 2022-04-27 21:54:28 +08:00
blta d52ad69d6f
[BSP] judge the SPI instances before operating (#5874) 2022-04-26 13:26:28 +08:00
Meco Man 175ca2ee09 [dac] add get resolution method 2022-04-23 23:03:59 +08:00
Man, Jianting (Meco) c2a0995545
[adc] 支持adc框架获取BSP的ADC分辨率 (#5853) 2022-04-22 22:26:41 +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
Man, Jianting (Meco) 7b47e8d052
[stm32f401-nucleo] arduino support (#5842)
* [stm32f401-nucleo] arduino support
* 增加application arduino main文件
* 调整目录结构
2022-04-20 09:09:58 +08:00
Meco Man 991b6e78b3 [bug] 修正rtc对时间参数范围的处理 | fix a bug of rtc 2022-04-19 11:48:59 +08:00
Man, Jianting (Meco) 0dc493d6da
[stm32f072] support Arduino I2C and update readme (#5824)
[stm32f072] support Arduino I2C and update readme
2022-04-18 09:36:12 +08:00
Man, Jianting (Meco) 9fa8c78c9a
update arduino related (#5809)
- add comments
- remove ARDUINO_PWM_HZ
- remove initVariant blank function
- support DAC0
- improve Kconfig of STM32L475 PANDORA
- add readme
- add i2c1 bus device
2022-04-16 15:10:00 +08:00
Miaowulue 5e7badd34c [bsp/stm32] update ov5640 configuration of openmv 2022-04-15 10:34:38 +08:00
Miaowulue da0164cf8e [bsp/stm32] add ov5640、dcmi、i2c for openmv 2022-04-15 10:34:38 +08:00
Miaowulue 7919642a8b [bsp/stm32] add rtc for openmv 2022-04-15 10:34:38 +08:00
zuozuojia ecb69f56ac Update drv_can.c
删除多余注释,另外确定了对于其他型号单片机的适应性
2022-04-14 11:50:22 +08:00
zuozuojia ff36a39d32 [bsp/stm32] fix the bug of can filter conflict 2022-04-14 11:50:22 +08:00
blta 35e266cb2e [bsp/stm32] select the input clk of spi based on SPI instances 2022-04-11 17:33:02 +08:00
zuozuojia ba1b8b4bfa delete the code be commented out 2022-04-11 15:02:12 +08:00
zuozuojia 04971a96fe [bsp/stm32] fix the bug of uart that not define pwm10 and pwm11 2022-04-11 15:02:12 +08:00
zuozuojia a282faf26c [bsp/stm32] fix the bug of 'can' being stucked when short cricuit the canH and canL, change some wrong annotations 2022-04-11 15:02:12 +08:00
zuozuojia 10b71175eb [stm32F4] adapt 168M frequency of 1M can baud, remember to add the define of BSP_USING_CAN168M in kconfig while using 168M frequency 2022-04-11 15:02:12 +08:00
Yang sheng eb2fc60207
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo.
* [RTC] Fix compile errors
2022-04-09 00:39:00 +08:00
CaocoWang 6b56515249
Lm402 (#5746)
* 1、添加基于STM32WLE5JC的BSP
2、修正stm32wlxx的引用

* edit readme
2022-04-08 01:12:37 +08:00
Man, Jianting (Meco) 953ebe29de
[arduino] 非必要功能使用弱依赖 (#5757) 2022-04-06 10:25:38 +08:00
Man, Jianting (Meco) 6bd22f3e6f
替换RTThread旧版文件头注释版权声明 (#5774) 2022-04-05 19:34:30 +08:00
朱天龙 (Armink) 039efbb075
完善 Serial V2 框架 (#5770)
* [stm32] fix h7 uart V2 driver unused code.

* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.

* [stm32][art-pi] using serial v2 by default

* [DeviceDriver][SerialV2] Add termios for serial@V2 .

* [BSP][STM32] Add hardware flow control for STM32 serial@V2 driver.

* [DeviceDriver][Serial@V2] Add hardware flow control for serial V2.
2022-04-04 17:25:04 +08:00
guo 201bd8871d
Revert "优化build输出" (#5747) 2022-03-30 16:59:20 +08:00
guozhanxin d9591b6eb3 revert stm32l0xx change. 2022-03-30 01:39:36 +08:00
guozhanxin 921247b420 [bsp/stm32] improve build output. 2022-03-30 00:52:12 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
guozhanxin 12c4b5b1df [bsp] Fix RTT_ROOT path problem. 2022-03-29 18:12:19 +08:00
Man, Jianting (Meco) be892de35a
[posix] add RT_USING_POSIX_SOCKET (#5731) 2022-03-29 13:39:55 +08:00
Meco Man a2b1757448 增加依赖项 2022-03-26 23:48:41 -04:00
朱天龙 (Armink) bae1be0f45
完善串口 V2 框架 (#5720)
* [stm32] fix h7 uart V2 driver unused code.
* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.
* [stm32][art-pi] using serial v2 by default
2022-03-27 00:52:41 +08:00
Miaowulue c4b62a9161
[bsp/stm32] add usbcdc for openmv (#5702) 2022-03-25 22:58:14 +08:00
Man, Jianting (Meco) db04395d76
[stm32 pandora][arduino] 增加依赖项 (#5709) 2022-03-25 20:43:22 +08:00
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08:00
cha331 96b4974ea2
[stm32][driver_crypto]修复CRC自定义设置不生效的bug (#5655)
* [stm32][drivers]修复CRC自定义设置不生效的bug

* update format
2022-03-23 14:17:10 +08:00
Miaowulue f6f6dae2d6
[bsp/stm32] add qspi flash and sdio for openmv h7plus (#5679)
* [console] fix bug of sdram, configure PA7(DRAM_WE)

* [bsp/stm32] add qspi flash for openmv

* [bsp/stm32] change sram1 to sram2

* [bsp/stm32] add sdio for openmv

* [update] update README.md of openmv
2022-03-22 09:39:13 +08:00
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +08:00
Man, Jianting (Meco) 8b58577230
[ulog][rtc][time][bug] solve the interference when enable the ulog timestamp (#5687)
* [ulog] 解决ulog开启时间戳后与libc time以及rtc驱动相关函数干涉的问题
* ulog:当发生递归输出时,后续递归想要输出的内容可能会因为防范递归的判断而无法输出
因此修改输出规则,在发生递归时,采用简单的,无格式的方式直接输出。这样既保证不会发生递归输出,也可以保证递归输出的部分可以正常输出。
* [ulog] size_t->rt_size_t NULL->RT_NULL
2022-03-21 14:06:17 +08:00
Man, Jianting (Meco) fba060e550
[stm32 pandora] fix the bug when using LCD demo (#5692)
* [stm32 pandora] fix the bug when using LCD demo

* arduino 增加内部温度传感器和参考电压通道

* remove ARDUINO_PINOUT_PWM_MAX
2022-03-21 11:53:31 +08:00
Man, Jianting (Meco) bb4fc9cb3a
[stm32 pandora] support backlight with brightness adjustable (#5691) 2022-03-20 15:47:57 +08:00
Man, Jianting (Meco) 9ee5940f25
[arduino][stm32l475 pandora] fullly support analog output(PWM) and analog input(ADC) (#5690) 2022-03-20 15:46:33 +08:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
Man, Jianting (Meco) 59079fe91f
update documentation (#5674) 2022-03-14 21:18:14 +08:00
Cathy-lulu 909130ba53
Merge pull request #5672 from yangjie11/f469
[bsp][stm32f469-st-disco] 增加英文readme
2022-03-14 00:37:52 -07:00
yangjie11 9ccf1ee9ad [bsp][stm32f469-st-disco] 增加英文readme 2022-03-14 14:40:34 +08:00
Man, Jianting (Meco) 5b17eeeb9b
[stm32][nucleo-f072] add arduino support (#5650)
* [stm32][nucleo-f072] add arduino gpio support

* 完善stm32f401nucleo的基本配置

* 修改led引脚描述

* 潘多拉增加arduino引脚别名

* [ARDUINO]STM32L072RB 增加ADC A0-A5的引脚配置

* add pwm
2022-03-10 13:44:39 +08:00
Yang sheng 542195559b
[bsp][stm32] Add support with pwm6 to pwm13 (#5620) 2022-03-07 01:20:05 +08:00
Man, Jianting (Meco) c1ab995371
增加板卡标识 (#5633) 2022-03-07 01:15:13 +08:00
Man, Jianting (Meco) d28654570d
增加板卡标识 (#5615) 2022-02-27 09:02:14 +08:00
Man, Jianting (Meco) 2e98bc4e19
[arduino][stm32l475] enable i2c4 bus (#5608)
* [Arduino][stm32l475] enable i2c bus device

* 增加默认i2c总线设备名称
2022-02-23 10:20:36 +08:00
Man, Jianting (Meco) 89bf823f7d
[arduino][stm32l475] update application/arduino folder (#5599) 2022-02-17 13:36:15 +08:00
WillianChan a1d1f95338 [bsp][stm32][stm32f769-st-disco]add stm32f7xx_hal_dsi.c when using LTDC/MIPI-DSI
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 13:55:39 +08:00
yanmowudi 98b98124c7 delete swm320-lq100 bsp 2022-02-14 13:53:04 +08:00
WillianChan 56235c21dd [bsp][stm32][stm32f769-st-disco]fix wrong CPPDEFINES and close lwip
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 10:13:42 +08:00
RudyLo 4192f0d651
[bsp][artpi] porting LVGL to ART-Pi with Media-IO (#5583)
* [bsp][art-pi] add spi lcd ili9488 driver
* [bsp][art-pi] support LVGL display
* [bsp][artpi] support LVGL indev
* [bsp][artpi] debug LVGL indev with ft6236
* [bsp][artpi] swap and invert touchpad coordinate
* [bsp][artpi] redundant declarations
* [bsp][artpi] indent BSP_USING_LVGL config
* [bsp][artpi] default build debug version
* [bsp][artpi] fix BSP_USING_LVGL Kconfig
2022-02-07 17:24:48 +08:00
Meco Man 7a0f48caa9 [stm32]小ROMbsp 默认为-O2 2022-01-28 04:23:41 -05:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
LeeChunHei c06b57670f
修改bsp的usb host 驅動 (#4379)
* add arg for rt_usb_host_init call
2022-01-26 10:46:57 +08:00
diskwu 03f46c6694
避免警告,变量可能未初始化就使用 (#5544)
* 避免警告,变量可能未初始化就使用

* 避免警告,变量可能未初始化就使用

* 避免警告,变化可能未初始化就使用。

* Update bsp/stm32/libraries/HAL_Drivers/drv_usart.c

Co-authored-by: guo <guozhanxin@rt-thread.com>

* Update bsp/stm32/libraries/HAL_Drivers/drv_usart_v2.c

Co-authored-by: guo <guozhanxin@rt-thread.com>

Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-01-21 11:06:37 +08:00
guo 7c403d3587
Merge branch 'master' into keil 2022-01-20 14:20:43 +08:00
Meco Man 884218588a [sconscript.platform] 优化针对编译器判断的脚本
- 删除啰嗦的代码
related: https://github.com/RT-Thread/rt-thread/issues/3046
2022-01-19 23:24:47 -05:00
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +08:00
Meco Man 94116501fe [stm32][at esp8266][kconfig] 增加esp8266配置选项接管 2022-01-17 13:16:14 -05:00
guo 1a46d7fe92
Merge pull request #5530 from mysterywolf/audio
[l475][audio] 消除编译错误
2022-01-17 10:54:47 +08:00
Meco Man eef0a2d810 [qmeu] chore 2022-01-16 18:54:24 +08:00
Meco Man 0f856cc2d2 [l475][audio] 消除编译错误 2022-01-15 23:21:38 -05:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Bernard Xiong 2949ced0f4
Merge pull request #5426 from Rbb666/master
Refresh using dma2d,screen refresh average 25fps
2022-01-14 22:51:21 +08:00
Rbb666 eaf54ca571 Refresh using dma2d,screen refresh average 25fps 2022-01-13 10:18:33 +08:00
guozhanxin 502176ae63 Remove the problematic rtconfig.h|移除有问题的 rtconfig.h 2022-01-09 09:41:44 +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 85441c0dc4 [sconscript] 代替+=的表述方法 2022-01-08 15:48:50 +08:00
guo 495e209f37
Merge pull request #5480 from mysterywolf/l475
[lvgl][l475] use single buffer instead of double buffers
2022-01-06 19:59:03 +08:00
Meco Man 195f753cbb [lvgl][l475] use single buffer instead of double buffers 2022-01-06 03:33:28 -05:00
guo 5e24acf7fa
Merge pull request #5470 from supperthomas/dd_master
[bsp/stm32] add sdram for openmv
2022-01-05 11:02:22 +08:00
supperthomas e56221c7b1 [bsp/stm32] add sdram for openmv 2022-01-04 19:23:26 +08:00
Meco Man 9c67e061df [stm32] format codes 2021-12-29 22:33:16 -05:00
Meco Man 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00
xiangxistu 88a746377c [restore] restore to basic function. 2021-12-30 01:41:38 +08:00
xiangxistu 40785ea926 [update] use macro 'BSP_USING_LVGL' to select something about 'lvgl' . 2021-12-30 01:41:38 +08:00
liuxianliang a45953f2bc [update] the file format. 2021-12-30 01:41:38 +08:00
liuxianliang 8e50ef53d5 [add] proting 'lvgl' for stm32f407-atk-explorer. 2021-12-30 01:41:38 +08:00
Meco Man ed09f38012 [libc] remove RT_USING_LIBC 2021-12-30 01:27:25 +08:00
supperthomas 5593e39847 [bsp/stm32] stm32l433 starterkit first version 2021-12-29 12:10:41 +08:00
guo a8ca46869c
Merge pull request #5435 from Ouxiaolong/master
Fix the problem of stm32f746-st-nucleo that env cannot be configured with menuconfig
2021-12-28 13:47:10 +08:00
guo 008eaed0f1
Merge pull request #5440 from mysterywolf/l475
[lvgl][simulator]&[l475][arduino] 细节修改
2021-12-27 21:10:19 +08:00
Meco Man fd2892b82d [kconfig] 修复kconfig路径 2021-12-27 08:25:15 +08:00
Ouxiaolong 316af57a79 Fix the problem of stm32f746-st-nucleo that env cannot be configured with menuconfig 2021-12-26 12:40:17 +08:00
Meco Man 33c1bfbc79 [l475] 修复bug 2021-12-24 02:55:13 -05:00
Meco Man 787b854f27 [bsp][stm32l475] move arduino to application 2021-12-24 02:18:07 -05:00
Man, Jianting (Meco) ed1f8b3f64 Revert "add clang-arm support."
This reverts commit a5f6fdc780.
2021-12-22 18:57:16 -05:00
guozhanxin 67a39f62e5 Improve armclang support.|完善 armclang 支持 2021-12-22 13:04:02 +08:00
guozhanxin a5f6fdc780 add clang-arm support. 2021-12-22 13:03:05 +08:00
陈迎春 2539c7ff85
[bsp/stm32/stm32l496-ali-developert] add pm supported (#5391)
* [bsp/stm32/stm32l496-ali-developert] add lptimer config

* [bsp/stm32/stm32l496-ali-developert] add pm supported
2021-12-21 22:23:13 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08:00
Meco Man 7afddbd5bb [f469-disc] 优化lvgl例程 2021-12-19 18:46:08 -05:00
Meco Man 1948988913 [lvgl] 将lvgl目录调整到application文件夹下 2021-12-19 18:21:31 -05:00
Meco Man f4aa860d8b [qemu][lvgl] 优化lvgl显示驱动 2021-12-18 14:16:08 -05:00
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
supperthomas 6c95714f73 [bsp/stm32] add bsp of openmv 2021-12-17 10:23:44 +08:00
liukangcc 7733999c0c [update] stm32f469 lvgl demo 2021-12-16 17:03:43 +08:00
guo a6b62d37d0
Merge pull request #5394 from mysterywolf/simu 2021-12-16 16:51:30 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
Meco Man d4a72f29c7 [simulator][lvgl] 处理注释 2021-12-16 03:16:02 -05:00
guo c5208a7d19
Merge pull request #5375 from mysterywolf/arduinol475
[l475][arduino] 增加ADC PWM管脚定义
2021-12-14 09:43:29 +08:00
Meco Man 7f9546ada0 [l475][arduino] 增加ADC PWM管脚定义 2021-12-13 20:18:26 -05:00
guo 9ab2ceb8b3
Merge pull request #5373 from Rbb666/master
Add BSP-ART-PI download algorithm
2021-12-14 09:17:43 +08:00
guo a8fd3025de
Merge pull request #5374 from Puhan-Zhou/master
[bsp][stm32f411][docs]fix doc error
2021-12-14 09:16:43 +08:00
张世争 7455e2487b [components] PM框架更新 2021-12-14 06:12:55 +08:00
Bernard Xiong 3b007a7bbc
Merge pull request #5359 from qingehao/h7_spi
完善了STM32H7系列SPI使用DMA的驱动
2021-12-14 06:11:22 +08:00
Puhan Zhou 8ba68a0617 fix doc error 2021-12-13 21:07:07 +08:00
Rbb666 5a53afd00a Add BSP-ART-PI download algorithm 2021-12-13 17:29:06 +08:00
guo c26f66489f
Merge pull request #5370 from mysterywolf/stm32ignore
[stm32] add ignore_format.yml for STM32
2021-12-13 14:00:46 +08:00
guo bf7a1d7cb0
Merge pull request #5371 from mysterywolf/common
[stm32][drv_common] add LOG_E for Error_Handler
2021-12-13 14:00:13 +08:00
Meco Man d83bea2ba3 [stm32l475] 修正port/Arduino的宏定义 2021-12-13 00:50:41 -05:00
Meco Man 878ecd14f4 [stm32] add ignore_format.yml 2021-12-13 00:49:48 -05:00
Meco Man 05d15b1162 [stm32][drv_common] add LOW_E for Error_Handler 2021-12-12 23:45:29 -05:00
Man, Jianting (Meco) 01a6563249
[stm32l475][arduino] 初步实现Arduino生态兼容 (#5367)
* [arduino] 初步实现Arduino生态兼容组件

* [stm32f475] 增加PC2 作为ADC1_IN3

* [stm32l475][port] 将路径Arduino改为arduino
2021-12-13 11:36:51 +08:00
Z.Y.Ma 84ebf38462
add stm32g474-st-nucleo bsp (#5362)
* add stm32g474-st-nucleo bsp

* format

* format
2021-12-13 09:42:33 +08:00
guo 0555a55027
Merge pull request #5349 from mysterywolf/stm32l475
[stm32][l475] 增加ESP8266快速构建选项,串口驱动由v2调整为V1
2021-12-10 18:53:54 +08:00
iysheng b6d90dffcf [bsp][stm32] Modify variable name p_tm to tm 2021-12-10 16:25:40 +08:00
qinge 18da37aacc 修改格式,调整对齐 2021-12-10 15:57:20 +08:00
qinge 81b84ab166 完善了STM32H7系列SPI使用DMA的驱动
1.使能DMA时钟的条件编译中加入了STM32H7
2.添加STM32H7 "spi_config" 中的request字段
3.DMA初始化FiFo相关的初始化的条件编译选项中加入STM32H7
2021-12-10 15:30:30 +08:00
Meco Man a716a9949e [stm32][l475] 增加ESP8266快速构建选项,串口驱动由v2调整为V1 2021-12-08 18:40:37 -05:00
rtthread-bot 9bbb74affc Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-12-08 06:12:14 +00:00
Meco Man 77dc58534a [stm32][f469]update lvgl demo 2021-12-06 09:33:04 -05:00
Bernard Xiong 36d5154256
Merge pull request #5320 from mysterywolf/pse-master
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
guo 8f2a8efe70
Merge pull request #5324 from mysterywolf/bluepill
[stm32][bluepill] update readme
2021-12-04 12:17:54 +08:00
Meco Man 7b5e6a81f9 [stm32][gcc] 修复栈为0的bug,将栈扩展到0x400(与Keil IAR一致) 2021-12-03 10:05:03 -05:00
Man, Jianting (Meco) 1040f4a347
fix ci error. (#68)
Co-authored-by: guozhanxin <guozhanxin@rt-thread.com>
2021-12-02 22:59:59 -05:00
Meco Man 84491d9ff1 [stm32][bluepill] update readme 2021-12-02 20:39:23 -05:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
guo fda37d55f8
Merge pull request #5319 from RT-Thread/master
【PSE分支】同步master到PSE分支
2021-12-02 10:09:37 +08:00
Meco Man 04d3d13081 替换宏定义 2021-11-30 10:39:40 -05:00
chenyingchun0312 7db9df93e5 [bsp/stm32/stm32l496] add I2C config 2021-11-27 17:22:24 +08:00
qinge f89625acb6 修复stm32l4系列flash在下载完程序后首次擦除会失败的问题 2021-11-23 17:33:56 +08:00
guo 7dabc3844c
Merge pull request #5289 from mysterywolf/lvgl
[stm32l475] update lvgl driver
2021-11-22 21:21:34 +08:00
Meco Man 364109708c [stm32l475] update lcd driver 2021-11-21 16:06:41 -05:00
Bernard Xiong 9bbcd1a8b0
Merge pull request #5284 from mysterywolf/mutex
[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO
2021-11-19 16:50:34 +08:00
Meco Man 5f2f862ed9 [stm32f469] update project 2021-11-18 11:44:57 -05:00
Meco Man b7d17f3df8 [stm32l475] update lvgl driver 2021-11-18 11:26:54 -05:00
guo a087a1b0fc
Merge pull request #5280 from liukangcc/u575
[update] add stm32u575-st-nucleo bsp.
2021-11-18 22:43:00 +08:00
Meco Man d6de91c68c update lvgl 2021-11-17 23:21:14 -05:00
Meco Man 1997e5c65b [stm32][l475][f469] update lvgl 2021-11-17 18:38:08 -05:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
qingehao 0a123c307e
Merge branch 'RT-Thread:master' into master 2021-11-16 17:39:35 +08:00
Bernard Xiong c1d7eaa015
Merge pull request #5281 from tfx2001/tinyusb_stm32
[bsp][stm32] move drv_tinyusb.c to tfx2001/tinyusb
2021-11-15 23:34:22 +08:00
liukangcc 5be4d1cc8d [update] ignore_format.yml 2021-11-15 15:31:51 +08:00
tfx2001 0fc5091fd3 [bsp][stm32] move drv_tinyusb.c to tfx2001/tinyusb 2021-11-15 12:54:02 +08:00
liukangcc 234cf4d8ff [update] readme. 2021-11-15 11:55:24 +08:00
liukangcc 1f9eb78d0e [update] add stm32u575-st-nucleo bsp. 2021-11-15 11:23:12 +08:00
Meco Man 0f7b99e2da [bsp][stm32l475] update lvgl driver 2021-11-14 00:03:04 -05:00
qinge e1c281c95d STM32H7系列无需DMA_CHANNEL_X 2021-11-11 19:05:24 +08:00
liukangcc 33bc06de40 [update] add lvgl music demo. 2021-11-11 14:47:42 +08:00
liukangcc 9684f34b08 [update] add dma for lvgl. 2021-11-11 13:57:34 +08:00
Bernard Xiong fdbaa2a808
Merge pull request #5250 from liukangcc/l552ze
[add] bsp stm32l552ze-nucleo
2021-11-10 09:13:44 +08:00
Meco Man 3d8c063194 [stm32l5xx] adjust heap size to zero 2021-11-08 14:30:10 -05:00
liukangcc c00faa21a0 Merge remote-tracking branch 'remotes/liukang/l552ze' 2021-11-08 09:41:28 +08:00
liukangcc f26dc89de6 [update] rtconfig.py 2021-11-08 09:07:20 +08:00
guo 4fe6c709d0
Merge pull request #5251 from charlown/master
[bsp/stm32/libraries/HAL_Drivers/drv_wdt.c]: add SOC_SERIES_STM32G0 to fix wdt always reset.
2021-11-03 19:05:12 +08:00
Meco Man 4e07da09e9 [bsp][stm32][bluepill] update readme 2021-11-02 21:04:06 -04:00
charlown 3c450b7560 [bsp/stm32/libraries/HAL_Drivers/drv_wdt.c]: add SOC_SERIES_STM32G0 to use "stm32_wdt.hiwdg.Init.Window = 0x00000FFF", otherwise the watchdog always reset. 2021-11-02 14:37:42 +08:00
LiuKang 84ca6d31ce
Update drv_usart.c 2021-11-01 20:05:59 +08:00
liukangcc bae07bdab1 [add] bsp stm32l552ze-nucleo 2021-11-01 15:05:02 +08:00
guo da1cc99fe2
Merge pull request #5238 from charlown/master
[bsp/stm32/stm32g070-st-nucleo/board/Kconfig]: corret path.
2021-10-28 10:43:52 +08:00
Meco Man 9eb33f6a3f [stm32l475][lvgl]update lv_demo.c 2021-10-27 16:19:03 -04:00
charlown 6bb18c11ef [bsp/stm32/stm32g070-st-nucleo/board/Kconfig]: corret path. 2021-10-27 23:24:47 +08:00
guozhanxin b7764f2aac [bsp][stm32f469-st-disco] add lvgl port. 2021-10-27 13:50:07 +08:00
guo 574e11f62a
Merge pull request #5183 from tfx2001/tinyusb_stm32
[bsp][stm32] add TinyUSB support
2021-10-25 09:57:20 +08:00
Meco Man 7f619606a1 [stm32l475] improve the structrue of sconscript 2021-10-24 16:21:21 -04:00
guo 9ea2c2b075
Merge pull request #5220 from mysterywolf/kconfig 2021-10-24 16:02:06 +08:00
Meco Man e32626da30 [stm32l475] 修复board文件夹sconscript脚本没有继续扫描子文件夹的问题 2021-10-24 01:59:31 -04:00
Meco Man 468063ae59 [stm32l475] beautify kconfig of board 2021-10-24 01:47:36 -04:00
Meco Man e63e9002bd [stm32l475] enable SPI3-DMA2 for LCD 2021-10-24 01:24:38 -04:00
Meco Man 452fbf850a [lvgl][stm32l475] update demo 2021-10-23 01:58:56 -04:00
Meco Man 7cba0ea924 [lvgl][stm32l475] implement lvgl input driver 2021-10-22 17:34:36 -04:00
guo 0746772433
Merge pull request #5214 from mysterywolf/l745 2021-10-22 20:47:47 +08:00
Meco Man a70eb5604c [stm32l475] upgrade lvgl porting 2021-10-22 01:46:34 -04:00
guo 835e656df3
Merge pull request #5211 from mysterywolf/stm32l475
[stm32l475] add BSP_USING_LCD_SAMPLE in rttlogo.h
2021-10-21 10:19:30 +08:00