Page 1 of 1

Error when flashing gpio example

Posted: Sun Oct 15, 2017 1:23 am
by gabespound
Inside the esp-idf examples directory "{IDF_PATH}\examples\examples\peripherals", there is a gpio example. I have tried this both with eclipse and the make flash command within mingw32, and i am presented with the following error. I included the top line of code, not because i believe it is part of the error, but to show you where in the flash process it is before the error happens.

Code: Select all

g:/projects/esp/msys32/opt/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.        0/../../../../xtensa-esp32-elf/bin/ld.exe:esp32_out.ld:86: warning: redeclaratio        n of memory region `rtc_slow_seg'
esp32.common.ld:44 cannot move location counter backwards (from 40080400 to 4008        0000)
collect2.exe: error: ld returned 1 exit status
make: *** [G:/Projects/esp/esp-idf/make/project.mk:360: /g/projects/eclipse/gpio        /build/gpio.elf] Error 1
I have searched for the answer a bit on google, but have found nothing helpful. What should i try?

Re: Error when flashing gpio example

Posted: Tue May 29, 2018 8:52 am
by akon13014
Hi,
I have the same issue, did you have resolve it ?

Thanks

Re: Error when flashing gpio example

Posted: Tue May 29, 2018 4:56 pm
by mikemoy
I just tried this example using mingw32, compiled and ran just fine for me.

Re: Error when flashing gpio example

Posted: Wed May 30, 2018 2:02 am
by ESP_Angus
akon13014 wrote:Hi,
I have the same issue, did you have resolve it ?
What version of ESP-IDF do you have? Can you give us any more details about your build environment?