Commit Graph

47 Commits

Author SHA1 Message Date
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
wolfJane fdb486de7b
[Update] n32_msp.c add spi3 (#5733)
* Update n32_msp.c
* 添加SPI3的初始化代码
* 修正spi收发函数卡死在SPI_I2S_GetStatus的BUG
2022-04-13 16:19:21 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
Blues-Jiang d62368cc75 Reinit .config based on default setting. 2022-01-20 10:01:34 +08:00
Blues-Jiang 711465b137 Regenerate rtconfig.h based on default configuration. 2022-01-19 17:49:37 +08:00
Blues-Jiang 7c54f5eca7 reformat code. 2022-01-18 17:20:02 +08:00
Blues-Jiang a095de14c2 Init update. 2022-01-18 16:51:46 +08:00
Siwei Xu 77a5ddf9ae [bsp/n32g452xx] add rt_pin_get support 2022-01-18 01:38:03 +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
Blues-Jiang 774031aed2 [bsp/n32g452xx] Unified header file definition. "GPIO_H__" to "DRV_GPIO_H". "USART_H" to "DRV_USART_H"
[bsp/n32g452xx] In drv_pwm.c, variable meaning is different with RT-Thread interface definition. Fixed and tested.
[bsp/n32g452xx] Add support for UART4/UART5.
[bsp/n32g452xx] In drv_gpio.c Modify "N32F10X_PIN_NUMBERS" to "N32G45X_PIN_NUMBERS".
2022-01-08 16:06:13 +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
192.168.1.134 d6b05287bb fix: fix wrong define and warning 2021-12-09 15:48:09 +08:00
192.168.1.134 d9ca4e85f6 perf: improve compiler path logic 2021-12-08 14:21:52 +08:00
192.168.1.134 8e3caf08b9 feat: improve startup flow
1. remove gpio&uart INIT_BOARD_EXPORT
2. init gpio&uart in rt_hw_board_init
3. add clock driver
2021-12-03 14:25:13 +08:00
192.168.1.134 afe82549a8 perf: improve pwm driver
1. add tim1/2/3/4/5/8 pwm driver and test pass by self.
2021-11-11 15:55:40 +08:00
192.168.1.134 d573f6f646 feat: add iwdg driver 2021-11-10 11:25:37 +08:00
Lim-LinYuanbo 078c3c5991
Merge branch 'master' into master 2021-10-27 11:14:33 +08:00
192.168.1.134 48ffde55a2 refactor: improve adc driver
1. Calibration is required when ADC is enabled, and calibration is not required when enabling
ADC.
2. format code style
2021-10-27 09:57:55 +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 1083ea59c8
Revert "[update] Fix compiler flags issue" 2021-10-14 14:36:58 +08:00
liukangcc 5fef77fcdd [update] Fix compiler flags issue 2021-10-14 11:38:06 +08:00
Lim-LinYuanbo 06fdc108b4
解决无法dist问题 (#5150)
* first commit, keil test pass

* feat : n32g452xx direct structure base at32

1. 重新整理目录结构

* feat : 基于AT32,将各驱动移植整改待验证

1. 部分驱动已经整改,但未验证
2. 根据AT32整改目录结构

* feat : add README document

1. 完善配置文件
2. 添加说明文档

* feat : 验证添加的驱动

1. UART 1-3 验证通过
2. ADC 1-2 CH 6-9 验证通过
3. TIM 6-7 验证通过

* feat : complete readme document

* feat : format code

1. ref https://github.com/mysterywolf/formatting

* feat : 完成PWM驱动移植与自测

1. 添加PWM测试代码
2. 修正PWM驱动周期与脉冲错误问题

* feat : 删除多余代码与多余的文件,修正注释与函数命名

* feat : fix tim channel comment

* feat : 完成DEMO测试例子

1. 完成MAIN函数中的LED测试例子
2. 完善README文档
3. 更新添加许可文件

* feat : 根据BSP提交自查完善固件

1. 添加.ignore_format.yml文件
2. 修正main.c的注释

* feat : add last line in .ignore_format.yml

* feat : delet file_path in .ignore_format.yml

* fix: gPIO/ADC driver

1. add ADC temperature&vref channel.
2.add GPIO IPD/OD configration

* fix: 解决告警

1. 解决告警(rt_drv_pwm.c: warning: implicit declaration of function 'atoi')

* feat: add scons --dist function

* fix: 解决MDK5无法编译问题

* perf: delete invalid code

Co-authored-by: linyuanbo_breo_server <linyuanbo@breo.com.cn>
2021-10-12 14:35:01 +08:00
192.168.1.134 85a2ecdebc fix: 解决MDK5无法编译问题 2021-10-11 21:13:57 +08:00
192.168.1.134 3e6853cd39 feat: add scons --dist function 2021-10-11 20:53:18 +08:00
192.168.1.134 4bf86eda9e fix: 解决告警
1. 解决告警(rt_drv_pwm.c: warning: implicit declaration of function 'atoi')
2021-10-11 20:21:27 +08:00
192.168.1.134 f97f623c51 fix: gPIO/ADC driver
1. add ADC temperature&vref channel.
2.add GPIO IPD/OD configration
2021-10-11 20:00:58 +08:00
Lim-LinYuanbo 77638c1787
添加 N32G452 最小系统 BSP 源码 (#4959)
[add] N32G452 BSP
2021-09-09 20:31:17 +08:00
linyuanbo_breo_server fbf5638540 feat : 根据BSP提交自查完善固件
1. 添加.ignore_format.yml文件
2. 修正main.c的注释
2021-09-03 12:06:34 +08:00
linyuanbo_breo_server cee60d220f feat : 完成DEMO测试例子
1. 完成MAIN函数中的LED测试例子
2. 完善README文档
3. 更新添加许可文件
2021-08-29 08:56:54 +00:00
linyuanbo_breo_server 6f11b2e93e feat : fix tim channel comment 2021-08-26 02:10:59 +00:00
linyuanbo_breo_server b15e88ee6f feat : 删除多余代码与多余的文件,修正注释与函数命名 2021-08-25 11:21:49 +00:00
linyuanbo_breo_server 776398d4d6 feat : 完成PWM驱动移植与自测
1. 添加PWM测试代码
2. 修正PWM驱动周期与脉冲错误问题
2021-08-24 07:35:33 +00:00
linyuanbo_breo_server 1a01951a57 feat : format code
1. ref https://github.com/mysterywolf/formatting
2021-08-24 01:53:07 +00:00
linyuanbo_breo_server ad3f0fb108 feat : complete readme document 2021-08-20 10:28:02 +00:00
linyuanbo_breo_server f14823543a feat : 验证添加的驱动
1. UART 1-3 验证通过
2. ADC 1-2 CH 6-9 验证通过
3. TIM 6-7 验证通过
2021-08-20 10:23:07 +00:00
linyuanbo_breo_server 83cd6c91b9 feat : add README document
1. 完善配置文件
2. 添加说明文档
2021-08-19 10:14:30 +00:00
linyuanbo_breo_server 3ef5278322 feat : 基于AT32,将各驱动移植整改待验证
1. 部分驱动已经整改,但未验证
2. 根据AT32整改目录结构
2021-08-19 08:19:02 +00:00
linyuanbo_breo_server 0e28321c2c feat : n32g452xx direct structure base at32
1. 重新整理目录结构
2021-08-14 09:17:51 +00:00