Skip to content
Snippets Groups Projects
Commit 31b3f7a8 authored by David Gauchard's avatar David Gauchard
Browse files

correction mineure des scripts de lancement de la partie emulation

parent 1adf73db
No related branches found
No related tags found
No related merge requests found
...@@ -103,16 +103,17 @@ firefox localhost:9080 ...@@ -103,16 +103,17 @@ firefox localhost:9080
## Visualization locale de l'interface utilisateur sans l'arduino. ## Visualization locale de l'interface utilisateur sans l'arduino.
Compiler l'application locallement: Compiler l'application localement:
``` ```
# se positionner dans pousseseringue-arduino/
export ESP8266ARDUINO=~/devel/workspace/src/arduino_esp8266 export ESP8266ARDUINO=~/devel/workspace/src/arduino_esp8266
export ARDUINOLIB=~/devel/workspace/src/ export ARDUINOLIB=~/devel/workspace/src/
cd ~/devel/workspace/src/ cd host_gui
./host_gui/make.sh ./make.sh
``` ```
lancer le server: lancer le server:
``` ```
~/devel/workspace/src/arduino_esp8266/tests/host/bin/pousseseringue-arduino/pousseseringue-arduino ${ESP8266ARDUINO}/tests/host/bin/pousseseringue-arduino/pousseseringue-arduino
``` ```
## Some code details explanation ## Some code details explanation
...@@ -128,4 +129,4 @@ le gui sans avoir la carte éléctronique physiquement et de la flasher. ...@@ -128,4 +129,4 @@ le gui sans avoir la carte éléctronique physiquement et de la flasher.
#else // !CORE_MOCK #else // !CORE_MOCK
// on host // on host
#endif // !CORE_MOCK #endif // !CORE_MOCK
``` ```
\ No newline at end of file
#!/bin/sh -ex #!/bin/sh -ex
pwd=$(pwd)
cd ${ESP8266ARDUINO}/tests/host cd ${ESP8266ARDUINO}/tests/host
make FORCE32=0 ssl make FORCE32=0 ssl
make -j 10 FORCE32=0 D=1 USERCFLAGS="-I ${ARDUINOLIB}/emuAsync/replacement" ULIBDIRS=${ARDUINOLIB}/emuAsync:${ARDUINOLIB}/ESPUI:${ARDUINOLIB}/ArduinoJson:${ARDUINOLIB}/arduinoWebSockets ${ARDUINOLIB}/pousseseringue-arduino/pousseseringue-arduino make -j 10 FORCE32=0 D=1 USERCFLAGS="-I ${ARDUINOLIB}/emuAsync/replacement" ULIBDIRS=${ARDUINOLIB}/emuAsync:${ARDUINOLIB}/ESPUI:${ARDUINOLIB}/ArduinoJson:${ARDUINOLIB}/arduinoWebSockets ${pwd}/../pousseseringue-arduino
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment