Commit Graph

58 Commits

Author SHA1 Message Date
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
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 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
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
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
chenyingchun0312 3c8799cfeb 【bsp/nrf5x】优化驱动代码,消除warning & 默认关闭libc功能 2021-09-19 22:55:12 +08: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
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
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
Maofeng 3923a13780 [bsp/nrf5x]support for i2c 2020-11-24 00:49:27 +08:00
guohp1128 4d6c606469 updata nordic adc drv 2020-11-23 00:13:36 +08:00
Maofeng ffd34fd369 [bsp/nrf5x]support for uarte1 2020-11-15 18:46:28 +08:00
Maofeng ce9132ca53 [bsp/nrf5x]fixed spi driver bugs 2020-11-02 23:46:57 +08:00
chenyingchun0312 ac5fb52ef7 [bsp/nrf52x] support putting characters to ble host and getting characters from
ble host via rtthread finsh console

Signed-off-by: chenyingchun0312 <chenyingchun0312@163.com>
2020-10-27 22:42:12 +08:00
chenyingchun0312 c5b0a848dc support RTC0, RTC1, RTC2 select 2020-09-23 23:32:47 +08:00
chenyingchun0312 797ce29ae0 Merge remote-tracking branch 'upstream/master' 2020-09-22 17:10:48 +08:00
chenyingchun0312 02a609e33f add rtc device driver for nrf52x
Signed-off-by: chenyingchun0312 <chenyingchun0312@163.com>
2020-09-14 01:09:07 +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
杨连钊 679bda59d8 [bsp/nrf5x/libraries/drivers] add wdt driver 2020-08-22 21:45:37 +08:00
guohp1128 614f0a76ee update nrf5x gpio driver 2020-08-19 22:27:00 +08:00
guohp1128 e2263acd5b add nrf5x adc driver 2020-08-19 21:18:53 +08:00
supperthomas b254563a67 [bsp/nrfx5]: fix the board of nrf52832(pca10040) 2020-08-07 21:43:06 +08:00
supperthomas 58b05abc91 [bsp/nrf5x]: add the driver of pwm 2020-08-01 20:17:55 +08:00
supperthomas 2446ee8b95 [bsp/nrf5x] add the softdevice config 2020-07-22 22:54:34 +08:00
supperthomas ebba4e1a9d [bsp/nrfx5x] fix the config 2020-07-20 20:40:50 +08:00
guohp1128 9f2c1ce57a 重修改格式 2020-06-20 14:52:37 +08:00
guohp1128 933fd4a05c 修改格式 2020-06-20 14:01:39 +08:00