Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Markus
@Links2004
espressif does strange thinks some time
misterdanb
@misterdanb
whaaat? for what purpose do they use the adc?
Helio Machado
@0x2b3bfa0
Arrived from a long travel. Tired now. Good night!
Markus
@Links2004
@misterdanb they adjust the WiFi output power based on the input voltage
misterdanb
@misterdanb
okay, i see
didn't expect something like that, but okay, 2ms are okay actually (as you already mentionedr
misterdanb
@misterdanb
thanks for your help btw.!
:)
probonopd
@probonopd
Hi all. is someone around who could look at the SerialUploaderExceptoin? esp8266/Arduino#1453
it basically prevents me from using the hourly IDE builds along with esp8266/Arduino from git
Markus
@Links2004
the error is form the Arduino IDE (java) not from the ESP core.
its a NullPointerException.
Caused by: java.lang.NullPointerException
    at java.lang.String.replace(String.java:2240)
may report it to the Arduino git :)
probonopd
@probonopd
thanks @Links2004 - could it be related to the new OTA stuff?
maybe it's not finding its upload tool?
could that be?
Me No Dev
@me-no-dev
no
you are uploadung over serial
i did not touch that code
probonopd
@probonopd
let me verify quickly with a genuine(tm) arduino
Markus
@Links2004
it try to replace some string and get a Null ptr,
its a internal operation in the IDE no tool from us is involved at this point.
may the IDE not like some config in the board.txt or else but the release version work.
I think it need to be fixed in the Arduino IDE not in the core.
probonopd
@probonopd
you are right
thank you very much
upload to arduino pro mini is also broken
as it's the only change I see recently to the file
and I can tell you what it is...
boardPort.getPrefs().get("iserial") returns NULL
so when the replacer trys to replace with NULL, which can not happen
code should be boardPort.getPrefs().getOrExcept("iserial") to trigger exception and not fill the item
probonopd
@probonopd
I will try, thanks @me-no-dev
Me No Dev
@me-no-dev
yeah, let me know as I do not see a pull request about it
nor a fix merged upstream
probonopd
@probonopd
Let me see if I can build the IDE (never done that)
arduino/Arduino#4471
Me No Dev
@me-no-dev
good job :)
probonopd
@probonopd
duh, I'm absolutely not a Java guy ;-)
Me No Dev
@me-no-dev
nah, it's easier than this here
at least you can catch an exception and not kill the chip instead :D
probonopd
@probonopd
:-)
duh, that source tree is huge
around a gig
Me No Dev
@me-no-dev
yeah, and most is obsolete with the builder
lots of nothing for a basic editor with custom highlighting
probonopd
@probonopd
maybe it's really time to take Atom or the likes and make a decent IDE out of it
Me No Dev
@me-no-dev
maybe atom, maybe else
does not matter :) platformio guys are trying something
probonopd
@probonopd
it's not as easy as taking 1 .java file and just editing this, I need to comile the whole thing, right?
Me No Dev
@me-no-dev
yes
ant build