[riot-notifications] [RIOT-OS/RIOT] esp8266: make flash fails (#12247)

benpicco notifications at github.com
Mon Sep 16 13:31:50 CEST 2019


#### Description
When following the instructions from [the documentation](http://doc.riot-os.org/group__cpu__esp8266.html#esp8266_precompiled_toolchain), esptool.py v2.5.1 gets installed.

422644bd3a switched to a notation introduced by esptool.py v2.6 that the old esptool does not understand.

#### Steps to reproduce the issue
##### from the documentation
```
sudo git clone https://github.com/gschorcht/RIOT-Xtensa-ESP8266-toolchain.git /opt/esp
export PATH=$PATH:/opt/esp/esp-open-sdk/xtensa-lx106-elf/bin
```
##### trying to flash something
```
make -C examples/hello-world BOARD=esp8266-esp-12x flash
```

#### Expected results
Flashing works.

#### Actual results
```
esptool.py elf2image -fs 1MB /home/benpicco/dev/RIOT/examples/hello-world/bin/esp8266-esp-12x/hello-world.elf
usage: esptool elf2image [-h] [--output OUTPUT] [--version {1,2}]
                         [--flash_freq {40m,26m,20m,80m}]
                         [--flash_mode {qio,qout,dio,dout}]
                         [--flash_size {4m,2m,8m,16m,32m,16m-c1,32m-c1,32m-c2}]
                         input
esptool elf2image: error: argument --flash_size/-fs: invalid choice: '1mb' (choose from '4m', '2m', '8m', '16m', '32m', '16m-c1', '32m-c1', '32m-c2')
make: *** [/home/benpicco/dev/RIOT/examples/hello-world/../../Makefile.include:605: preflash] Error 2
```

#### Versions
Riot master

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/12247
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190916/081fa582/attachment.htm>


More information about the notifications mailing list