Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

Commit

Permalink
refactor(frame): add ESP8266_RTOS_SDK as submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ustccw committed Apr 19, 2018
1 parent f0ad202 commit 2d1cc19
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 11 deletions.
12 changes: 12 additions & 0 deletions .gitignore
@@ -0,0 +1,12 @@
# TO Delete if release
bin/upgrade

# Compile intermediate file
.output
*.d
*.o

# Config file
.settings
.project
.cproject
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "ESP8266_RTOS_SDK"]
path = ESP8266_RTOS_SDK
url = https://github.com/espressif/ESP8266_RTOS_SDK.git
1 change: 1 addition & 0 deletions ESP8266_RTOS_SDK
Submodule ESP8266_RTOS_SDK added at 111327
8 changes: 0 additions & 8 deletions README.md
Expand Up @@ -62,14 +62,6 @@ Target device can be configured through defining user_config.h macro. This appli

## Compiling the Code ##

First export the two parameters specifying the paths of esp8266 RTOS SDK and compiler generated firmware.

export SDK_PATH=~/esp_iot_sdk_freertos
(esp8266 RTOS SDK path)

export BIN_PATH=~/esp8266_bin
(the folder to save target binary)

Run the compilation script ./gen_misc.sh; you will prompted for some configuration parameters. User the firmware download tool to flash the device with the bins generated. For my version of FreeRTOS ESP8266 SDK 1.2.0.3, I have used the following parameters in the upload:

boot_v1.4(b1).bin, downloads to flash 0x00000
Expand Down
1 change: 1 addition & 0 deletions bin/blank.bin
@@ -0,0 +1 @@
����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Binary file added bin/boot_v1.6.bin
Binary file not shown.
Binary file added bin/esp_init_data_default.bin
Binary file not shown.
5 changes: 2 additions & 3 deletions gen_misc.sh
Expand Up @@ -8,9 +8,8 @@ export SDK_PATH=~/esp_iot_sdk_freertos
export BIN_PATH=~/esp8266_bin
!

export SDK_PATH=~/Documents/workspace/github/ESP8266_RTOS_SDK
export BIN_PATH=./bin

export SDK_PATH=$(pwd)/ESP8266_RTOS_SDK
export BIN_PATH=$(pwd)/bin

echo "gen_misc.sh version 20150911"
echo ""
Expand Down

0 comments on commit 2d1cc19

Please sign in to comment.