Go to file
HuangXin 997af76d78 Fix configure tools load release configure file cause HTTP&MQTT Server information error 2019-03-15 14:34:31 +08:00
ESP8266_RTOS_SDK Init Projects 2018-11-23 09:43:17 +08:00
bin v03 Release 2019-01-10 15:18:39 +08:00
board/smart_lock v03 Release 2019-01-10 15:18:39 +08:00
config_tools Fix configure tools load release configure file cause HTTP&MQTT Server information error 2019-03-15 14:34:31 +08:00
configure Log hide ProductKey and ProductSecury information 2019-03-11 10:17:00 +08:00
driver Add devicename configure support 2019-03-01 17:52:25 +08:00
fota Take uart queue receive task to hight priority 2018-12-07 11:08:10 +08:00
include Release Version 7 2019-03-13 11:39:32 +08:00
jsprase Add devicename configure support 2019-03-01 17:52:25 +08:00
mqtt 1. Add enter softap mode protocol to mcu. 2019-01-18 11:24:31 +08:00
netease Fix Register Response JSON begin offset error. 2019-02-15 18:30:54 +08:00
protocol Add devicename configure support 2019-03-01 17:52:25 +08:00
soft_ap Fix after enter softap mode, system don't restart because used old status 2019-01-29 18:06:10 +08:00
tools Init Projects 2018-11-23 09:43:17 +08:00
user 1. Close securt log 2019-03-07 19:05:26 +08:00
.gitignore Add git ingore python temp file 2018-11-26 15:53:56 +08:00
Makefile Add git version print when system setup 2019-01-29 17:15:45 +08:00
README.md Init Projects 2018-11-23 09:43:17 +08:00
gen_misc.sh Init Projects 2018-11-23 09:43:17 +08:00

README.md

目录结构:

├── ESP8266_RTOS_SDK                   // SDK
├── Makefile
├── README.md
├── bin                                // 编译生成的 bin 目录
│   ├── blank.bin                      // 烧录地址 0xfe000
│   ├── boot_v1.6.bin                  // 烧录地址 0x00000
│   ├── esp_init_data_default.bin      // 烧录地址 0xfc000
│   └── upgrade                        // 编译后会生成此目录下的相应文件
│       ├── user1.1024.new.2.S
│       ├── user1.1024.new.2.bin       // 烧录地址 0x1000
│       └── user1.1024.new.2.dump
├── driver
│   ├── Makefile
│   └── uart.c
├── gen_misc.sh
├── include
│   ├── esp_main.h
│   ├── mqtt.h                         // MQTT broker ip 和 port 配置
│   ├── ssl_client_crt.h
│   ├── uart.h
│   └── user_config.h                  // 作为 demo 的 SSID 和 password
├── mqtt
│   ├── Makefile
│   ├── esp_mqtt.c                    // mqtt demo可在此修改订阅和发布的 topic 
│   └── gen_crt.sh
├── netease
│   ├── Makefile
│   └── esp_main.c
├── tools
└── user
    ├── Makefile
    └── user_main.c                    // 主函数入口

工程下载

  • 下载全新工程
    运行命令: git clone --recursive https://glab.espressif.cn/customer/netease/netease_esp8266.git
  • 更新已有工程
    运行命令: git pull
  • 更新默认 SDK:
    运行命令: git submodule update --recursive --init

编译方法

1. 进入工程目录,直接运行 make 编译,然后按照目录介绍的文件进行烧录。
2. 默认编译的为 user1.bin,即 bin/upgrade 目录下的 user1.1024.new.2.bin 文件,若要编译 user2.bin则运行 make APP=2则会在 bin/upgrade 目录下生成 user2.1024.new.2.bin 。