Closed hkarthik97 closed 4 years ago
Sorry friend, this is developed for esp32, if you want to run with esp8266 you have to copy the code file in library to esp8266.
On Thu, 25 Jun 2020, 22:03 hkarthik97, notifications@github.com wrote:
I was trying to Dump code in ESP8266 but i was throwing error WARNING: library UDHttp claims to run on (esp32) architecture(s) and may be incompatible with your current board which runs on (esp8266) architecture(s). In file included from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2Card.h:26:0, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/SdFat.h:29, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/mySD.h:25, from /Users/karthik/Documents/Arduino/Filetosdcard/Filetosdcard.ino:2: /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2PinMap.h:402:2: error: #error Architecture or board not supported.
error Architecture or board not supported.
^ exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nhatuan84/esp32-upload-download-multipart-http/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEN6LVYPLKCVRDH5QJYUR3RYNRLJANCNFSM4OIOVWIQ .
thankyou it worked
Sorry friend, this is developed for esp32, if you want to run with esp8266 you have to copy the code file in library to esp8266. … On Thu, 25 Jun 2020, 22:03 hkarthik97, @.***> wrote: I was trying to Dump code in ESP8266 but i was throwing error WARNING: library UDHttp claims to run on (esp32) architecture(s) and may be incompatible with your current board which runs on (esp8266) architecture(s). In file included from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2Card.h:26:0, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/SdFat.h:29, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/mySD.h:25, from /Users/karthik/Documents/Arduino/Filetosdcard/Filetosdcard.ino:2: /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2PinMap.h:402:2: error: #error Architecture or board not supported. #error Architecture or board not supported. ^ exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module). — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEN6LVYPLKCVRDH5QJYUR3RYNRLJANCNFSM4OIOVWIQ .
Hi!! When you said "copy the code in library to ESP8266", what do you mean? I've tried many possibilities, but none of them i got a successfull compiling... Could you help me please? This library is fantastic btw...
Sorry friend, this is developed for esp32, if you want to run with esp8266 you have to copy the code file in library to esp8266. … On Thu, 25 Jun 2020, 22:03 hkarthik97, @.***> wrote: I was trying to Dump code in ESP8266 but i was throwing error WARNING: library UDHttp claims to run on (esp32) architecture(s) and may be incompatible with your current board which runs on (esp8266) architecture(s). In file included from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2Card.h:26:0, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/SdFat.h:29, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/mySD.h:25, from /Users/karthik/Documents/Arduino/Filetosdcard/Filetosdcard.ino:2: /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2PinMap.h:402:2: error: #error Architecture or board not supported. #error Architecture or board not supported. ^ exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module). — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEN6LVYPLKCVRDH5QJYUR3RYNRLJANCNFSM4OIOVWIQ .
Hi!! When you said "copy the code in library to ESP8266", what do you mean? I've tried many possibilities, but none of them i got a successfull compiling... Could you help me please? This library is fantastic btw...
I got it... To run in ESP8266, edit the UDHttp.h file. Just change:
to
After changing, save the new library with a new name if you will use both ESP32 and ESP8266. In my case i'm only using ESP8266, so i let the name as the original name.
I was trying to Dump code in ESP8266 but i was throwing error WARNING: library UDHttp claims to run on (esp32) architecture(s) and may be incompatible with your current board which runs on (esp8266) architecture(s). In file included from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2Card.h:26:0, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/SdFat.h:29, from /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/mySD.h:25, from /Users/karthik/Documents/Arduino/Filetosdcard/Filetosdcard.ino:2: /Users/karthik/Documents/Arduino/libraries/esp32-micro-sdcard-master/utility/Sd2PinMap.h:402:2: error: #error Architecture or board not supported.
error Architecture or board not supported.
^ exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).