konnected-io / konnected-security

Konnected connects wired sensors and switches to SmartThings, Home Assistant, Hubitat and OpenHAB
https://konnected.io
Apache License 2.0
416 stars 322 forks source link

Update NodeMCU makefile to use 4MB flash size as default. #164

Closed h2zero closed 2 years ago

h2zero commented 2 years ago

The newer version of esptool defaults to 'leave' for the flash size which was defaulting to 1MB in the image creation, causing failure to boot with a 4MB flash size.

This replaces the NodeMCU makefile with a modified version the sets the default flash size to 4MB.