-->
Page 1 of 1

NodeMCU DEVKIT V1.0 flash size

PostPosted: Wed Dec 02, 2015 1:04 pm
by dingdongclack
Hi!

After flashing the firmware esp-12e [4MB] has 3441461 bytes of flash memory. Is that ok?

Code: Select allNodeMCU 0.9.5 build 20150318  powered by Lua 5.1.4
lua: cannot open init.lua
>
----------------------------
No files found.
----------------------------
>
> r,u,t=file.fsinfo() print("Total : "..t.." bytes\r\nUsed  : "..u.." bytes\r\nRemain: "..r.." bytes\r\n") r=nil u=nil t=nil
Total : 3441461 bytes
Used  : 0 bytes
Remain: 3441461 bytes

> =node.heap()
21648

Re: NodeMCU DEVKIT V1.0 flash size

PostPosted: Wed Dec 02, 2015 4:52 pm
by devsaurus
dingdongclack wrote:After flashing the firmware esp-12e [4MB] has 3441461 bytes of flash memory. Is that ok?

Yes, same here.

BTW give the current dev branch a try and build an image with http://nodemcu-build.com. The latest firmware will boost heap beyond 40k!