Commit Graph

252 Commits

Author SHA1 Message Date
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) 02b176f8cb
[arduino] add comment (#6016) 2022-06-04 13:20:30 +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 9182d4cbb7 [stm32] remove meaningless files 2022-05-20 10:51:55 +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
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
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
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
Man, Jianting (Meco) 953ebe29de
[arduino] 非必要功能使用弱依赖 (#5757) 2022-04-06 10:25:38 +08:00
guo 201bd8871d
Revert "优化build输出" (#5747) 2022-03-30 16:59:20 +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
Meco Man a2b1757448 增加依赖项 2022-03-26 23:48:41 -04:00
Man, Jianting (Meco) db04395d76
[stm32 pandora][arduino] 增加依赖项 (#5709) 2022-03-25 20:43:22 +08:00
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +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) 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
Man, Jianting (Meco) c1ab995371
增加板卡标识 (#5633) 2022-03-07 01:15:13 +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
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