LZerro
f190cba0ab
[i2c] adjust the timing for I2C initialization
2024-04-29 20:46:12 -04:00
Meco Man
6a9c42a19d
[bsp][drv_gpio] fix the error code return when pin number is illegal
2024-03-24 09:18:25 +08:00
kk
2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t
2024-03-23 14:50:31 -04:00
Meco Man
3f26998f9c
[bsp] update projects
2024-03-21 11:23:29 +08:00
kurisaw
345ce24e31
[bsp][renesas] RTduino configuration update
...
sync update
some optimize
[bsp][driver] Updates the naming convention of the i2c configuration item
2024-01-18 11:57:51 +08:00
guozhanxin
9e79333512
[project] update mdk/iar project and config.
2023-10-08 11:21:00 +08:00
Stwsyburg
ca1b1e5164
Fix many abnormal symbols in annotations
2023-04-16 22:37:16 -04:00
luobeihai
8baaf73210
add apm32 can driver and add apm32e1/s1 rtt driver support ( #7170 )
...
* add apm32 can driver and add apm32e1/s1 rtt driver support
* format some files
* modified action.yml file and modified bsp picture and add bsp README.md
2023-04-05 00:18:51 -04:00
shandianchengzi
dc5123547c
[bsp] Fix many abnormal symbols in annotations.
2023-03-31 23:57:17 -04:00
yangjie11
95e6b69b8e
sync and update all projects ( #7138 )
...
* sync and update
2023-03-31 16:49:48 +08:00
Zxy
4ed9bc11f7
[errno code]fix that use RT_ENOSYS without - ( #7084 )
...
* [errno code]fix that use RT_ENOSYS without -
* Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c
---------
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 01:54:42 -04:00
Meco Man
deb40e8c0c
[errno code][-RT_EBUSY] fix that use RT_EBUSY without -
2023-03-22 01:55:18 -04: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
27da0f0472
format .icf, .lds, .sct
2023-03-20 00:04:51 -04:00
luobeihai
674c4d4ebc
add apm32 rtt sdio/flash/sdram driver ( #7065 )
...
* add rtt sdio/flash/sdram driver
* formatting rtt drivers
2023-03-20 00:04:18 -04:00
Meco Man
c3820a2c1b
format sconscript Kconfig files
2023-03-19 07:08:27 -04:00
Meco Man
dfddd79b24
[errno code][-RT_EINVAL] fix that use RT_EINVAL without -
2023-03-16 20:21:43 -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
luobeihai
2da43febbd
add some apm32 bsp and fix apm32f0/apm32f1 gcc startup assembly file bug and fix apm32 drv_eth.c bug ( #6855 )
...
* add some apm32 bsp and fix apm32f0/apm32f4 gcc startup assembly file bug and fix drv_eth.c bug
* fix apm32f103xe-minibroard and apm32f407ig-minibroard link.lds file error
* replace apm32f051r8-evalboard picture
* fix apm32f1 gcc assembly startup file suffix name
* renamed startup_apm32f10x_md.s/startup_apm32f10x_hd.s file and modify apm32f103xe-minibroard/board SConscript file
2023-01-15 21:16:02 -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
luobeihai
24575c4486
add apm32F0 serie MCU support ( #6789 )
...
* add apm32F0 serie MCU support
add apm32f072vb-miniboard bsp
update F103/F407 bsp
* replace apm32f072vb picture
* Update action.yml
2023-01-05 01:15:02 -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
xuhonghao
d321e52412
[bsp][APM32][APM32F407VGT6] ( #6377 )
...
使用APM32F407VGT6芯片发现shell命令行无法接收命令,解决shell命令行输入问题
将board.c中的:
GPIO_ConfigStruct.mode = GPIO_MODE_IN;
GPIO_ConfigStruct.pupd = GPIO_PUPD_UP;
修改为:
GPIO_ConfigStruct.mode = GPIO_MODE_AF;
GPIO_ConfigStruct.pupd = GPIO_PUPD_NOPULL;
使用APM32F407VGT6测试成功
2022-09-06 01:01:03 -04:00
liuxianliang
a4eb64b873
update the project for RT-Thread_V4.1.1
2022-08-16 19:38:48 +08:00
Meco Man
dd94198bd6
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-08-16 09:39:00 +08:00
SC-201611121359\Administrator
f4f1a88975
增加 F4 GCC 启动文件。
...
修改 F1/F4 配置文件uart改为uart1。
修改 F1/F4 main 打印内容。
2022-07-31 23:30:33 -04:00
Aligagago
250b3cbc16
使用 AStyle.exe 统一代码格式
2022-07-27 11:45:29 +08:00
Aligagago
1b55a1dedd
1. 更新 apm32\libraries\APM32F10x_Library 为 Geehy 官网 APM32F10x_SDK_V1.6。
...
2. 增加 apm32\libraries\APM32F4xx_Library 为 Geehy 官网 APM32F4xx_SDK_V1.2。
3. 更新 apm32\libraries\Drivers。
4. 增加 apm32f407ig-minibroard 支持。
2022-07-27 11:45:29 +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
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
guozhanxin
e353b2d5f1
[bsp] Update all projects.
2022-03-29 19:28:06 +08:00
stevetong459
84e18bb2d5
fix the startup files of apm32f1 ( #5725 )
...
* fix the startup files of apm32f1
* delete ARM folder for apm32f1
2022-03-28 16:50:01 +08:00
Man, Jianting (Meco)
81e5fa061f
[stm32f072 nucleo] support pwm for arduino ( #5693 )
2022-03-21 22:04:37 +08:00
andychen329
0569add5b2
update readme picture name ( #5644 )
...
update readme picture name
2022-03-08 15:33:54 +08:00
stevetong459
fb61c7960b
本次PR涉及①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。 ( #5638 )
...
* 本次提交包括①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。
详情如下:
一、BSP驱动新增
这是本次PR的主要目的,现新增了如下BSP驱动:
ADC、DAC、RTC、PWM、HWTIMER、I2C、SPI和WDT等八个驱动文件。
二、F103库更新:
本次提交使用2022年3月初极海官网发布的最新F103库,主要增加了版权声明、USB驱动及其他代码调整。
三、编译器适配:
1、新增GCC编译支持,在ENV工具下编译能成功且输出的bin文件能够使开发板闪灯。
2、新增IAR工程支持。
3、由F103的SDK更新,MDK的工程也进行了相应更新。
四、其他
1、README文件做了修改,加入了scons编译后的jlink下载说明和官网链接。
2、Kconfig、SConscript脚本根据驱动更新做了修改。
* 格式化代码(AStyle + Formatting)
* 增加BSP APM版权声明
* 在ci添加当前bsp的路径,以能够验证gcc能否正常编译
* 路径的“\”改为“/”
2022-03-08 12:03:06 +08:00
liukangcc
ccbd22f493
[update] refresh project
2022-01-26 18:30:23 +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
5187d75af5
[armclang] 使用__clang__代替__CLANG_ARM
2021-12-29 14:15:38 -05:00
guo
2babfedd52
Merge pull request #5397 from liukangcc/cflag
...
[update] CFLAGS
2021-12-21 17:50:54 +08: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
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
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
eb962237f5
[update] add .ignore_format.yml for apm32 bsp.
2021-10-14 15:36:09 +08:00