Chat freely about anything...

User avatar
By vkthakar
#72293
    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
                User avatar
                By btidey
                #72307 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.