Commit Graph

75 Commits

Author SHA1 Message Date
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
Placebo27 538158bf20
[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7457) 2023-05-08 23:35:27 -04:00
MsyCoa 1e66a25eef
[HUST CSE]drv_spi.c miss a "{" on line 83 (#7403) 2023-04-28 07:40:06 +08:00
Zxy 156fda61cf [errno code]fix that use RT_ENOMEM without - 2023-03-23 01:55:21 -04: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 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -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 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
andrew li 5f4b4ae5f1 add spi twi drv for nrf5340 2023-01-29 21:30:41 -05:00
Meco Man ddccef3a64 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
ANDREW LI-Nordic 91cdcea900
[bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340 (#6754)
* add nrf5340 bsp,add uarte and gpio drv for 5340

* [bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340

Co-authored-by: andrew li <andrew.li@nordicsemi.no>
2022-12-20 20:11:27 -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
andrew li 4bbfc5fcb8 add nrf5340 bsp,add uarte and gpio drv for 5340 2022-12-09 07:55:11 -05: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 83b3aadaa3 [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
guo 4af064ce67
[bsp] Improve rtconfig.py path definition (#5739) 2022-03-29 22:15:09 +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
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
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
chenyingchun0312 8f65ea4e70 [bsp/nrf5x] fix i2c driver bug 2021-11-28 22:44:10 +08:00
chenyingchun0312 09030030e5 [bsp/nrf5x] add hwtimer driver 2021-11-24 09:25:52 +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
chenyingchun0312 3c8799cfeb 【bsp/nrf5x】优化驱动代码,消除warning & 默认关闭libc功能 2021-09-19 22:55:12 +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
chenyingchun0312 18c9c50592 [bsp/nrf52x] optimize drv_wdt.c
refer to issue: https://github.com/RT-Thread/rt-thread/issues/4558
2021-08-12 10:17:38 +08:00
chenyingchun0312 8708808a35 [bsp/nrf5x] remove drivers/drv_fs.c to application/mnt.c 2021-07-01 22:36:30 +08:00
chenyingchun0312 0acbc36e4a [bsp/nrf5x] update config file 2021-06-28 22:34:35 +08:00
陈迎春 cd571127e8
Merge branch 'RT-Thread:master' into master 2021-06-28 20:21:20 +08:00
chenyingchun0312 a1f2cdd4d6 [bsp/nrf5x] format drv_fs.c 2021-06-28 11:12:09 +08:00
chenyingchun0312 670000dd0f [bsp/nrf5x] fix gcc compile exception and add onchip filesystem
Signed-off-by: chenyingchun0312 <chenyingchun0312@163.com>
2021-06-28 10:56:53 +08:00
supperthomas c2a06c0cfb [bsp/nrf5x] add the bsp ble_nano_33 2021-06-26 19:42:27 +08:00
supperthomas b2a2da70a4 fix the ld 2021-04-11 17:04:38 +08:00
supperthomas 66195afe24 add the fixed format 2021-04-11 12:36:50 +08:00
supperthomas b1dbe51d85 add the templete of nrfx 2021-04-11 12:24:47 +08:00
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +08:00
Meco Man 347916a755 [nrf5x] auto formatted 2021-03-14 15:18:33 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
Han Xinrong db4b3ff125 modify code style 2020-12-15 11:37:23 +08:00
Han Xinrong a1fe7b1ddf modify the error check of rt_event_recv() 2020-12-13 19:11:04 +08:00
Han Xinrong 3bb8edf4c1 error check of rt_event_recv()
add error check
2020-12-09 22:24:01 +08:00
guohp1128 e4964f6692 #define ADC_NAME adc updated to header file. 2020-11-29 11:13:44 +08:00
Bernard Xiong 94559ae13a
Merge pull request #4080 from xckhmf/master
[bsp/nrf5x]support for i2c
2020-11-25 16:23:55 +08:00
Bernard Xiong 72cd063282
Merge pull request #4069 from guohp1128/master
updata nordic adc drv
2020-11-25 14:37:45 +08:00
Maofeng 3923a13780 [bsp/nrf5x]support for i2c 2020-11-24 00:49:27 +08:00
guozhanxin a22decb71b 【优化】在代码中移除 rt_system_object_init/rt_system_tick_init 的调用。 2020-11-23 11:39:38 +08:00
guohp1128 4d6c606469 updata nordic adc drv 2020-11-23 00:13:36 +08:00