完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
#include <rtthread.h> |
|
相关推荐
2个回答
|
|
|
|
|
|
XCJ20212023-03-07 这家伙很懒,什么也没写! /* Copyright (c) 2006-2021, RT-Thread Development Team * SPDX-License-Identifier: Apache-2.0 * Change Logs: Date Author Notes 2023-02-26 xiangj the first version */ include “drv_spi.h” include include “rtt_board.h” include “hpm_spi_drv.h” include “spi_flash_sfud.h” include include include include include “hpm_soc.h” include “dfs.h” include include //static const struct romfs_dirent _romfs_root[] = //{ // {ROMFS_DIRENT_DIR, “w25qxx”, RT_NULL, 0}, // {ROMFS_DIRENT_DIR, “w25qxx”, RT_NULL, 0} //} define W25Q_SPI_DEVICE_NAME “spi30” define SPI_FLASH_NAME “w25q128” //#define W25Q_SPI_DEVICE_NAME “qspi10” / SPI 设备名称 / struct rt_spi_device spi_dev_w25q; / SPI 设备句柄 */ struct rt_spi_message msg1, msg2; void testButton() { rt_kprintf(“testButton\r\n”); rt_hw_interrupt_umask(IRQn_BUTN); } void enable_button_isr() { rt_isr_handler_t rt= rt_hw_interrupt_install(IRQn_BUTN, testButton,NULL,”testButton”); //rt_pin_attach_irq(IRQn_BUTN, mode, hdr, args) } 目前看HPM6360 rtthread 里面未对riscv 32支持 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1039 浏览 0 评论
AI模型部署边缘设备的奇妙之旅:如何在边缘端部署OpenCV
3425 浏览 0 评论
tms320280021 adc采样波形,为什么adc采样频率上来波形就不好了?
1465 浏览 0 评论
2146 浏览 0 评论
1640 浏览 0 评论
75324 浏览 21 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 12:00 , Processed in 1.221825 second(s), Total 75, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号