Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Clemens Kirchgatterer
@everslick
IMHO performance measures are painfully missing
with your help i can now track heap memory (with the malloc wrapper) but my cpu load measurment is very cumbersum. i count the number of yield and delay calls and estimate some cpu load from that :-(
it would also be interesting how much cpu time is spent in the core and how much in 'user space'.
or is there something like a 'idle' time (sleeping) ?
Ivan Grokhotkov
@igrr
First we need to check how much RAM does enabling stats consume... Then, if the value is not huge (or if we can enable just a portion of these stats), we can make this change once we switch to GCC-built lwip as the default one.
#1926
Clemens Kirchgatterer
@everslick
IC
looks promising. :)
Me No Dev
@me-no-dev
@igrr see there was a point of adding source build option not just for me :)
Ivan Grokhotkov
@igrr
@me-no-dev yeah, i see the point :)
since i was building from the command line, it was never actually a trouble for me to do make -C path/to/lwip all install && ./build-sketch.py
but it is good to be able to do that from the IDE :)
Clemens Kirchgatterer
@everslick
what was the make option to set a define from command line?
Ivan Grokhotkov
@igrr
make CPPFLAGS=-DLWIP_STATS=1
Clemens Kirchgatterer
@everslick
or i could use sed to chang that particular define in lwipopts.h
thx, will try this first :)
Ivan Grokhotkov
@igrr
maybe it needs some quotes around -DLWIP_STATS=1
Mario Mikočević
@mozgy
@me-no-dev yes, thats a copy and one that do not even work on all OLEDs, I don't like when people put their names in credits for something copied and barely functional
there are several OLED libraries that are way better than this, imnho the best is https://github.com/squix78/esp8266-oled-ssd1306
Ivan Grokhotkov
@igrr
oh, I wonder why it's not added yet. it's a great library
Mario Mikočević
@mozgy
none did a PR I suppose
Me No Dev
@me-no-dev
@mozgy maybe you meant to ping @Makuna ? :)
Mario Mikočević
@mozgy
crap
one tab too many, apologies :)
Me No Dev
@me-no-dev
no probs :)
Mario Mikočević
@mozgy
heck, even my OLED lib is better :) ;)
nice, 2.2.0 release, gz and (beer) to @igrr
Clemens Kirchgatterer
@everslick
I believe we have to change on line in Arduino/tools/sdk/lwip/src/Makefile:
BUILDDEFINES = -D_ets ...
to
BUILDDEFINES += -D_ets
don't we?
Clemens Kirchgatterer
@everslick
cd $(SDK_ROOT)/lwip/src ; make BUILD_DEFINES="$(LWIP_DEFINES)" install
works
cd $(SDK_ROOT)/lwip/src ; make CPPFLAGS="-DLWIP_STATS=1" install
does not
but the first has the disadvantage that i have to redefine ALL build defines
LWIPDEFINES = -DLWIPSTATS=1 -Dets -DICACHE_FLASH -U__STRICT_ANSI -DLWIP_OPEN_SRC
Me No Dev
@me-no-dev
i never intended to change build flags from command line, therefore I wrote it like that
feel free to make changes and PR
Clemens Kirchgatterer
@everslick
ok, I will play around for some time and make a PR later
Clemens Kirchgatterer
@everslick
hmm, my own compiled lwip feels much slower
FWeinb
@FWeinb
Has anyone tried to remove an esp8266 from a nodemcu? (with just a soldering iron)
Me No Dev
@me-no-dev
yup
mine has qio 4MB module
have hot air?
FWeinb
@FWeinb
No hot air. Kinda impossible to do it with one iron...
Me No Dev
@me-no-dev
kinda impossible with just iron
solder goes under the pads also
FWeinb
@FWeinb
Yeah that will make it impossible to do. To bad.. I just let the magic smoke out on one. To dump to change the multimeter back to voltage...
Me No Dev
@me-no-dev
well I have a crazy idea since you have no other means of salvaging the rest of the board
FWeinb
@FWeinb
I would just like to replace the esp on it.
Me No Dev
@me-no-dev
flux well around the chip, put it on a tray in the oven and set the temp to 220 celsius