-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TW#13618] make size, make size-components, make size-files doesn't seem to work with tip. #739
Comments
Looks like the Regex for the memory configuration section processor doesn't work as expected. It skims to that header for the section, can't find any lines because it's not a valid regex to parse the line, and since the code always has "result" as empty...it inhales the rest of the file. Oops. |
I'll tinker a bit with it and see if I can't help out with a fix here. |
Thanks @madscientist42 . Maybe this is something line ending related? |
Thanks again for reporting this, and sorry for the hassle. It was exactly like you said, and is fixed now (plus a sanity check to get a better error if scan_for_header() inhales the entire file.) Fix will be merged shortly, but the change is here if you're interested:
Seems like Windows formats the map file slightly differently (maybe assumes a different line width?) |
Thanks- didn't have time yesterday like I'd thought I would with the project they had me on at work combined with getting ready to go to a SF convention that many of the major SF authors use as a get-together on this weekend. Greatly appreciated and I'll apply the patch locally because I'm trying to find an answer for the associated project that uses an ESP32. Probably the case on Windows. As long as it works on both worlds- I'm stuck at work with the Windows side, and I use the Linux side after hours. |
Captured result from an attempt to use...
Here's a grep for the landmark in the .map file:
For some unknown reason, it seems like Python's clipping off the map file out of the example build - the map file has the landmark section sought for the processor code. I'm looking for causes right now. Will update the issue and indicate in notes as soon as I see what gives.
The text was updated successfully, but these errors were encountered: