OloloevReal / TinyCoap

A tiny simple library for using CoAP protocol over NB-IoT modem SIM7020E
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Bug in library tinyGSM for sim7020e #1

Open roysG opened 3 years ago

roysG commented 3 years ago

Hi, I tried your library: https://github.com/OloloevReal/TinyGSM

I got error when try to deploy it:

Arduino: 1.8.14 Hourly Build 2020/09/23 10:35 (Mac OS X), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h: In member function 'int16_t TinyGsmSim7020E::CoAPClient::modemSend(const void, size_t, uint8_t)': /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:276:40: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String' if (at->waitResponse(2000, GSM_OK) != 1){ ^ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232:0, from sketch/HttpClient.ino.cpp:1: /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:59:2: note: after user-defined conversion: String::String(const char) String(const char cstr = ""); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: initializing argument 2 of 'uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h: In member function 'bool TinyGsmSim7020E::GsmClientSecure::modemConnect(const char, uint16_t, uint8_t, bool, int)': /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:353:43: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String' if(at->waitResponse(timeout_ms, GSM_OK) != 1){ ^ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232:0, from sketch/HttpClient.ino.cpp:1: /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:59:2: note: after user-defined conversion: String::String(const char) String(const char cstr = ""); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: initializing argument 2 of 'uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:359:43: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String' if(at->waitResponse(timeout_ms, GSM_OK) != 1){ ^ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232:0, from sketch/HttpClient.ino.cpp:1: /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:59:2: note: after user-defined conversion: String::String(const char) String(const char cstr = ""); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: initializing argument 2 of 'uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:28:0, from sketch/HttpClient.ino.cpp:1: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h: In member function 'int16_t TinyGsmSim7020E::GsmClientSecure::modemSend(const void*, size_t, uint8_t)': /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:38:74: error: initializer fails to determine size of '__c'

define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))

                                                                      ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmCommon.h:48:18: note: in expansion of macro 'F'

define GF(x) F(x)

              ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:385:41: note: in expansion of macro 'GF' at->sendAT(GF("+CTLSSEND="), mux, GF(','), s.length(), GF(",\""), s, GF("\",802")); ^~ /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:38:74: error: array must be initialized with a brace-enclosed initializer

define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))

                                                                      ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmCommon.h:48:18: note: in expansion of macro 'F'

define GF(x) F(x)

              ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:385:41: note: in expansion of macro 'GF' at->sendAT(GF("+CTLSSEND="), mux, GF(','), s.length(), GF(",\""), s, GF("\",802")); ^~ /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:38:74: error: initializer fails to determine size of '__c'

define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))

                                                                      ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmCommon.h:48:18: note: in expansion of macro 'F'

define GF(x) F(x)

              ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:387:41: note: in expansion of macro 'GF' at->sendAT(GF("+CTLSSEND="), mux, GF(','), len, GF(",\""), (char*)buff, GF("\",801")); ^~ /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:38:74: error: array must be initialized with a brace-enclosed initializer

define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))

                                                                      ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmCommon.h:48:18: note: in expansion of macro 'F'

define GF(x) F(x)

              ^

/Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:387:41: note: in expansion of macro 'GF' at->sendAT(GF("+CTLSSEND="), mux, GF(','), len, GF(",\""), (char)buff, GF("\",801")); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:389:38: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String' if (at->waitResponse(2000, GSM_OK) != 1){ ^ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232:0, from sketch/HttpClient.ino.cpp:1: /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:59:2: note: after user-defined conversion: String::String(const char) String(const char cstr = ""); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: initializing argument 2 of 'uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:400:49: error: no matching function for call to 'TinyGsmSim7020E::waitResponse(int, const char [5], const char [8])' if (at->waitResponse(2000, GSM_OK, GSM_ERROR) != 1){ ^ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: candidate: uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr) uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: no known conversion for argument 3 from 'const char [8]' to 'GsmConstStr {aka const __FlashStringHelper}' /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1248:11: note: candidate: uint8_t TinyGsmSim7020E::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr) uint8_t waitResponse(uint32_t timeout_ms, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1248:11: note: no known conversion for argument 2 from 'const char [5]' to 'GsmConstStr {aka const FlashStringHelper*}' /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1256:11: note: candidate: uint8_t TinyGsmSim7020E::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr) uint8_t waitResponse(GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1256:11: note: no known conversion for argument 2 from 'const char [5]' to 'GsmConstStr {aka const FlashStringHelper}' /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h: In member function 'String TinyGsmSim7020E::queryDNS(const char)': /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:519:38: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String' if(waitResponse(GSM_OK, GSM_ERROR) != 1){ ^ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232:0, from sketch/HttpClient.ino.cpp:1: /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:59:2: note: after user-defined conversion: String::String(const char) String(const char cstr = ""); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: initializing argument 2 of 'uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h: In member function 'bool TinyGsmSim7020E::modemConnect(const char, uint16_t, TinyGSMProto, uint8_t, bool, int)': /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:939:42: error: no matching function for call to 'TinyGsmSim7020E::waitResponse(long int, const char [5], const char [8])' waitResponse(2000L, GSM_OK, GSM_ERROR); ^ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: candidate: uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr) uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: no known conversion for argument 3 from 'const char [8]' to 'GsmConstStr {aka const __FlashStringHelper}' /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1248:11: note: candidate: uint8_t TinyGsmSim7020E::waitResponse(uint32_t, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr) uint8_t waitResponse(uint32_t timeout_ms, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1248:11: note: no known conversion for argument 2 from 'const char [5]' to 'GsmConstStr {aka const __FlashStringHelper}' /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1256:11: note: candidate: uint8_t TinyGsmSim7020E::waitResponse(GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr) uint8_t waitResponse(GsmConstStr r1=GFP(GSM_OK), GsmConstStr r2=GFP(GSM_ERROR), ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1256:11: note: no known conversion for argument 2 from 'const char [5]' to 'GsmConstStr {aka const __FlashStringHelper}' /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:948:36: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String' if (waitResponse(60000L, GSM_OK) != 1){ ^ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232:0, from sketch/HttpClient.ino.cpp:1: /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:59:2: note: after user-defined conversion: String::String(const char) String(const char cstr = ""); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: initializing argument 2 of 'uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h: In member function 'int16_t TinyGsmSim7020E::modemSend(const void, size_t, uint8_t)': /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:982:34: error: cannot bind non-const lvalue reference of type 'String&' to an rvalue of type 'String' if (waitResponse(2000, GSM_OK) != 1){ ^ In file included from /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232:0, from sketch/HttpClient.ino.cpp:1: /private/var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/AppTranslocation/2D8405D8-BB54-4D2C-B882-5555075C4DF6/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/WString.h:59:2: note: after user-defined conversion: String::String(const char) String(const char cstr = ""); ^~ In file included from /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClient.h:46:0, from /var/folders/zc/3434x75518v51tdnqdhgt6s00000gn/T/arduino_modified_sketch_230884/HttpClient.ino:95: /Users/roysabah/Documents/Arduino/libraries/TinyGSM-SIM7020E/src/TinyGsmClientSIM7020E.h:1063:11: note: initializing argument 2 of 'uint8_t TinyGsmSim7020E::waitResponse(uint32_t, String&, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr, GsmConstStr)' uint8_t waitResponse(uint32_t timeout_ms, String& data, ^~~~ exit status 1 Error compiling for board Arduino Nano.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

I also did not understood where to find the file: "platformio.ini"

Thanks for your help!

roysG commented 3 years ago

I am using arduino nano

OloloevReal commented 3 years ago

@roysG as I can see in the logs you are using Arduino IDE for development, unfortunately I checked it only in the platformio IDE https://platformio.org/platformio-ide

platformio.ini is a part of each platformio project.

roysG commented 3 years ago

Hi @OloloevReal , I also tried tested the code in the platrfomio-ide with visual code editor and i get the errors below in the logs:

this is how the file platformo.ini looks:

[env:nanoatmega328] platform = atmelavr board = nanoatmega328 framework = arduino lib_deps = https://github.com/OloloevReal/TinyGSM#SIM7020E

This is the all folders hierarchy:

Screen Shot 2021-04-05 at 7 42 35

This is the errors output:

Executing task: platformio run <

Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html PLATFORM: Atmel AVR (3.3.0) > Arduino Nano ATmega328 HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash DEBUG: Current (avr-stub) On-board (avr-stub, simavr) PACKAGES:

Terminal will be reused by tasks, press any key to close it.

Executing task: platformio run <

Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html PLATFORM: Atmel AVR (3.3.0) > Arduino Nano ATmega328 HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash DEBUG: Current (avr-stub) On-board (avr-stub, simavr) PACKAGES:

Terminal will be reused by tasks, press any key to close it.

Executing task: platformio run <

Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html PLATFORM: Atmel AVR (3.3.0) > Arduino Nano ATmega328 HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash DEBUG: Current (avr-stub) On-board (avr-stub, simavr) PACKAGES:

Terminal will be reused by tasks, press any key to close it.

Executing task: platformio run <

Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html PLATFORM: Atmel AVR (3.3.0) > Arduino Nano ATmega328 HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash DEBUG: Current (avr-stub) On-board (avr-stub, simavr) PACKAGES:

Terminal will be reused by tasks, press any key to close it.

Executing task: platformio run <

Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html PLATFORM: Atmel AVR (3.3.0) > Arduino Nano ATmega328 HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash DEBUG: Current (avr-stub) On-board (avr-stub, simavr) PACKAGES:

Terminal will be reused by tasks, press any key to close it.

What do i miss?

roysG commented 3 years ago

?

OloloevReal commented 3 years ago

I had the opportunity to testing only on ESP32 hw. I assume that it will not work without improvements for atmega arduino. You can fix it yourself for your device, there are no critical errors in the log, everything can be finalized.