Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
esp32
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
esp32
Commits
6e204b03
Commit
6e204b03
authored
Jun 02, 2017
by
omwansafelix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited buildESP32.sh to incorporate new additions for the test process
parent
67604445
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
buildESP32.sh
buildESP32.sh
+20
-10
No files found.
buildESP32.sh
View file @
6e204b03
...
@@ -83,21 +83,26 @@
...
@@ -83,21 +83,26 @@
echo
"[
$0
]: export IDF_PATH=
${
BASE
}
/esp-idf"
echo
"[
$0
]: export IDF_PATH=
${
BASE
}
/esp-idf"
export
PATH
=
$PATH
:
${
BASE
}
/xtensa-esp32-elf/bin
export
PATH
=
$PATH
:
${
BASE
}
/xtensa-esp32-elf/bin
echo
"[
$0
]: export PATH=
$PATH
:
${
BASE
}
/xtensa-esp32-elf/bin"
echo
"[
$0
]: export PATH=
$PATH
:
${
BASE
}
/xtensa-esp32-elf/bin"
##move the project folders to narra directory
mkdir
narra
mv
ble_app_eddystone narra
#source project files
git clone https://github.com/asukiaaa/esp32-nodejs-samples.git
git clone https://github.com/asukiaaa/esp32-idf-samples.git
mv
listenNode.sh esp32-nodejs-samples
mv
esp32-nodejs-samples narra
mv
esp32-idf-samples narra
}
}
#BUILDAPP FUNCTION: TO BE USEFUL LATER
build_app
(){
build_app
(){
echo
""
echo
""
echo
"[
$0
]: This compiles and flashes the project into the ESP32."
echo
"[
$0
]: This compiles and flashes the project into the ESP32."
echo
"[
$0
]: NOTE: You should run this function from the working directory."
echo
"[
$0
]: NOTE: You should run this function from the working directory."
##move the project and builder to the source code directory
mkdir
narra
mv
ble_app_eddystone narra
##After source code is available the commands to complete project building go here
cd
narra/ble_app_eddystone
#compiling and flashing project binaries
#compiling and flashing project binaries
##Allow read and write access to USB device
##Allow read and write access to USB device
echo
""
echo
""
...
@@ -129,9 +134,14 @@ echo "Bitsoko ESP32 script initialized. What would you like to do?"
...
@@ -129,9 +134,14 @@ echo "Bitsoko ESP32 script initialized. What would you like to do?"
echo
""
echo
""
echo
"[
$0
]: 1. Run 'build_framework' to build the development framework for ESP32 in the working directory."
echo
"[
$0
]: 1. Run 'build_framework' to build the development framework for ESP32 in the working directory."
echo
"[
$0
]: 2. Run 'build_app' to compile and flash the
project in the working directory into the ESP32."
##echo "[$0]: 2. Run 'build_app' to compile and flash
project in the working directory into the ESP32."
echo
"[
$0
]: 3. Run 'build_flash' to development framework and flash project in one operation."
##
echo "[$0]: 3. Run 'build_flash' to development framework and flash project in one operation."
echo
"[
$0
]: 4. Run 'quit' to quit."
echo
"[
$0
]: 4. Run 'quit' to quit."
echo
"[
$0
]: Run 'buildApp.sh' in esp32-idf-samples/gatt_server_notif_switch to flash the node server project to the ESP32."
echo
""
echo
"[
$0
]: FURTHER PROJECT BUILD INSTRUCTIONS"
echo
"[
$0
]: Run 'listenNode.sh' in esp32-nodejs-samples to open a notification dialog for to detect action on the ESP32.sh."
echo
"[
$0
]: In case of errors of path configurations, run 'path_config.sh' in esp32 to set the required variables then try again."
read
action
read
action
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment