- 博客(11)
- 资源 (1)
- 收藏
- 关注
原创 加载cfg80211出错:insmod: can‘t insert ‘cfg80211.ko‘: unknown symbol in module, or unknown paramet
成功加载,只是没找到regulatory.db文件,问题不大,再看看识别到加载到内核的网卡没有。试过很多方式还是出现这样的报错,最后就想着直接加载进内核算了。看着报错的内容和RFKILL有关,那多半就是这个没配置好。也给编译进内核,然后cfg80211就可以编译进内核。在加载cfg80211.ko文件时出现报错。然后发现居然缺少配置,那就加上配置看看。linux内核版本:6.1.11。烧录进开发板,查看内核信息。
2023-07-11 18:27:10
1843
原创 使用SPI fbtft显示终端(ILI9341)
# dmesg | grep "spi"stm32mp157-pinctrl soc:pin-controller-z@54004000: pin PZ3 already requested by 44004000.spi; cannot claim for GPIOZ:403spi_stm32 44004000.spi: can't get CS gpio 403spi_stm32: probe of 44004000.spi failed with error -22
2023-06-25 17:32:03
1709
原创 关于STM32矩阵按键(4*4)
如果是0x00e0,也就是0x0000 0000 1110 0000 ,第5位为低电平,看接线,GPIO的Pin4是否接的是按键Y轴扫描的第一根线。将GPIO的16位取出,经行Y轴扫描,&(0x00f0),只读取GPIO的Pin4-Pin7。for循环:X轴扫描。
2022-11-02 23:51:40
544
原创 STM32摇杆控制舵机,OLED显示数据
#include "stm32f10x.h" // Device header#include "stdio.h"#include "delay.h"#include "spioled.h"/*************串口初始化***********************/void led()//led PE5初始化{ RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOE,ENABLE); GPIO_InitTyp.
2022-05-14 19:10:34
2003
1
原创 STM32 ADC输入采集电压
#include "stm32f10x.h" // Device header#include "stdio.h"#include "delay.h"/*********************串口调试输出**********************/void led()//led PE5初始化{ RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOE,ENABLE); GPIO_InitTypeDef GPIO...
2022-05-14 10:11:28
5418
1
原创 STM32驱动TW1637四位数码管模块计数 TIM输出PWM
#include "stm32f10x.h" // Device header#include "delay.h"#define GPIO_CLKD1(x) GPIO_WriteBit(GPIOD,GPIO_Pin_1,(BitAction)(x)); //CLK#define GPIO_SDAD2(x) GPIO_WriteBit(GPIOD,GPIO_Pin_2,(BitAction)(x)); //CLK//小时struct hour_1{ u.
2022-05-13 08:46:38
472
原创 OLED显示
OLED显示16*16汉字16*16点阵void Draw_16x16(unsigned char x,unsigned char y,unsigned char N)//显示16*16汉字{ unsigned int Num =N*32; unsigned int i = 0; OLED_SetCursor(y,x); for ( i = 0; i < 16; i++) { OLED_WriteData(Tab16_16[Num]); Num+=1; }
2022-05-10 21:54:46
521
原创 定时器TIM3Channel2+端口复用PWM输出
#include "stm32f10x.h" // Device header#include "delay.h"void Tim3_PWM(){ GPIO_InitTypeDef led; TIM_TimeBaseInitTypeDef Tim_struct; //配置时基结构体 TIM_OCInitTypeDef TIM3_chal2; //TIM3的2通道 RCC_APB1PeriphClockCmd(RCC_APB1Perip.
2022-05-08 18:47:10
835
原创 STM32 F103 基础实验
stm32 #include "stm32f10x.h" // Device headervoid Led(){RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC,ENABLE);//APB2时钟 GPIO_InitTypeDef led; led.GPIO_Mode=GPIO_Mode_Out_PP; led.GPIO_Pin=GPIO_Pin_13; //PC3 led.GPIO_S.
2022-03-22 14:31:56
1841
【蓝桥杯嵌入式】国信长天嵌入式实训平台(CT117E-M4)STM32G431RBT6程序
2024-01-15
集成电路IC测试一些标准
2022-08-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人