Yilin Sun
fd3f603b27
bsp: nxp/frdm-mcxn947: FS: use generic SPI API.
...
This patch replaces SPI flash mount procedure with generic SPI API. This
patch also try to format the external flash on the first mount failure,
in case of empty or invalid flash content is present on the external SPI
flash.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 20:20:34 -04:00
Yilin Sun
12214dc18c
bsp: nxp/frdm-mcxn947: WiFi: use generic SPI API.
...
This patch changed SPI initialization API to standard RT-Thread SPI API.
The current code contains a minor bug which does not wait for WiFi
module ready before stack initialization, this is also fixed.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 20:20:34 -04:00
Yilin Sun
e6cf0bc97d
bsp: nxp/mcxn947: Updated SDK to release v2.16.000
...
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 20:20:13 -04:00
Yilin Sun
0864456947
bsp: nxp/mcx: Use standard SPI CS pin. ( #9312 )
...
* bsp: nxp/mcx/mcxn: SPI: Added missing bracket and re-format code.
The closing bracket is missing from SPI6 struct.
Introduced since commit fc1cfd6d36
.
Use standard rt_spi_device->cs_pin instead of user_data pointer.
---------
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-16 16:47:16 +08:00
Rbb666
fd111e7af4
[bsp][nxp/mcxa153]添加spi缺失的文件路径
2024-08-12 17:23:40 +08:00
hywing
836865f404
[bsp][nxp][mcxa153] driver code formatted
2024-08-12 17:23:40 +08:00
hywing
6d000573b6
[bsp][nxp][mcxa153] fix compiling problem
2024-08-12 17:23:40 +08:00
hywing
187ce18695
[bsp][nxp][mcxa153] add spi driver
2024-08-12 17:23:40 +08:00
hywing
61a2bf6154
[bsp][nxp][mcxa153] add pwm driver
2024-08-12 17:23:40 +08:00
Rbb666
59f1146fae
优化mxca153 adc驱动,支持电压读取
2024-08-04 22:55:21 +08:00
Rbb666
f4cb323919
优化flash部分驱动+完善注释+格式化部分代码
2024-08-01 09:41:04 +08:00
Rbb666
b06843b91c
更新MCXA153-SDK-V2.16.000
2024-07-31 22:34:46 +08:00
LZerro
04b77e409e
[bsp][NXP]Fix .md picture mistakes
2024-07-08 22:06:53 +08:00
LZerro
b47b6df927
[bsp][Infineon]&[NXP] Add README_EN
2024-07-08 22:06:53 +08:00
Abner
099e24951c
[BSP][nxp]增加wifi_weather_sample.c ( #9118 )
...
* [BSP][nxp]增加wifi_weather_sample.c
* [BSP][nsp]增加wifi_weather_sample.c
2024-06-28 22:37:22 +08:00
andeyqi
840eef1124
[bsp][nxp] Delete mcxn947 sdk unused path.
2024-06-27 23:04:56 +08:00
andeyqi
e69a7ccfa3
[bsp][nxp] Update mcxn236 & mcxn947 LFLAGS config.
2024-06-27 23:04:56 +08:00
Jisheng Zhang
7523f40701
[bsp][nxp][frdm-mcxn236] remove sdio and eth
...
there's no sdio/eth in HW, remove it
2024-06-26 23:54:42 +08:00
Jisheng Zhang
63578802b9
[bsp][nxp][frdm-mcxn236] fix SW btn
...
This is the SW2 button, a.k.a wakeup button on the board. Another
choice is SW3 a.k.a ISP button which is connected to P0_6.
2024-06-26 23:54:42 +08:00
Jisheng Zhang
0f8f0620c3
[bsp][nxp] s/libraries/Libraries
...
The upper/lower case matters under *nix
2024-06-26 23:54:42 +08:00
andeyqi
4d00fd19da
[bsp][nxp mcxn236]Delete unused code with pin_mux.c .
2024-06-26 17:25:18 +08:00
andeyqi
e390290482
[bsp/mcxn236]Port gcc&mdk project.
2024-06-26 01:22:15 +08:00
hengchuan.qi
8524781cb3
[bsp][mcxn236] Add software i2c driver.
2024-06-26 01:20:59 +08:00
andeyqi
053373c3ac
adapter frdm-mcxn236 iar project ( #9083 )
...
* adapter frdm-mcxn236 iar project
* formate MCXN236 bsp
2024-06-25 01:33:30 +08:00
latercomer
f0e6d772f3
mkdist和sdk_dist支持kconfiglib语法
2024-06-20 14:40:42 +08:00
latercomer
fe3c4d456e
bsp中option env语句替换为新语句,并同步更新了source "$xxx"语句
2024-06-20 14:40:42 +08:00
zhuzhuzhu
58e42caea7
【修改】修改imx6ull-smart中mnt.c的逻辑错误 ( #9045 )
...
* Update mnt.c
* Update mnt.c
* Update mnt.c
* Add files via upload
* Update mnt.c
* Update mnt.c
2024-06-13 08:51:57 +08:00
Jiading Xu
2fcf151a8e
[components][drivers][include][phy] add one more parameter for mulitiple phys
...
- add parameter phy to specify multiple-phy instance
Signed-off-by: Jiading Xu <Jiading.Xu@hpmicro.com>
2024-05-29 22:22:51 +08:00
xiao-mang
e46333496f
fix specified network card not taking effect with msh's ping error ( #8937 )
...
* fix specified network card not taking effect with msh's ping error
* fix specified network card not taking effect with msh's ping error
2024-05-16 15:43:50 +08:00
xiao-mang
b3277fa704
fix eth error ( #8929 )
...
* fix eth error
* fix eth error
* fix eth error
* fix eth error
* fix eth error
2024-05-11 11:10:53 +08:00
xiao-mang
89164b19a8
fix art-pi smart boot from emmc ( #8904 )
...
* fix art-pi smart boot from emmc
* fix art-pi smart boot from emmc
* fix art-pi smart boot from emmc
2024-05-06 13:31:17 +08:00
LZerro
a92f971267
[spi] soft_spi_pin_init loop variable is initialized to 0
...
The loop variable in the function 'drv_soft_spi:xx_pin_init()' is initialized to 0.
2024-04-29 17:49:20 -04:00
xiao-mang
bc774190f2
enable poll ( #8867 )
...
config poll
2024-04-26 22:25:04 +08:00
Siwei Xu
3f434feec9
[bsp][nxp] Add select BSP_USING_PIN for SPI and RW007 driver
2024-04-20 23:46:39 -04:00
xiao-mang
4ea463d83f
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
98204c249b
fix for art-pi smart
2024-04-19 18:17:20 +08:00
xiao-mang
4de96450be
fix for art-pi smart
2024-04-19 18:17:20 +08:00
Abner
cd77f988cd
[bsp][nxp]修改 drv_filesystem_spi_flash 驱动 ( #8811 )
...
Co-authored-by: yandld <1453363089@qq.com>
Co-authored-by: Meco Man <920369182@qq.com>
2024-04-18 21:00:49 -04:00
Abner
a2bec29019
[bsp][nxp]增加了drv_filesystem_spi_flash驱动
2024-04-16 18:48:37 +08:00
Abner
bbac8e954d
[bsp][nxp]增加了drv_filesystem_spi_flash驱动
2024-04-16 18:48:37 +08:00
yandld
47d9c03937
update spi flash mount
2024-04-16 18:48:37 +08:00
Abner
d5aff0c963
[bsp][nxp] 增加drv_spi_sample_rw007驱动
2024-04-12 18:35:31 +08:00
Abner
98c6a741c5
[bsp][nxp] 增加drv_spi_sample_rw007驱动
2024-04-12 18:35:31 +08:00
Yuqiang Wang
d08ae0bfd1
[driver][soft-spi] spi device driver framework adds pin init function function
...
为什么提交这份PR (why to submit this PR)
ps:在设备初始化阶段不应该存在对硬件的操作
你的解决方案是什么 (what is your solution)
ps:添加一个pin_init函数,在spi设备使用时调用该函数来完成硬件引脚的状态初始化,而不是在设备初始化阶段对硬件进行操作,已经在瑞萨HMI上通过验证
2024-04-09 18:33:29 -04:00
Siwei Xu
dd55489839
[bsp][nxp] Add SPI1 config for FRDM-MCXN947 board
2024-04-06 13:18:06 -04:00
xhackerustc
e0e9eb8b15
[nxp/mcxn] add SPI6 support ( #8704 )
...
* [bsp][nxp] add missing drv_spi.h
Otherwise when building spi users such as u8g2, gcc will complain can't
find the drv_spi.h.
* [bsp][nxp] enable spi6
* [bsp][nxp] add spi sample code which uses spi6 to loopback
Connect spi6's MISO <--> MSIO, I.E P3_20 and P3_22 with Dupont Line
The sample usage and output would be:
msh >spi_sample
spi rbuf : 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
spi loopback mode test over!
2024-04-04 20:08:39 -04:00
Zhang
447a10c964
[bsp][nxp] mcxn947基础上去除多余修改:
2024-04-03 17:57:46 -04:00
Zhang
42e01a80a0
[bsp][nxp]基于MCXN947的spi_driver添加spi7读写W25Q64_Flash:
2024-04-03 11:12:19 +08:00
zealsoftstudio
79e2946467
[nxp/mcxn] support Ethernet
2024-04-01 18:44:26 -04:00
liYangYang
9a1996ef59
[bsp][art-pi-smart] 关闭内存对齐检查来避免数据访问异常
2024-03-29 21:43:57 -04:00