Forum Replies Created

Viewing 13 posts - 26 through 38 (of 38 total)
  • Author
    Posts
  • in reply to: How to get the app #700
    hoopty
    Participant

    I would say you have to compile the app first.
    You need Gradle and Android Studio.

    Mine keeps saying I am missing 28.0.3 but I have it t installed. That is as far as I have gotten right now.

    in reply to: Error when compiling #696
    hoopty
    Participant

    Hendrik,

    Hopefully I can be of some help now.

      First are you using Git as in the video to download the code. It is important to use that instead of a straight download

    Git grabs merged code and downloads all new or modified code.

    uninstall whatever you installed
    remove any remnants of previous attempts including the stuff in your profile under c:\users\Username\ it might be under appdata which is a hidden folder
    (look for stuff relates to vscode and platformIO. delete them)

    Watch the video.

    there are specific versions that Matt uses. Git will not matter and Tortoise Git is only one version
    watch the whole video and pause as you do the steps. I missed step in my config.
    2.2.1 for PlatformIO
    VSCODE you have to search for previous versions. 1.5.2.1 I had trouble with so I used 1.5.4.x

    Once Platform IO is installed you can click on the gear icon and change the version

    DO NOT forget to setup the platform inside PlatformIO

    Try it now.

    in reply to: microSD Card Formatting #691
    hoopty
    Participant

    Well deleting and starting all over, like you said, worked. Not sure why, but that made me happy. I have to figure out how to config the network next. The serial port is working as it should so a little more and I will be able to fully test.

    in reply to: microSD Card Formatting #689
    hoopty
    Participant

    I will make a deal with you. If you need anything cut I will help you out as a trade for helping me get this thing going.

    Do I need to modify any of the files before compiling. It seems there is a declaration of a variable “#define INADDR_NONE IPADDR_NON” that is a problem in the inet.h file at line:CHARACTER 71:29

    I had to comment that out to get it to compile but then it says the file is too big to load on the ADAHUZZAH.

    If I remove the platformIO.ini reference about literals. (says serious or dangerous problem) it will compile.

    Makes me think that posted code may be dodgy.

    I used VSCODE 1.5.2.1 and Platform IDE 2.21 and still no joy.

    in reply to: microSD Card Formatting #684
    hoopty
    Participant

    I have the adalogger featherwing. How does it connect to the HUZZAH. Does it replace the Expressif32? I am not sure I understand.

    On another note. In the raw code, do I need to select the board before compiling? I keep getting an error of it taking to much space and it won’t compile.

    have you tried to compile the current code?

    If you have an archive I would appreciate a download folder.

    BTW I have boards and a laser cutter now.

    in reply to: microSD Card Formatting #680
    hoopty
    Participant

    There is no reference on how to interconnect the huzzah with the SD card board. How do they connect?

    in reply to: Error when compiling #678
    hoopty
    Participant

    I have achieved almost success.
    The problem occurred because I have user profiles on my D drive and it was installing PlatformIO stuff on C:.

    Anyway it compiles and then after linking it says it won’t fit on the flash by 26 bytes.

    UGH

    Any ideas? Anybody?

    Linking .pio\build\featheresp32\firmware.elf
    Retrieving maximum program size .pio\build\featheresp32\firmware.elf
    Building .pio\build\featheresp32\firmware.bin
    Checking size .pio\build\featheresp32\firmware.elf
    Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
    RAM: [== ] 22.1% (used 72456 bytes from 327680 bytes)
    Error: The program size (1507354 bytes) is greater than maximum allowed (1507328 bytes)
    Flash: [==========*** [checkprogsize] Explicit exit, status 1
    ] 100.0% (used 1507354 bytes from 1507328 bytes)
    esptool.py v3.0
    ================================================ [FAILED] Took 23.75 seconds ================================================The terminal process “C:\Users\b1dx9\.platformio\penv\Scripts\platformio.exe ‘run'” terminated with exit code: 1.

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

    in reply to: Error when compiling #676
    hoopty
    Participant

    I have and they match exactly

    in reply to: Error when compiling #672
    hoopty
    Participant

    Meinst du Kerndateien?

    in reply to: Error when compiling #668
    hoopty
    Participant

    I dropped to 2.2.1 like in the video and it changed but still no joy.

    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:25:
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp: In member function ‘bool WiFiSTAClass::config(IPAddress, IPAddress, IPAddress, IPAddress, IPAddress)’:
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/inet.h:71:29: error: ‘IPADDR_NONE’ was not declared in this scope
    #define INADDR_NONE IPADDR_NONE
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:288:56: note: in expansion of macro ‘INADDR_NONE’
    if(local_ip != (uint32_t)0x00000000 && local_ip != INADDR_NONE){
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/inet.h:71:29: error: ‘IPADDR_NONE’ was not declared in this scope
    #define INADDR_NONE IPADDR_NONE
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:324:48: note: in expansion of macro ‘INADDR_NONE’
    if(dns1 != (uint32_t)0x00000000 && dns1 != INADDR_NONE) {
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/inet.h:71:29: error: ‘IPADDR_NONE’ was not declared in this scope
    #define INADDR_NONE IPADDR_NONE
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:330:48: note: in expansion of macro ‘INADDR_NONE’
    if(dns2 != (uint32_t)0x00000000 && dns2 != INADDR_NONE) {
    ^
    *** [.pio\build\featheresp32\libcc9\WiFi\WiFiSTA.cpp.o] Error 1
    ===================================================== [FAILED] Took 4.44 seconds =====================================================
    The terminal process “C:\Users\b1dx9\.platformio\penv\Scripts\pio.exe ‘run'” terminated with exit code: 1.

    in reply to: Error when compiling #667
    hoopty
    Participant

    I dropped to 2.2.1 like in the video and it changed but still no joy.

    Compiling .pio\build\featheresp32\libcc9\WiFi\WiFiSTA.cpp.o
    In file included from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/ip_addr.h:43:0,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\tcpip_adapter/tcpip_adapter.h:24,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp32/esp_event_legacy.h:23,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp_event/esp_event.h:26,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\esp32/esp_event_loop.h:22,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiGeneric.h:27,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.h:28,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFi.h:32,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:25:
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/ip4_addr.h:80:1: warning: “/*” within comment [-Wcomment]
    /** 127.0.0.1 */
    ^
    Archiving .pio\build\featheresp32\lib969\libESP Async WebServer.a
    Archiving .pio\build\featheresp32\lib0eb\libArduinoLog.a
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\ConnAckPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\PingRespPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\PubAckPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\PubCompPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\PubRecPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\PubRelPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\PublishPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\SubAckPacket.cpp.o
    Compiling .pio\build\featheresp32\libc20\AsyncMqttClient\AsyncMqttClient\Packets\UnsubAckPacket.cpp.o
    Compiling .pio\build\featheresp32\lib198\ESP32Servo\ESP32PWM.cpp.o
    Compiling .pio\build\featheresp32\lib198\ESP32Servo\ESP32Servo.cpp.o
    In file included from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\wifi_provisioning/wifi_provisioning/wifi_config.h:18:0,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\wifi_provisioning/wifi_provisioning/manager.h:20,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiGeneric.h:31,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.h:28,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFi.h:32,
    from C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:25:
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp: In member function ‘bool WiFiSTAClass::config(IPAddress, IPAddress, IPAddress, IPAddress, IPAddress)’:
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/inet.h:71:29: error: ‘IPADDR_NONE’ was not declared in this scope
    #define INADDR_NONE IPADDR_NONE
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:288:56: note: in expansion of macro ‘INADDR_NONE’
    if(local_ip != (uint32_t)0x00000000 && local_ip != INADDR_NONE){
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/inet.h:71:29: error: ‘IPADDR_NONE’ was not declared in this scope
    #define INADDR_NONE IPADDR_NONE
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:324:48: note: in expansion of macro ‘INADDR_NONE’
    if(dns1 != (uint32_t)0x00000000 && dns1 != INADDR_NONE) {
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\tools\sdk\include\lwip/lwip/inet.h:71:29: error: ‘IPADDR_NONE’ was not declared in this scope
    #define INADDR_NONE IPADDR_NONE
    ^
    C:\Users\b1dx9\.platformio\packages\framework-arduinoespressif32\libraries\WiFi\src\WiFiSTA.cpp:330:48: note: in expansion of macro ‘INADDR_NONE’
    if(dns2 != (uint32_t)0x00000000 && dns2 != INADDR_NONE) {
    ^
    *** [.pio\build\featheresp32\libcc9\WiFi\WiFiSTA.cpp.o] Error 1
    ===================================================== [FAILED] Took 4.44 seconds =====================================================
    The terminal process “C:\Users\b1dx9\.platformio\penv\Scripts\pio.exe ‘run'” terminated with exit code: 1.

    in reply to: Error when compiling #666
    hoopty
    Participant

    Danke, aber woher bekomme ich es?

    in reply to: Error when compiling #664
    hoopty
    Participant

    Compiling .pio\build\featheresp32\lib489\AsyncMqttClient\AsyncMqttClient\Packets\UnsubAckPacket.cpp.o
    In file included from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip/lwip/ip_addr.h:43:0,
    from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter/tcpip_adapter.h:24,
    from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32/esp_event_legacy.h:23,
    from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event/esp_event.h:26,
    from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32/esp_event_loop.h:22,
    from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:27,
    from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:28,
    from C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:32,
    from src/main.cpp:58:
    C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip/lwip/ip4_addr.h:79:37: error: expected ‘)’ before numeric constant
    #define IPADDR_NONE ((u32_t)0xffffffffUL)
    ^
    C:/Users/b1dx9/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip/lwip/inet.h:71:29: note: in expansion of macro
    ‘IPADDR_NONE’
    #define INADDR_NONE IPADDR_NONE
    ^
    lib/RdUtils/Utils.h:26:32: note: in expansion of macro ‘INADDR_NONE’
    static const unsigned long INADDR_NONE = ((unsigned long)0xffffffff);
    ^
    Compiling .pio\build\featheresp32\lib387\ESP32Servo\ESP32PWM.cpp.o
    Compiling .pio\build\featheresp32\lib387\ESP32Servo\ESP32Servo.cpp.o
    *** [.pio\build\featheresp32\src\main.cpp.o] Error 1
    ===================================================== [FAILED] Took 4.91 seconds =====================================================
    The terminal process “C:\Users\b1dx9\.platformio\penv\Scripts\platformio.exe ‘run'” terminated with exit code: 1.

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

Viewing 13 posts - 26 through 38 (of 38 total)