file name = plotly_latest_min.js
but it's not working
There is an error shown
A fatal error occurred: File simple.bin (length 4197680) at offset 65536 will not fit in 2097152 bytes of flash. Use --flash-size argument, or change flashing address.
esptool.py failed with exit code 2
Code: Select all
extern const unsigned char plotly_latest_min_js_start[] asm("_binary_plotly_latest_min_js_start");
extern const unsigned char plotly_latest_min_js_end[] asm("_binary_plotly_latest_min_js_end");
const size_t plotly_latest_min_js_size = (plotly_latest_min_js_end - plotly_latest_min_js_start);
httpd_resp_send_chunk(req, (const char *)plotly_latest_min_js_start, plotly_latest_min_js_size);
Thanks you.