Commit Graph

31 Commits

Author SHA1 Message Date
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
liYangYang 6eaf9a9c57
[stm32][qspi] qspi attach 函数问题解决方案 (#6867)
* [qspi] qspi attach 函数解决方案

* pin

* 更改函数名字
2023-01-18 22:04:45 -05:00
Meco Man ddccef3a64 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -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) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Meco Man 6808f48bdc [stm32] 解决Error_Handler()函数在*_msp.c文件下报错的问题
在用户头文件区增加#include <drv_common.h>即可
2022-11-21 21:31:33 -05:00
Man, Jianting (Meco) f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 (#6481)
* [bsp][sconscript] 整理统一sconscript格式

* update

* update
2022-10-03 10:43:08 -04:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +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
Meco Man 9182d4cbb7 [stm32] remove meaningless files 2022-05-20 10:51:55 +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
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
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
Miaowulue c4b62a9161
[bsp/stm32] add usbcdc for openmv (#5702) 2022-03-25 22:58:14 +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
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +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
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 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00
supperthomas 6c95714f73 [bsp/stm32] add bsp of openmv 2021-12-17 10:23:44 +08:00