About the PUYA version
Moderators: grovkillen, Stuntteam, TD-er
About the PUYA version
I have a problem about the PUYA version, use the ESPEasy_v2.0-20180221, when flash the pre-build ESP_Easy_v2.0-20180221_dev_ESP8266PUYA_1024.bin, it is OK,but when i compile the source myself, flash the PUYA version -with or without VCC, when power on allways reset. could someone give any advices,thanks
Re: About the PUYA version
When you build it yourself, it is not able to write to SPIFF, the flash filesystem used.
This means the settings cannot be written.
I am not sure if (and if so, in what version) the patch for this has been merged into the core libraries.
Using Platform IO, it is quite hard to build a proper version yourself. (at least in Windows)
This means the settings cannot be written.
I am not sure if (and if so, in what version) the patch for this has been merged into the core libraries.
Using Platform IO, it is quite hard to build a proper version yourself. (at least in Windows)
Re: About the PUYA version
I spent lot of time trying compile for PUYA using platformIO with no success.
So I swap to Arduino on Debian, and now is much better.
I have patched esp.ccp with proper patch.
When I'll come back home I can attach a patch or esp.ccp file for 2.4.1 core
I use it witch ESP-01s and everything sims work well.
So I swap to Arduino on Debian, and now is much better.
I have patched esp.ccp with proper patch.
When I'll come back home I can attach a patch or esp.ccp file for 2.4.1 core
I use it witch ESP-01s and everything sims work well.
Re: About the PUYA version
OK, thanks. waitting for that ^-^xury wrote: ↑22 Apr 2018, 17:23 I spent lot of time trying compile for PUYA using platformIO with no success.
So I swap to Arduino on Debian, and now is much better.
I have patched esp.ccp with proper patch.
When I'll come back home I can attach a patch or esp.ccp file for 2.4.1 core
I use it witch ESP-01s and everything sims work well.
Re: About the PUYA version
OK, thanks. linux is OK , I am also a linux fan.TD-er wrote: ↑22 Apr 2018, 10:53 When you build it yourself, it is not able to write to SPIFF, the flash filesystem used.
This means the settings cannot be written.
I am not sure if (and if so, in what version) the patch for this has been merged into the core libraries.
Using Platform IO, it is quite hard to build a proper version yourself. (at least in Windows)
Re: About the PUYA version
Please overwrite your Esp.cpp using following file. And after you can compile binaries for PUYA flash IC.
This file should be in your core path as:
/home/yourname/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores (if you use Arduino)
The archive contains two files:
patched and original. So you can simply restore.
Next archive is a patch that I found on github. For me it works well.
This file should be in your core path as:
/home/yourname/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores (if you use Arduino)
The archive contains two files:
patched and original. So you can simply restore.
Next archive is a patch that I found on github. For me it works well.
- Attachments
-
- esp8266.zip
- (8.39 KiB) Downloaded 482 times
-
- puya_v2.patch.zip
- (668 Bytes) Downloaded 518 times
Re: About the PUYA version
@xuryxury wrote: ↑01 May 2018, 00:04 Please overwrite your Esp.cpp using following file. And after you can compile binaries for PUYA flash IC.
This file should be in your core path as:
/home/yourname/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores (if you use Arduino)
The archive contains two files:
patched and original. So you can simply restore.
Next archive is a patch that I found on github. For me it works well.
OK, I have finished with your guide, but which board do i select for PUYA 1M, thanks
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: About the PUYA version
Nighties releases have two bin files for PUYA already.
ESP_Easy_mega-20180507_dev_ESP8266PUYA_1024.bin
ESP_Easy_mega-20180507_dev_ESP8266PUYA_1024_VCC.bin
could you please try these for us?
ESP_Easy_mega-20180507_dev_ESP8266PUYA_1024.bin
ESP_Easy_mega-20180507_dev_ESP8266PUYA_1024_VCC.bin
could you please try these for us?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: About the PUYA version
Spiffs size is depending how much plugins you have. I compiled with normal and added only serial mcu controlled relay. I set 128k spiffs.
Re: About the PUYA version
@grovkillenyes ,grovkillen wrote: ↑08 May 2018, 12:13 Nighties releases have two bin files for PUYA already.
ESP_Easy_mega-20180507_dev_ESP8266PUYA_1024.bin
ESP_Easy_mega-20180507_dev_ESP8266PUYA_1024_VCC.bin
could you please try these for us?
yes I know, but my project mainly use pcf8574 and pca9685, and i want to set them output low when power up, so I have to compile myself
for pcf8574 , i add the below init code, does it ok?
and also i want to use a ESP8266's gpio to control a power after pcf8574 inital ok, where should i add the code, thanks
Last edited by bi4wms on 09 May 2018, 04:10, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 36 guests