Sorry for bothering everybody, but I can't find a definitive answer to this question in the docs: Is it possible to run Tasmota on a system with only 512KB of ROM or is at least 1M a requirement?
To be more precise, I've been trying to get Tasmota to run on a Sparkfun Thing dev https://www.sparkfun.com/products/13711, which is an early ESP8266 dev board with only 512KB of RAM.
I've tried the lite and minimal versions of the latest 8.1 doris as well as numerous other releases to run.
I've installed Tasmota on a bunch of other devices, and the Thing Dev itself is working fine, other Arduino sketches run fine, including Wifi communication. I have also successfully uploaded other compiled binaries with esptool.py from the command line. When I upload the lite or minimal binaries of Tasmota, everything in the esptool.py checks out the same way. I've erased the flash before reprogramming and the process ends with the hash matching, everything fine and dandy. But after rebooting, the board doesn't seem to do anything sensible. No wireless network is established, and the serial console just outputs garbled data.
As mentioned, I've just installed the newest release on other devices including a No-name smart bulb, three Blitzwolf SHP6, and I can also get it to work on a ESP01 but, I'd like to fiddle with it on a development board.
Am I just doing something wrong or is impossible to run Tasmota in 512k and I will have to put my smd soldering skills to the test?
This issue has been automatically closed because the issue template is missing or incomplete.
Filling the template is required so standard questions don't need to be asked again each time. Our ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template with the requested information. The details requested potentially affect which options to pursue. The small amount of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce the time required to help you.
Please, could you be so kind on completing the issue template in order to have more information so as to properly help you?
Thank you for taking the time to report, hopefully it can be resolved soon.
Support Information
Wiki for more information.
Chat for more user experience.
Community for forum.
Code of Conduct
Contributing Guideline and Policy
The default memory map for Tasmota is 1MB and the default features compiled cause the binary to be larger than 512K. To use a device with 512K you will have to change the memory parameters for proper compilation AND you will have to disable enough features to get the binary size so it fits in 512K. However, once you flash the device via serial, you will ALWAYS have to flash any updates via serial because OTA flash requires flash to be ~2x the size of the final running binary. With 512K you will never have enough free memory to fit the two binaries concurrently.
Net-net - get yourself an ESP device with 1MB of flash memory or greater (and anything over 1MB is usually a waste).
Please address any further questions to the Tasmota Support Discord Chat. The chat is a better and more dynamic channel for helping you. Github issues are best used for Tasmota _software feature requests and bug reporting_. Troubleshooting and setup assistance is more effective using an interactive forum.
Please check the Contributing Guideline and Policy and the Support Guide.
Thanks.
See Wiki for more information.
See Chat for more user experience.
See Community for forum.
See Code of Conduct
For those who has 512k devices and want to use Tasmota.
As mentioned before, it is need to build Tasmota firmware with minimal modules. If you still want WEB gui, follow instruction below (to build using platformio).
[common]
build_flags = ${core_active.build_flags}
-DUSE_CONFIG_OVERRIDE
board = esp01
board_build.ldscript = eagle.flash.512k32.ld
#ifndef _USER_CONFIG_OVERRIDE_H_
#define _USER_CONFIG_OVERRIDE_H_
#undef USE_EMULATION
#undef USE_EMULATION_HUE
#undef USE_EMULATION_WEMO
#endif
pio run -e tasmota-lite
Instead of $DEV use your own port name.
Most helpful comment
For those who has 512k devices and want to use Tasmota.
As mentioned before, it is need to build Tasmota firmware with minimal modules. If you still want WEB gui, follow instruction below (to build using platformio).
pio run -e tasmota-lite
esptool.py --port $DEV --baud 921600 write_flash -fm dout 0x00000 .pioenvs/tasmota-lite/firmware.bin
Instead of $DEV use your own port name.