These are chat archives for SmingHub/Sming

6th
Dec 2015
donnib
@donnib
Dec 06 2015 07:56

```make: esptool2: No such file or directory

Generating image...

make: * [out/build/app.out] Error 1```
ups i get an make: esptool2: no such file, should i get esptool2 myself and build it ? if so where should it be placed ?
alonewolfx2
@alonewolfx2
Dec 06 2015 08:14
@donnib its in @raburton 's repo. here is link https://github.com/raburton/esptool2
donnib
@donnib
Dec 06 2015 08:53
@alonewolfx2 thx but where should i place it then ? There is no instructions about it sp therefore i ask
Murli Shenoy
@hmms
Dec 06 2015 08:54
Hello, i had a quick question? Which is the best way to access GPIO
is DIRECT_MODE_OUTPUT( ) the recommended method?
i'm writing a driver for a epaper display that uses an SPI interface and a couple extra GPIOs..
alonewolfx2
@alonewolfx2
Dec 06 2015 09:04
@hmms seems intresting. what is your e-paper ?
for driver you can use digitalwrite. i used on ili9341 driver. its spi screen
@donnib yes its bad. we will some instructions for esptool2.
Murli Shenoy
@hmms
Dec 06 2015 09:06
@alonewolfx2 its a GDE021A1.
ok i will take a look at the ili9341 driver
donnib
@donnib
Dec 06 2015 09:09
@alonewolfx2 but do you know were i should place esptool2 after i build it inorder for sming build to find it ? Btw i use sdk 1.4 if it makes a difference
alonewolfx2
@alonewolfx2
Dec 06 2015 09:17
You can put anywhere but you need to change path. Just put in path where did place it
@hmms can you share some information about your screen, size, price, where can I find etc? Also you can use private message
I am interested with e-paper displays
Murli Shenoy
@hmms
Dec 06 2015 09:37
@alonewolfx2 sure thing
donnib
@donnib
Dec 06 2015 10:24
@alonewolfx2 ok so the next question is where is the path located ? I mean in which file ?
Dan Loman
@dloman
Dec 06 2015 10:37
Path is an environment variable. On UNIX you can add a folder to you path by typing export PATH=$PATH:<path to folder where esptool2 is>
Dmitry Kireev
@kireevco
Dec 06 2015 18:00
I'm working on esp-alt-sdk and it will include esptool2
fyi
building it off rabutron's repo
ystrem
@ystrem
Dec 06 2015 18:42
esp-alt-sdk includes only esptool2 or is there another difference ?
Dmitry Kireev
@kireevco
Dec 06 2015 19:15
many small differences. It is cross-platform works on linux,windows,mac
regular binary releases
still wrapping up with build logic, and then everyone can test it
build process is also open, so anyone can contribute to the process :) github.com/kireevco/esp-alt-sdk
build it yourself or get a binary
it includes newlib and lx106-hal
(@ystrem )
ystrem
@ystrem
Dec 06 2015 19:44
It is possible to build on windows in cygwin ?
alonewolfx2
@alonewolfx2
Dec 06 2015 19:44
and it doesnt build on win10 :D
ystrem
@ystrem
Dec 06 2015 19:44
@alonewolfx2 :D
I'll try
alonewolfx2
@alonewolfx2
Dec 06 2015 19:51
ok. please let me know
alonewolfx2
@alonewolfx2
Dec 06 2015 20:02
@all i need help for json object. can anyone help me ?
ystrem
@ystrem
Dec 06 2015 20:18
i tried with apt-cyg and can't find these packages
gcc g++ ncurses-dev libexpat-dev
installing ...
donnib
@donnib
Dec 06 2015 20:24
This message was deleted
ystrem
@ystrem
Dec 06 2015 20:34
@alonewolfx2 @kireevco nope it's not working on W10 in cygwin ... :(
donnib
@donnib
Dec 06 2015 20:42
i don't get it, i got the esptool2 from raburton repo, did a sudo make, then xport PATH="/Users/myuser/esptool2:$PATH" but eclipse still says it can't find esptool2, what am i doting wrong ?
ystrem
@ystrem
Dec 06 2015 20:52
I do only make
Dmitry Kireev
@kireevco
Dec 06 2015 21:08
@ystrem maybe, but why?
@donnib are you on Mac? Please check Mac how to
Mac apps don't get env vars that are set this way
donnib
@donnib
Dec 06 2015 21:13
@kireevco yes i am on Mac, i did follow the guideline but i still don't know what to do exactly
ystrem
@ystrem
Dec 06 2015 21:15
@kireevco
@kireevco
Vladislav@ystrem-pc ~/esp-open-sdk
$ make
You cloned without --recursive, fetching submodules for you.
git submodule update --init --recursive
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "CS"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
': not a valid identifiertext.sh: line 88: export: `name
': not a valid identifiertext.sh: line 88: export: `url
': not a valid identifiertext.sh: line 88: export: `displaypath
Submodule '' () registered for path ''
': not a valid identifiertext.sh: line 88: export: `name
': not a valid identifiertext.sh: line 88: export: `url
': not a valid identifiertext.sh: line 88: export: `displaypath
Submodule '' () registered for path ''
': not a valid identifiertext.sh: line 88: export: `name
': not a valid identifiertext.sh: line 88: export: `url
': not a valid identifiertext.sh: line 88: export: `displaypath
Submodule '' () registered for path ''
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "CS"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Cloning into 'crosstool-NG'...
remote: Counting objects: 28443, done.
remote: Total 28443 (delta 0), reused 0 (delta 0), pack-reused 28443
Receiving objects: 100% (28443/28443), 15.83 MiB | 464.00 KiB/s, done.
Resolving deltas: 100% (16473/16473), done.
Checking connectivity... done.
': not a valid identifiertext.sh: line 88: export: `sha1
': not a valid identifiertext.sh: line 88: export: `displaypath
': not a valid identifiertext.sh: line 88: export: `displaypath
': not a valid identifiertext.sh: line 88: export: `sha1
Submodule path '': checked out ''
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "CS"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "CS"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Cloning into 'esptool'...
remote: Counting objects: 268, done.
remote: Compressing objects: 100% (9/9), done.
Receiving objects: remote: Total 268 (delta 2), reused 0 (delta 0), pack-reused 259
Receiving objects: 100% (268/268), 109.01 KiB | 0 bytes/s, done.
Resolving deltas: 100% (138/138), done.
Checking connectivity... done.
': not a valid identifiertext.sh: line 88: export: `sha1
': not a valid identifiertext.sh: line 88: export: `displaypath
': not a valid identifiertext.sh: line 88: export: `displaypath
': not a valid identifiertext.sh: line 88: export: `sha1
Submodule path '': checked out ''
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "CS"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "CS"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Cloning into 'lx106-hal'...
remote: Counting objects: 109, done.
remote: Total 109 (delta 0), reused 0 (delta 0), pack-reused 109
Receiving objects: 100% (109/109), 177.96 KiB | 0 bytes/s, done.
Resolving deltas: 100% (44/44), done.
Checking connectivity... done.
': not a valid identifiertext.sh: line 88: export: `sha1
': not a valid identifiertext.sh: line 88: export: `displaypath
': not a valid identifiertext.sh: line 88: export: `displaypath
': not a valid identifiertext.sh: line 88: export: `sha1
Submodule path '': checked out ''
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_AL
ystrem
@ystrem
Dec 06 2015 21:59
Anybody using nodered ?