Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ivan Grokhotkov
@igrr
which segments do you want at 0x00000 and at 0x40000?
currently the segments are mapped as follows (platform.txt, line 78):
-eo "{runtime.platform.path}/bootloaders/eboot/eboot.elf" -bo "{build.path}/{build.project_name}.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bp 4096 -ec -eo "{build.path}/{build.project_name}.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
so we have .text segment of bootloader, padded to 4096 bytes, and then .irom0.text, .text, .data, .rodata segments of the application
So you can try moving .irom0.text out of this binary
Ivan Grokhotkov
@igrr
i.e.
-eo "{build.path}/{build.project_name}.elf" -bo "{build.path}/{build.project_name}_00000.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bs .data -bs .rodata -bc -ec -eo "{build.path}/{build.project_name}.elf" -es .irom0.text "{build.path}/{build.project_name}_10000.bin" -ec
kathir1951
@kathir1951
@igrr I want code/data( RAM? ) at 0x00000 and core/data(rom?) at 0x40000
Ivan Grokhotkov
@igrr
remember to fix .irom0.text segment location in the linker script. by default it starts at 0x40201010, so you have to change that to 0x40210000 and adjust the length appropriately
just remember that this change will break OTA, because OTA implementation expects a single binary
onkelfunny
@onkelfunny
@igrr is the spiffs function not recursive ?
./index.html
./js
./js/jquery.js
./ms
./ms/de_ch.json
./ms/de_de.json
only the index.html is uploaded
Ivan Grokhotkov
@igrr
recursion was added in mkspiffs 1.2, and the latest boards manager package is still on 1.1
so if you are using boards manager package, it's not yet supported
onkelfunny
@onkelfunny
ok. i can just replace the mkspiffs... correct?
Ivan Grokhotkov
@igrr
as a workaround, you may try using git version. it got much simpler now: https://github.com/esp8266/Arduino#using-git-version-
replacing mkspiffs is not okay, because mkspiffs 1.1 used spiffs 0.3.2, while mkspiffs 1.2 uses spiffs 0.3.3
so you need a corresponding update of spiffs library in the core itself
that's why i suggest trying git version as described in the link above
this will bring you latest mkspiffs and the core itself
just be sure to remove boards manager package first, or it will override whatever happens to be in hardware directory
onkelfunny
@onkelfunny
i created a symlink to the current version... now it works for me. thanks!
kathir1951
@kathir1951
@igrr Oh just trying I have to modify platform text line78 acordingly
@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