diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-01-29 16:39:22 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-05-29 12:12:39 +1000 |
commit | 555f1cf4885c65c9ff08e84f068fa175d3d8127d (patch) | |
tree | cbea56b909b51f8bda8c54605169b97640f641a3 /lib/utils/stdout_helpers.c | |
parent | eccd23feb6ba32abca2a26978501a53ff4e25fe0 (diff) | |
download | micropython-555f1cf4885c65c9ff08e84f068fa175d3d8127d.tar.gz micropython-555f1cf4885c65c9ff08e84f068fa175d3d8127d.zip |
py/asmxtensa: Make the generated code dumper work on mpy-cross.
This commit fixes compilation errors occurring when enabling the Xtensa
code dumper inside mpy-cross.
The original code was meant to dump the code from an Xtensa device
itself, but for debugging the inline assembler this functionality was
also needed off-line. The changes involve solving a signed/unsigned
mismatch that was not much of a problem for the 8266's gcc version but
made modern compilers complain, and using the printf formatter for
pointers when it comes to printing code addresses.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'lib/utils/stdout_helpers.c')
0 files changed, 0 insertions, 0 deletions