Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
kathir1951
@kathir1951
@igrr Thanks I spilitted as you suggested compilied successfully
@igrr I choosen 0x0000 and 0x10000 how to calulate length when i change location of rom data in the id file
Harrison Mclean
@h4rm0n1c

Hello people. I'd like to highlight a small concern. My concern is that a random nutcase will descend onto this project, and make furious demands for things like a "Code of Conduct", a "safe space", banning "microaggressions" and other extremist nonsense that has nothing to do with the project itself.

I wouldn't have a problem with this if such codes didn't imply things along the lines of "power + prejudice = racism therefore, it's impossible to be racist to white people"

And yes, certain people use this to give themselves free license to treat people like garbage just because they're either white or male.

No, I'm not kidding, these things exist and they're ridiculous, but the threat of being attacked in our own jobs, being fired, etc is very real, look at what happened to the biologist Tim Hunt or the Philae Lander Guy a.k.a Shirtstorm (god that was stupid... all that outrage over a shirt)

I was wondering if it might be a good idea, as unlikely as it might be to happen (it seems to be happening at random), to pre-empt any kind of politicking or rubbish like that with a "code of merit" instead?

This one was written as an alternative to codes of conduct: https://github.com/rosarior/Code-of-Merit

I just really like this project, I don't want to see it destroyed by ideologues, sorry if my concern is misplaced or unwanted.

Harrison Mclean
@h4rm0n1c
I didn't want to bring it up, because it's bringing external real-world BS in here, but I had to say something, I thought I might end up regretting it if I didn't.
sam-fori-yana
@khaaali
im getting this error in serial terminal when i flash the code into ESP "Error setting up MDNS responder!"
Me No Dev
@me-no-dev
you are probably using old code
MDNS is global now
sam-fori-yana
@khaaali
i updated the arduino a week back from that time im facing this error
Me No Dev
@me-no-dev
your sketch needs to be updated as well
sam-fori-yana
@khaaali
yes its declared as global
Me No Dev
@me-no-dev
what do you do to get this error?
if(!MDNS.begin()) ?
sam-fori-yana
@khaaali
int mdns1(int webtype)
{
// Check for any mDNS queries and send responses
mdns.update();
// Check if a client has connected
WiFiClient client = server.available();
if (!client) {
   return(20);
}
Serial.println("");
Serial.println("New client");

 // Wait for data from client to become available
while(client.connected() && !client.available()){
delay(1);
}
Me No Dev
@me-no-dev
none of that triggers your error
thecode that you should paste is in your setup()
there are 4 possible reasons that will lead to the service not starting
  1. the IP of the ESP could not be read (no wifi)
  1. the name that you chose is longer than 255 chars
damn gitter rewriting the numbers...
the next reason would be that you can not join the igmp group (doubt it)
and the last is that the server could not be started (havng started other servers before MDNS?)
Ivan Grokhotkov
@igrr
mdns.update();
This isn't necessary any more

Also if you have

MDNSResponder mdns;

This needs to be removed.

@h4rm0n1c I love the language of this Code of Merit. I was planning to add CONTRIBUTING.md, this will definitely be a good addition.
Harrison Mclean
@h4rm0n1c
@igrr no probs, thanks for the kind words, hopefully some good can come from these unfortunate situations other projects are going through.
seclorum
@seclorum
hey guys .. what happened to the esp8266 branch that was usable to build the Arduino ESP8266 tools from sources?
branch: esp8266
but it seems its not available at origin any more .. ?
Markus
@Links2004
there where a rebuild of the git
seclorum
@seclorum
a rebuild of the git?
Markus
@Links2004
esp8266/Arduino#904
we removed all the code from the Arduino IDE itself
seclorum
@seclorum
so i want to just build the toolchain as i don't use the IDE - thus i don't use the boards manager
is there still a way to do that?
Markus
@Links2004
yes https://github.com/esp8266/Arduino#using-git-version- thanks to the changes its really easy now
seclorum
@seclorum
i don't want to use the arduino IDE at all .. do i still need it for the git version?
i.e. don't want to install a binary of the ide
Markus
@Links2004
die IDE is not needed you can use your one build scripts

the steps are the same

git clone https://github.com/esp8266/Arduino.git esp8266
cd esp8266/tools
python get.py

then you have all you need to build a binary for the ESP

seclorum
@seclorum
great thanks .. trying it now
Jeff Eberl
@jeffeb3
I have this stuff installed via the boards manager in the arduino IDE. I'm guessing the reason the ArduinoOTA.h isn't found is because that's an older version of the tools, right? I see you just explained how to install it from git (which would be the latest version). Is there a guide somewhere for how to do the OTA stuff (including the client side)?
seclorum
@seclorum
ermm, this is still downloading bins to me .. not building the toolchain from scratch, right?
Ivan Grokhotkov
@igrr
@seclorum you're right, it doesn't build toolchain "from scratch"
which OS are you using?
linux and OS X toolchains are build using crosstool-ng
windows toolchain is built using this script and MinGW
Markus
@Links2004
@jeffeb3 the example is here: https://github.com/esp8266/Arduino/blob/master/libraries/ArduinoOTA/examples/BasicOTA/BasicOTA.ino
the upload process the same the allways you only need the select the right OTA target by the Ports menu
Jeff Eberl
@jeffeb3
Oh wait, the client is the arduino IDE for ota updates? Neat.
Markus
@Links2004
yes