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
sheltonyu
a64750ebed
[bsp/at32] 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers suppor… ( #6695 )
...
* 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers support dma
* [bsp/at32] remove #ifndef
2022-12-06 22:13:25 -05:00
wdfk-prog
569e2ae1e8
[CAN]update struct can_filter_item and rt_can_msg ( #6556 )
...
* 修改ry命令,已便于自定义保存路径
* modified: components/utilities/ymodem/ry_sy.c
* 修复从被动错误恢复后发送返回异常
* 修复在自动重传模式下,ACK异常阻塞线程
- 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断
- 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。
* 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数
* formatting格式化代码
* update struct can_filter_item and rt_can_msg
1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index,
以便准确区分.采用宏定义兼容以前变量名.
2. 添加接收标识rxfifo,已指明是哪个RXFIFO.
* 更正42M下的波特率
* 修复接收获取索引号错误
* 添加接收标识
* 更新注释
* 取消CANFD限制
* update struct can_filter_item and rt_can_msg
2022-11-21 21:45:51 -05:00
sheltonyu
1d77744a37
optimize emac and usart driver code
2022-10-16 17:56:50 -04:00
Man, Jianting (Meco)
f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 ( #6481 )
...
* [bsp][sconscript] 整理统一sconscript格式
* update
* update
2022-10-03 10:43:08 -04:00
Meco Man
10695d6a90
[fal] PKG_USING_FAL -> RT_USING_FAL
2022-08-22 09:42:35 +08: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
Fan Yang
666af5e29d
[DeviceDriver] Add CANFD support and correct typos ( #5912 )
...
* Add CANFD support and correct typos
- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
* update
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
Man, Jianting (Meco)
9595df24f1
attach #6166 ( #6168 )
2022-07-23 11:53:42 +08:00
sheltonyu
5c6e7d815b
optimize code to improve network throughput performance ( #6157 )
2022-07-12 08:40:58 +08:00
Man, Jianting (Meco)
2c10d5ad01
[rtc] use gmtime_r to replace gmtime ( #6012 )
...
* [rtc] use gmtime_r to replace gmtime
2022-06-22 13:41:06 +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
xfwangqiang
e8d775f888
[componnets][pin]add pin operate command in MSH ( #5892 )
...
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
2022-05-30 18:00:26 +08:00
sheltonyu
d466bd0540
[bsp/at32] 1、调整文件结构,合并各系列独立的rt-drivers,以便维护。 2、更新各系列library和工程相关内容
2022-05-19 15:00:03 +08:00
sheltonyu
8579f19ceb
[bsp/at32] add at32f413 and at32f415 series
2022-05-13 15:38:43 +08:00
sheltonyu
7af43fdd4f
[bsp/at32] update at32f435_437 adc driver
2022-04-24 09:28:37 +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
sheltonyu
e1f7e95f5d
remove unused files
2022-04-18 10:07:15 +08:00
sheltonyu
ebcc2cb8c1
update for file format
2022-04-18 10:07:15 +08:00
sheltonyu
0449ade73b
add at32f435_437 first version
2022-04-18 10:07:15 +08:00
sheltonyu
c2b8df673b
update for drivers and readme
2022-04-18 10:07:15 +08:00
guozhanxin
e353b2d5f1
[bsp] Update all projects.
2022-03-29 19:28:06 +08:00
Man, Jianting (Meco)
ad90cf59c4
[at] add ingore_format.yml ( #5718 )
2022-03-28 10:39:05 +08:00
sheltonyu
cff34466b0
upload bsp package based firmware library v2.0 ( #5711 )
...
* [bsp/at32] remove old version bsp
* [bsp/at32] upload bsp package based firmware library v2.0
2022-03-25 22:54:51 +08:00
Man, Jianting (Meco)
ba6f78bd8e
format code ( #5699 )
2022-03-24 08:30:41 +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
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
Meco Man
ed09f38012
[libc] remove RT_USING_LIBC
2021-12-30 01:27:25 +08:00
Meco Man
923fb0c146
[rtdef] re-implement RT_UNUSED
2021-12-27 00:51:22 +08: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
Meco Man
879e9d4c54
更新rtconfig.h
2021-12-01 22:02:36 -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
jonas
e835b8f21c
[update][bsp][at32][driver]Optimized the pin-index algorithm
2021-11-02 16:33:19 +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
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
Dozingfiretruck
a38607fcbc
add:rtc命名规范,默认不启用DFS
2021-09-03 12:15:13 +08:00
Dozingfiretruck
6ea9a4b3b5
implement RTC framework V2.0
2021-08-25 10:11:50 +08:00
Dozingfiretruck
00373d5e23
ATLINK is used by default
2021-08-24 13:50:45 +08:00
Dozingfiretruck
1f24348464
fix:Unable to enter the menuconfig menu after executing scons -- dist
...
Compilation failure for enabling DFS after using SDIO
2021-08-24 13:45:30 +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
sheltonyu
46c5ba9225
Merge branch 'master' into developer
2021-04-13 11:37:46 +08:00
sheltonyu
35ef1f9e0f
[bsp/at32] remove notes
2021-04-13 10:17:09 +08:00
Meco Man
1a6e348922
[at32] auto formatted
2021-03-14 15:15:52 +08:00
sheltonyu
b950244d32
[bsp/at32] update for project default configuration
2021-02-20 10:03:12 +08:00
Bernard Xiong
7f7b52f9a6
Merge pull request #4325 from sheltonyu/developer
...
1.add can and on-chip-flash drivers 2.fixed c++ compiler error
2021-02-18 00:13:43 +08:00
sheltonyu
bb28784a0c
1.add can and on-chip-flash drivers 2.fixed c++ compiler error
2021-02-09 14:28:11 +08:00
Meco Man
86ebf17a23
localtim改为gmtime
2021-02-07 21:49:25 +08:00
Meco Man
f073911cd3
解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数
2021-02-07 21:08:41 +08:00
yangjie
ef62febf1f
[SConscript]update group name
2020-12-19 16:49:11 +08:00
Bernard Xiong
36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
...
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
yangjie
38b3a3445e
[bsp][driver] 初始化 BSP 中的 rt_pin_ops
2020-09-11 11:16:42 +08:00
sheltonyu
68df79e8ed
[bsp/at32] add link detecting thread for ethernet driver
2020-09-03 15:15:14 +08:00
luhuadong
4313ee6961
[BSP][AT32] fixed scons --dist
2020-06-14 12:21:20 +08:00
Bernard Xiong
cadd6d73ea
Merge pull request #3628 from sheltonyu/developer
...
[bsp/at32] 1.add support for AT-START-F407 board, 2.add eth and rtc d…
2020-05-28 11:06:37 +08:00
sheltonyu
e2086dcd3b
[bsp/at32] 1.add support for AT-START-F407 board, 2.add eth and rtc driver
2020-05-26 14:49:09 +08:00
luhuadong
e1bd3673fd
[AT32 BSP] do bsp special dist handle
2020-04-22 16:58:10 +08:00
luhuadong
3b2fa47209
[BSP] add Libraries when scons --dist
2020-04-17 22:14:37 +08:00
sheltonyu
ce4ac6315d
1. modify at32_msp default configuration 2. add hwtimer driver and fix up some driver errors 3. update related files
2020-03-17 10:10:43 +08:00
sheltonyu
1becc3a77f
[bsp/at32] modify at32f403a-start README.md
2020-03-11 17:51:51 +08:00
sheltonyu
f15aec01ed
upload at32 bsp first version.
2020-03-09 15:10:16 +08:00