Commit Graph

156 Commits

Author SHA1 Message Date
cx 9968f84c2b [stm32][pandora] fix LCD init ahead PWM 2023-08-09 02:48:36 -04:00
Meco Man a75de72bb1 [RTduino][ST7789] fix the demo of duration time caculation 2023-07-09 20:55:51 -04:00
Meco Man 4f1f96bbce [stm32l475][RTduino] support tone timer 2023-07-08 21:47:57 -04:00
Man, Jianting (Meco) 64c1d626e2
[bsp][stm32l476-nucleo] support timer 7 for RTduino (#7721) 2023-06-26 09:30:21 +08:00
DingDing 3e4797c63c
[stm32][pandora] fix the static conflict error in ROMFS
#### 为什么提交这份PR (why to submit this PR)
原版编译报错:Static declaration of 'romfs_root' follows non-static declaration in dfs_romfs.h

原因为:在`board/ports/drv_filesystem.c`71行用`static`定义了常量`romfs_root`,而在`rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h`29行,有它的外部引用:

```
extern const struct romfs_dirent romfs_root;
```

Original compilation error: Static declaration of 'romfs_ root' follows non-static declaration in dfs_romfs. h

The reason is: in 'board/ports/drv_filesystem.c' line 71 use `static` define `romfs_root`, while in `rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h` line 29, with its external reference:
```
extern const struct romfs_dirent romfs_root;
```

#### 你的解决方案是什么 (what is your solution)
在`drv_filesystem.c`中,不可以用static修饰这个常量,故去掉`static`关键字。

In  `board/ports/drv_filesystem.c`, it is not allowed to define this constant with static, so the `static` keyword must be removed.

#### 在什么测试环境下测试通过 (what is the test environment)
正点原子潘多拉开发板
stm32l475-atk-pandora
2023-06-20 00:22:52 -04:00
Meco Man 690446ee90 [pandor]st77xx update demo 2023-06-10 19:00:25 -04:00
Man, Jianting (Meco) 4366ca8af6
[stm32][pandora][RTduino] 完善RTduino demo (#7584) 2023-05-31 12:16:47 +08:00
Meco Man 099c889e2b [RTduino][stm32][pandora] support Arduino libraries demos 2023-05-29 01:57:19 -04:00
Man, Jianting (Meco) 7aa3c806cd
[stm32l475][Kconfig] add BSP_USING_PWM4_CH2 when enable RTduino 2023-05-22 01:40:49 -04:00
guozhanxin 82ccbc40db support llvm-arm 16.0 2023-05-17 12:09:10 -04:00
liYangYang 6eaf9a9c57
[stm32][qspi] qspi attach 函数问题解决方案 (#6867)
* [qspi] qspi attach 函数解决方案

* pin

* 更改函数名字
2023-01-18 22:04:45 -05:00
liYangYang 7ff64c1cfd
[stm32][spi] spi attach函数问题解决方案 (#6864)
attach #6819
2023-01-18 00:27:08 -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
Man, Jianting (Meco) f4b285dc9c
improve sensor framework (#6784)
* [stm32l475-pandora] rename sensor_port.c as drv_sensors.c
* [sensor][cmd] add enter critical section protection
* [sensor] add sensor reset command
2023-01-08 21:33:38 -05:00
Meco Man 20a6f14e89 use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE 2022-12-26 02:10:30 -05:00
Meco Man 40a24806f9 [stm32][pandora] add ap3216c sensor support 2022-12-26 02:10:30 -05:00
Man, Jianting (Meco) 262392a69c
[sensor] draft new sensor-hal framework (#6746)
* [sensor] new sensor framework
针对老版本sensor框架的诸多不合理设计进行重构
之前的PR中已经重构了浮点数相关的问题
本次PR主要围绕sensor的整体架构予以重构,对过于理想化的参数和模式予以删除
* [sensor] 增加can modbus总线类型
* [stm32l745] 完善sensor对接
* [sensor] fix the onchip ID print
2022-12-21 21:24:51 -05:00
Meco Man 6808f48bdc [stm32] 解决Error_Handler()函数在*_msp.c文件下报错的问题
在用户头文件区增加#include <drv_common.h>即可
2022-11-21 21:31:33 -05:00
Meco Man dc5f280a9a [stm32l475-pandora] select AHT10_USING_SENSOR_DEVICE 2022-11-21 21:31:16 -05:00
Meco Man 6b9bdc12a9 [sensor] use arg to replace user_data 2022-11-14 22:19:47 -05:00
Meco Man c67ff54b6e [Kconfig] remove PKG_USING_SENSORS_DRIVERS and PKG_USING_TOUCH_DRIVERS 2022-11-06 23:01:37 -05:00
Man, Jianting (Meco) c7a9481831
[rtduino] 对接STM32F412 NUCLEO (#6461) 2022-09-25 22:38:35 -04:00
Meco Man 4fa40bcee5 [stm32l4-pandora] 整理文件系统
增加ROMFS,FATFS和未来的LittleFS将挂载在ROMFS上
初步增加littlefs文件系统,尚未完全实现一键化配置
2022-08-24 22:40:11 -04:00
Meco Man 97a5e4ca19 [rtduino] remove libraries dependencies 2022-08-22 09:45:45 +08:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08: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 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 9182d4cbb7 [stm32] remove meaningless files 2022-05-20 10:51:55 +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
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
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