Commit Graph

58 Commits

Author SHA1 Message Date
Meco Man 341ce50067 [stm32] format Kconfig 2024-05-05 22:18:34 -04:00
Meco Man bb66d1ea50 [bsp][stm32][nano] support nano version
stm32 BSPs to support nano version (RT_USING_NANO)

这个commit支持到stm32f7之前的BSP
2023-12-03 21:25:00 +08:00
zhkag 33f550cb65
[Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
shandianchengzi e49140b513
[HUST CSE IoTS&P Lab][bsp] add missing UL suffix to BIT macro to prevent undefined behavior (#7153)
* [bsp] add missing UL suffix to BIT macro to prevent undefined behavior.

* [bsp] add UL suffix to BIT macro for consistency and readability.

* fix toUppercase.

* fix the abnormal character.

* format the file.
2023-04-03 23:05:42 +08:00
Meco Man eb3cb250be [errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without - 2023-03-22 01:54:52 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man 2cc9bd876e [error code][-RT_EIO] fix that use RT_EIO without - 2023-03-16 20:20:37 -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
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) 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
cy023 f741ccb400 Fix string comparison method 2022-10-01 14:00:21 -04:00
Meco Man 067315ff40 [phy] fix the PHY_FULL_DUPLEX conflicts 2022-08-03 22:45:27 -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
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
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +08: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 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
Meco Man 878ecd14f4 [stm32] add ignore_format.yml 2021-12-13 00:49:48 -05:00
Meco Man 7b5e6a81f9 [stm32][gcc] 修复栈为0的bug,将栈扩展到0x400(与Keil IAR一致) 2021-12-03 10:05:03 -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
Meco Man 698569c3ca [stm32][lib] modify heap size to zero 2021-10-11 17:25:15 -04:00
chenjh 67b86e61ba [uart] Modify the uart file to configure uart_pin for pullup 2021-07-07 18:51:21 +08:00
thread-liu 43e8524ffc [update] stm32mp1 opemamp malloc -> rt_malloc. 2021-03-31 11:27:11 +08:00
Meco Man 5bd17e1433 [stm32] auto formatted 2021-03-14 15:33:55 +08:00
thread-liu c8ac5c748a [update] return value judgment. 2021-01-21 09:46:35 +08:00
thread-liu f691db99b5 [update] uart dma sample. 2021-01-20 15:31:38 +08:00
thread-liu 534239b8c1 [update] add keyword __no_init to disable IAR from initializing specified memory. 2020-12-25 09:47:47 +08:00
thread-liu 0b5c69ef69 [update] stm32mp1 heap address. 2020-12-17 11:55:53 +08:00
thread-liu f549c79269 [update] stm32mp1 mdk link script file. 2020-12-17 10:27:51 +08:00
thread-liu a06f1fa627 [add] dma test case. 2020-12-10 14:52:04 +08:00
thread-liu 5de6c0defc [add] timer test case. 2020-12-05 14:33:12 +08:00
thread-liu 3ecf12b5b2 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into step4-ev1
# Conflicts:
#	bsp/stm32/libraries/STM32MPxx_HAL/SConscript
2020-12-05 14:12:54 +08:00
thread-liu f9e34b4df6 [add] rs485 driver 2020-12-05 13:38:53 +08:00
thread-liu 8880e751f2 [add] low power and lptim driver. 2020-12-05 11:54:17 +08:00
thread-liu 6d8dbb6756 [add] RNG, CRC, HASH, CRYP driver. 2020-12-05 11:34:30 +08:00
thread-liu fd20299507 [add] exti test case. 2020-12-05 11:20:38 +08:00
thread-liu ba7865d3f5 [add] spi loopback test case. 2020-12-05 11:19:57 +08:00
thread-liu edd3fd2174 [add] wwdg driver. 2020-12-05 10:16:06 +08:00
thread-liu 73539c6bc0 [add] dfsdm driver. 2020-12-05 09:43:32 +08:00
thread-liu b71d496b83 [add] spdifrx driver. 2020-12-05 09:32:35 +08:00
thread-liu dbd67507d9 [add] qspi_flash driver. 2020-12-05 09:09:28 +08:00
thread-liu 5d7efb3c5f [add] fdcan driver. 2020-12-04 17:57:54 +08:00
thread-liu 10da8d4e44 [add] dcmi and ov5640 driver. 2020-12-04 17:48:42 +08:00