当前位置: 首页 > news >正文

大型的营销型网站特殊信息收费的网站有哪些

大型的营销型网站,特殊信息收费的网站有哪些,零基础网站建设教学培训班,低成本门户网站开发周三是我们的篮球日,打篮球后总是会有些兴奋,然后就容易睡不着,额,睡不着就拿我的ESP8266开发板出来捣鼓一下。先下载编译工具链https://github.com/espressif/ESP8266_RTOS_SDK下载sdkgit clone https://github.com/espressif/ES…

周三是我们的篮球日,打篮球后总是会有些兴奋,然后就容易睡不着,额,睡不着就拿我的ESP8266开发板出来捣鼓一下。

597e62b540f2d43f28a4201f05adc1a6.jpeg

先下载编译工具链

https://github.com/espressif/ESP8266_RTOS_SDK

bed04ff64bc81353e31493dbedb6bef8.jpeg

下载sdk

git clone https://github.com/espressif/ESP8266_RTOS_SDK.git

 配置编译链环境变量

下面的目录路径根据自己的实际情况设定

PATH=$PATH:/System/Volumes/Data/Users/crisqifawei/Documents/work/ESP8226/Toolchain/xtensa-lx106-elf/bin

配置sdk的环境变量

下面的目录路径根据自己的实际情况设定

export IDF_PATH=/System/Volumes/Data/Users/crisqifawei/Documents/work/ESP8226/ESP8266_RTOS_SDK

如果想上面修改重启后依然生效,就需要修改

vim ~/.bash_profile
source ~/.bash_profile

menuconfig配置开发板信息

cd /System/Volumes/Data/Users/crisqifawei/Documents/work/ESP8226/ESP8266_RTOS_SDK/examples/get-started/hello_world
make menuconfig

注意串口号在Macbook上不一样,需要在config里面修改下

  • 1、修改烧录串口设备

名字是你用usb连接板子后,在设备文件里面会看到的

caf67efdee230e121f3822154bfab82a.jpeg8e14e0321fba421dc4059dbad1ff8e18.jpeg
  • 2、修改printf 输出串口配置

这里需要把串口的波特率修改成115200,要不然printf,当然了,你也可以不修改

我这里是为了让我的输出波特率和串口下载的波特率一致。

Component config --->

Common ESP-related --->

(115200) UART console baud rate

cc3a1f35591e7a5cd26eac0da4d91e88.png

编译

make all 会全部编译一次

但是你要烧录到时候,执行make flash的时候,它还会编译一次

所以如果你板子拿到了,直接来一次make flash也不是不可以

0ff1c9f429019f14fbfdda9029463c34.jpeg

编译过程中出错了,按照提示安装需求的依赖就可以

/Users/crisqifawei/opt/miniconda3/bin/python -m pip install --user -r /System/Volumes/Data/Users/crisqifawei/Documents/work/ESP8226/ESP8266_RTOS_SDK/requirements.txt

程序代码

代码路径

ESP8266_RTOS_SDK/examples/get-started/hello_world

/* Hello World ExampleThis example code is in the Public Domain (or CC0 licensed, at your option.)Unless required by applicable law or agreed to in writing, thissoftware is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES ORCONDITIONS OF ANY KIND, either express or implied.
*/
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_spi_flash.h"void app_main()
{printf("Hello world!\n");/* Print chip information */esp_chip_info_t chip_info;esp_chip_info(&chip_info);printf("This is ESP8266 chip with %d CPU cores, WiFi, ",chip_info.cores);printf("silicon revision %d, ", chip_info.revision);printf("%dMB %s flash\n", spi_flash_get_chip_size() / (1024 * 1024),(chip_info.features & CHIP_FEATURE_EMB_FLASH) ? "embedded" : "external");for (int i = 100000; i >= 0; i--) {printf("Restarting in %d seconds...\n", i);vTaskDelay(1000 / portTICK_PERIOD_MS);}printf("Restarting now.\n");fflush(stdout);esp_restart();
}

串口输出

cf3734dfaac600da3378eae01a45e9c4.jpeg

67affc5d465e1801cc7fd49de8a727ac.jpeg

0a8d4fff4fa9f17d45aff27ad5110fca.png

http://www.yayakq.cn/news/429969/

相关文章:

  • 广州天与地网站建设阳江网站推广优化公司
  • 用google翻译做多语言网站开封建网站
  • 苏州市建筑设计研究院系统优化加速工具
  • 局域网内网站建设的步骤过程嘉兴建设局网站
  • 手机访问网站 自动缩放网站个人备案转企业备案
  • 服装网站建设公司推荐景安免费虚拟主机
  • 长沙建设银行招聘网站可以制作h5的网站
  • 那里有帮做网站的产品设计工程师
  • 东莞免费做网站公司海南专业网站建设定制
  • 直接用ip访问网站wordpress怎么开发app
  • 新建网站功能模块深圳竞价排名网络推广
  • 珠海门户网站建设报价医院网站素材
  • 网站迁移后 后台进不去福州响应式网站
  • 网站301跳转信息流广告形式主要有
  • dedecms网站logo男女做羞羞事试看网站
  • 济南网站seo外包简历模板免费网站
  • 任务一 分析电子商务网站栏目结构wordpress英语培训主题
  • 如何加强精神文明网站建设内容灵璧县住房和城乡建设局网站
  • 大型网站要多少钱wordpress站内查找
  • 擅自使用他人产品做网站宣传株洲seo排名
  • nft制作网站网站源码地址怎么看
  • window服务器如何做网站访问家庭农场网站建设
  • 茶叶网站建设要求如何建立自己的直播平台
  • 网站建设原则五大原则网络销售怎么做才能做好
  • 网站备案 个人组网方案公司注册资本可以随便填吗
  • 长春网站策划网站头部优化文字怎么做
  • 当前网站开发什么语言jupiter wordpress
  • 做网站 绍兴十大门户网站
  • 做旅游网站需要什么2024年新手机上市时间表
  • 做网站要求的资料营销型网站建设营销型