Closed Pines closed 7 years ago
i may not make that clear, code in subroutine run correct. but after call ret, it cant go back run code next where suntoutine called
See https://www.esp32.com/viewtopic.php?f=2&t=3228
You need a patch for the assembler, the jump rx command produces wrong code.
Espressif has not made new toolchain binairies available for download yet, so you will have to build them yourself. This is easy on Linux (see link to forum), but a bit more work on Windows.
ok, thank you so much
Hi, sir again.
i'm build this ulp compile tools myself on win7 under mingw32, and with no luck. make fail looks like cant find correct io.h fcntl.h
did you build it with windows, ... and how to do that
I created a build with msys2 on a Windows-7 32-bit installation:
https://drive.google.com/open?id=0B3Q0BNAaAVQzV0JxWkpNU3ZVZjg
Also tested the as executable on a Windows-10 64 bit installation.
I installed the msys2 compiler with:
pacman -S --needed base-devel mingw-w64-i686-toolchain
See also:
https://github.com/orlp/dev-on-windows/wiki/Installing-GCC--&-MSYS2
OK, thank you.
I'm in china, and now is morning, I build a demo with this ulp tools-chain, and stack, i2c.s i2c-util.s finally have good i2c communication with mpu6050 sensor.
I'm very exciting, this hard I2C left shift 1 bit thing trouble me for a week. i'll try do a little math dealing with data from mpu6050, that will be my goal.
Thank you Sir, answer my question. this ulp i2c tools is helpful. (5 star)
i use stack in my code
by the way thank you sir, your work is like lighting up a tower in the ocean.