Error when flashing gpio example

gabespound
Posts: 1
Joined: Sun Oct 15, 2017 1:19 am

Error when flashing gpio example

Postby gabespound » Sun Oct 15, 2017 1:23 am

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?

akon13014
Posts: 3
Joined: Tue May 29, 2018 8:48 am

Re: Error when flashing gpio example

Postby akon13014 » Tue May 29, 2018 8:52 am

Hi,
I have the same issue, did you have resolve it ?

Thanks

mikemoy
Posts: 135
Joined: Fri Jan 12, 2018 9:10 pm

Re: Error when flashing gpio example

Postby mikemoy » Tue May 29, 2018 4:56 pm

I just tried this example using mingw32, compiled and ran just fine for me.

ESP_Angus
Posts: 1155
Joined: Sun May 08, 2016 4:11 am

Re: Error when flashing gpio example

Postby ESP_Angus » Wed May 30, 2018 2:02 am

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?

Who is online

Users browsing this forum: No registered users and 12 guests