自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 keil和IAR自动分配SDRAM空间设置使用

Keil:修改.sct文件添加RW_RAM1 0xC0400000 UNINIT 0x00400000 { ; RW data .ANY (SD_RAM1) }使用 #define LOCATION_ATTRIBUTE(name) __attribute__ ((section(name))) __attribute__...

2020-04-03 14:03:59 2344

原创 ACS510 Modbus通讯

/*****************************************************************************************************************//* ACS510 Modbus通讯设置先使用控制面板设置 9802: 0 = NOT SEL ...

2019-08-13 17:34:53 7614

原创 Tiny4412 内核驱动模块编译Makefile

#linux内核路径LINUX_SRC := /home/hss/Tiny4412/linux-3.5#最后生成module.koobj-m += module.o#用于多个.c编译成一个文件module-objs = module1.oall: make -C $(LINUX_SRC) M=`pwd` modulesclean: make -C $(LINUX...

2019-07-26 11:57:52 265

原创 STM32 FreeRTOS不断的删除任务创建任务测试

测试出删除后,状态回是删除标志但是,定义了句柄没有创建任务时,状态是就绪,那就无法判断是不是创建了改任务。最终还是使用正点原子方法将句柄等于NULL来判断。/***********************************************函数名:myTaskDelete*功能:删除一个任务 ...

2019-07-24 09:36:58 662 1

原创 Tiny4412 在内核里添加自己代码

在linux-3.5/drivers下新建一个文件夹mytest在mytest里新建Makefile、Kconfig、test.ctest.c#include <linux/init.h>#include <linux/module.h>#include <linux/sched.h>//__init段 初始化完被释放//static _...

2019-07-19 16:57:38 104

原创 Tiny4412 SD卡刷系统

512k---------Superboot4412.bin----------sdb1(B光盘images)插入SD卡卸载 umoun重新分区fdisk /dev/sdbp 显示分区d删除分区n新建分区 (留Superboot4412.bin空间)t修改分区格式 b FAT32mkfs.vfat-F 32 /dev/sdb1 -n 'name'...

2019-07-11 17:27:11 229

原创 Tiny4412 Uboot 烧录 SD卡 MMC

Linux环境 redhat 6.5SD卡1.安装交叉编译器 tar -xvf arm-linux-gcc-4.5.1-v6-vfp-20120301.tgz添加环境变量 vim ~/.bash_profilePATH=/opt/FriendlyARM/toolschain/4.5.1/bin:$PATH注销从新登陆,测试 arm-linux-gcc -v[r...

2019-07-11 11:46:15 312

原创 ESP8266 RTOS v3.2 ONENET

/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, W...

2019-06-06 14:05:55 603 1

原创 ESP8266 RTOS v3.2 nvs_flash

/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, W...

2019-06-05 11:37:28 942

原创 ESP8266 RTOS v3.2 DHT11温湿度

/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, W...

2019-06-03 14:25:11 1166 4

原创 esp8266rtos3.0  wifi及mqtt

/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, W...

2019-05-23 17:57:20 1179 1

原创 esp8266rtos3.0  UART

/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, W...

2019-05-17 17:11:57 637

原创 esp8266rtos3.2 GPIO

GPIO输出 输入 中断/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is...

2019-05-15 18:19:42 515 4

原创 esp8266rtos3.0  linux环境搭建

先安装所需的环境sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-serial下载ESP8266_RTOS_SDKgit clone https://github.com/espressif/ESP8266_RTOS_SDK.git读ESP8266_RTOS...

2019-05-15 15:01:14 671

原创 contos7 tiny4412 nfs 网络文件系统

经测试,挂在nfs需要添加参数-o nolockset bootargs "root=/dev/nfs nfsroot=192.168.123.153:/rootfs,proto=tcp,nfsvers=3,nolock ip=192.168.123.114:192.168.1.153::255.255.255.0 console=ttySAC0,115200 init=/linuxrc...

2019-05-01 21:11:07 124

转载 shell基础

Shell script.一、Shell介绍    Shell基本上分两大类    图形界面shell        windows         Explorer        linux           GNOME / KDE等    命令行式shell        windows         command.com (MS-DOS系统)        linux         ...

2018-07-08 14:44:44 292

转载 shell脚本的特殊变量

#!/bin/bash  2   3   4 #shell脚本的特殊变量  5   6 #进程号  7 echo '$$ = '$$  8 #脚本名字  9 echo '$0 = '$0 10 #第一个参数 11 echo '$1 = '$1 12 #第二个参数 13 echo '$2 = '$2 14 #第三个参数 15 echo '$3 = '$3 16 #第四个参数 17 echo '$4 ...

2018-07-08 14:21:29 119

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除