Commit Graph

218 Commits

Author SHA1 Message Date
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
yanmowudi 98b98124c7 delete swm320-lq100 bsp 2022-02-14 13:53:04 +08:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +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
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
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
Meco Man 195f753cbb [lvgl][l475] use single buffer instead of double buffers 2022-01-06 03:33:28 -05:00
Meco Man 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00
Meco Man ed09f38012 [libc] remove RT_USING_LIBC 2021-12-30 01:27:25 +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
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08: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
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
张世争 7455e2487b [components] PM框架更新 2021-12-14 06:12:55 +08:00
Meco Man d83bea2ba3 [stm32l475] 修正port/Arduino的宏定义 2021-12-13 00:50:41 -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
Meco Man a716a9949e [stm32][l475] 增加ESP8266快速构建选项,串口驱动由v2调整为V1 2021-12-08 18:40:37 -05: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
Meco Man 7b5e6a81f9 [stm32][gcc] 修复栈为0的bug,将栈扩展到0x400(与Keil IAR一致) 2021-12-03 10:05:03 -05:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
Meco Man 04d3d13081 替换宏定义 2021-11-30 10:39:40 -05:00
Meco Man 364109708c [stm32l475] update lcd driver 2021-11-21 16:06:41 -05:00
Meco Man b7d17f3df8 [stm32l475] update lvgl driver 2021-11-18 11:26:54 -05: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 0f7b99e2da [bsp][stm32l475] update lvgl driver 2021-11-14 00:03:04 -05:00
Meco Man 9eb33f6a3f [stm32l475][lvgl]update lv_demo.c 2021-10-27 16:19:03 -04: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
Meco Man 9d8ef7382a [stm32l475] add BSP_USING_LCD_SAMPLE in rttlogo.h 2021-10-20 21:19:27 -04:00
Meco Man d4991d9d50 [l475] port for LVGL 2021-10-18 17:07:45 -04:00
Jianting (Meco) Man 830785eec7
Merge pull request #60 from mysterywolf/sconscirpt
[stm32][bsp] The sconscript script in the application folder increase…
2021-10-18 12:50:57 -05:00
Jianting (Meco) Man 4ac91e3dec
Merge pull request #59 from mysterywolf/l475
[bsp][stm32][l475] add lcd_fill_array()
2021-10-18 12:41:21 -05:00
Meco Man ff4e819dfd [stm32][l745] add lvgl demo 2021-10-17 12:03:00 -04:00
Meco Man 655d8dc768 [bsp][stm32][l475] add lcd_fill_array() 2021-10-17 03:46:20 -04:00
Meco Man fa4b7ec8fd [stm32][bsp] The sconscript script in the application folder increases the recursion searching capability 2021-10-15 15:14:30 -04:00
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
Meco Man 698569c3ca [stm32][lib] modify heap size to zero 2021-10-11 17:25:15 -04:00
liukangcc 0e46c8a33d [update] support armclang 2021-09-26 10:46:21 +08:00
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
chenjh 67b86e61ba [uart] Modify the uart file to configure uart_pin for pullup 2021-07-07 18:51:21 +08:00
guozhanxin 132ecaffb7 [fix] stm32l475-atk-pandora armcc build error. 2021-07-01 01:34:46 +08:00
guozhanxin 194e33a792 [tools] add scons --target=cmake-armclang 2021-07-01 01:30:50 +08:00
chenjh 5ac5d92cbb [serial] 优化发送非阻塞时,serial_close未执行rt_completion_done的问题。 2021-06-16 16:55:33 +08:00
chenjh fac3c5cda1 [serial] 优化dma接收处理流程,解耦驱动调用串口框架的API接口 2021-06-08 09:38:43 +08:00
chenjh d94be14df5 [serial] 增加serial_v2版本的框架和基于stm32的串口驱动 2021-06-08 09:38:43 +08:00
ivan 1e82e40c82 fixed bug of lcd_draw_line function when y1 == y2. need to consider user case when x1 >= x2 2021-06-07 11:37:12 +08:00
guozhanxin 247943f1cd add usb audio for pandora. 2021-05-24 16:59:32 +08:00
Meco Man b5a7a4365a miss typing 2021-04-17 20:43:44 +08:00
Meco Man a1d4a2586c miss typing 2021-04-17 16:32:33 +08:00
Meco Man 71988c967d format codes 2021-04-17 16:31:08 +08:00
Meco Man 8956b2ea46 [stm32 pandora] implement drv_key and modify drv_sdcard 2021-04-17 16:28:09 +08:00
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +08:00
Bernard Xiong 199f73c72d
Merge pull request #4547 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2021-04-02 18:37:40 +08:00
rtthread-bot 11dd63e9e9 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-03-29 06:39:42 +00:00
Meco Man a13aea3a30 remove return 2021-03-28 22:42:37 +08:00
Meco Man 390c635267 [stm32] remove 'count' variable in main() 2021-03-28 19:36:32 +08:00
Meco Man 5bd17e1433 [stm32] auto formatted 2021-03-14 15:33:55 +08:00
Meco Man 4f06fdc0ad [stm32]删除RTC对libc的依赖 2021-03-05 09:26:26 +08:00
Meco Man 9da70b7e76 删除多余空格 2021-02-27 14:53:00 +08:00
Meco Man c271332dd8 [bug][bsp][stm32][pandora] fix a bug that cannot use fatfs in the main thread at starting up 2021-02-26 10:23:01 +08:00
shuobatian b546e25f9f armcc 链接参数 2021-01-13 21:59:02 +08:00
shuobatian ed28e65b7e 防止字符转义 2021-01-13 21:55:25 +08:00
shuobatian 7018a5c297 修改armclang编译参数,debug优化等级-O1 2021-01-13 21:47:40 +08:00
shuobatian 94b5d009d1 不使用microlib 2021-01-11 22:36:30 +08:00
shuobatian 791527caca add armclang support 2021-01-11 20:07:12 +08:00
yangjie dc09f3760f 更新 stm32 工程,nxp 工程 2020-12-28 15:02:17 +08:00
yangjie eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
yangjie11 ba83ddc3c4 [SConscript] change libcpu to LIBARCH,and correcte letter case 2020-11-30 15:52:43 +08:00
yangjie11 91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
chenjh 3fa1f523df add dac driver for stm32l4 2020-11-18 23:05:18 +08:00
来日方长 37808b135b update bsp/stm32/stm32l475-atk-pandora/rtconfig.py.
添加-fstack-usage -fdump-rtl-dfinish选项
2020-06-21 22:13:08 +08:00
SummerGift fea7f2bb58 [add] dist_dir function for every stm32 bsp 2020-05-25 14:36:42 +08:00
SummerGift b74ec1ec8c [add] stm32 bsp dist handle in rtconfig.py 2020-05-06 15:05:09 +08:00
yangjie ef00e50ad5 [bsp][stm32l475-atk-pandora]将SPI3配置为 transmit only master 模式,防止LCD模块使用的PIN脚被SPI3_MISO占用 2020-04-23 16:21:01 +08:00