-->
Page 1 of 3

How can create firmware with less than 200 kb size.

PostPosted: Mon Dec 04, 2017 3:56 am
by vkthakar
    As per our requirement we have to Create firmware with maximum 200 kb size which is just contain functionality for upload firmware into esp8266 from ios application and install It.
      For feasibility I have carried out test cases like, no any esp8266 app level source code is present just main with no any statement in ESP8266 RTOS SDK 1.2.0 and 1.5.0.
        Binary size is in this case is 221 kb and 240 kb for 1.2.0 and 1.5.0 SDK respectively.
          SDK libs which is included is,
          libmain.a
          libhal.a
          libphy.a
          libpp.a
          libnet80211.a
          libwpa.a
          libfreertos.a
          liblwip.a
          libgcc.a
          libminic.a

            I have tried different LD flags but not useful.
              I have used eagle.app.v6.new.1024.app1.ld and eagle.app.v6.new.1024.app2.ld for creating user1.bin and user2.bin firmware.
                Os flag is also enable in CFLAGS.

                Can any one have suggestion that how can I achieve goal?

                Thanks & Regards,
                valmik thakar

                Re: How can create firmware with less than 200 kb size.

                PostPosted: Mon Dec 04, 2017 9:31 am
                by ritesh
                Hi Espressif System Developers,

                Would you guys please check that minimal firmware requirement and provide suggestions to us to make that type of firmware if possible using existing ESP8266 RTOS SDK 1.2.0 or 1.5.0?

                Re: How can create firmware with less than 200 kb size.

                PostPosted: Mon Dec 04, 2017 9:57 am
                by McChubby007
                You are addressing this forum as if we represent (or work for) Espressif : We do not!

                You should be posting on Espressif's own forum for this.

                Re: How can create firmware with less than 200 kb size.

                PostPosted: Mon Dec 04, 2017 6:10 pm
                by btidey
                Check out https://github.com/cnlohr/nosdk8266 for target sizes starting at 1KB. There are ways of adding on peripheral support for wifi stack etc without going down the full SDK route.

                See also https://github.com/pvvx/MinEspSDKLib

                Obviously requires more effort and you won't be able to use standard libraries.