You are welcome I really appreciate the ESP32 and the fact that you have published the source code of all the tools. Not always easy to understand every piece of code but it's really great
Let me know if there is anything you don't understand in what I have proposed.
Search found 6 matches
- Fri Jun 01, 2018 6:29 am
- Forum: General Discussion
- Topic: bug with macros in ULP assembly files
- Replies: 5
- Views: 7723
- Thu May 31, 2018 6:18 pm
- Forum: General Discussion
- Topic: bug with macros in ULP assembly files
- Replies: 5
- Views: 7723
Re: bug with macros in ULP assembly files
Problem solved and solution submitted to the project in github : https://github.com/espressif/binutils-esp32ulp/issues/9 I hope that one of the owner will make it available to community soon. Correct implementation of md_assemble() in tc-esp32ulp.c: void md_assemble(char *line) { char *toP ; int ins...
- Wed May 30, 2018 2:06 pm
- Forum: General Discussion
- Topic: bug with macros in ULP assembly files
- Replies: 5
- Views: 7723
Re: bug with macros in ULP assembly files
Actually the root cause is the way md_assemble() has been coded in the tc-esp32ulp.c My solution above, which modifies listing.c, is a workaround that will force generate a "frag" (aka fragment of code) for each ULP instruction, thus it doesn't matter where we are in the fragment since a fragment ca...
- Tue May 29, 2018 4:15 pm
- Forum: General Discussion
- Topic: bug with macros in ULP assembly files
- Replies: 5
- Views: 7723
Re: bug with macros in ULP assembly files
Replying to myself : After hours of investigation in the source code of the binutils, I have found the guilty. The problems is in the gas/listing.c file, function void listing_newline (char *ps) It returns when it finds that the same line has already been handled (lines 330): file = as_where (&line)...
- Sun May 27, 2018 7:51 pm
- Forum: General Discussion
- Topic: bug with macros in ULP assembly files
- Replies: 5
- Views: 7723
bug with macros in ULP assembly files
Hi I'm using the esp32ulp assembler on .S files. I have been experiencing issues when using macro's. esp32ulp-elf-as.exe does not produce valid .o files on macro's when processing the .pS file when it is big or a bit complex. The problems is that it will not increment correctly the instruction count...
- Tue Mar 20, 2018 9:57 pm
- Forum: Hardware
- Topic: Discussion of QIO DIO QOUT DOUT flash modes?
- Replies: 5
- Views: 118504
Re: Discussion of QIO DIO QOUT DOUT flash modes?
Hello Any update with this ? I'm trying the ESP-WROOM32 and the first stage bootloader does not read the flash correctly in QIO mode and keeps resetting. QOUT mode works fine as well as DOUT and DIO. Second stage bootloader works well with QIO and all other modes. I guess there is a bug or limitatio...