Code Monkey home page Code Monkey logo

Comments (4)

sidey79 avatar sidey79 commented on July 19, 2024

I'am currently improving the VSCode setup:
#278

  1. you have to clone the repo. This shouldn't be a problem on windows or linux. If it is, then tell me more about the problem please.
    The symbolic links are only used for the arduino ide, so that all files are in the same folder.
  2. If you use vs code, then you can open the project and compile via platformio.
  3. Visual Studio need the visual micro addon, thich i use'd years ago.

from signalduino.

felixxxxxs avatar felixxxxxs commented on July 19, 2024

Ich antworte jetzt einfach mal auf Deutsch, danke für die schnelle Antwort!

Das Repo klonen ist kein Problem, nur die Symlinks funktionieren unter Windows nicht, daher fällt für mich die Arduino IDE weg.

Ich habe das Projekt in VS Code geöffnet. Ich habe die C/C++ Extensions installiert sowie die PlatformIO IDE.
Es kommen sofort eine Reihe an Fehlern, darunter, dass der Arduino.h include fehlt:
image

Meine .vscode/c_cpp_properties.json sieht folgendermaßen aus (ist die Standardkonfiguration):

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "compilerPath": "C:\\msys64\\mingw64\\bin\\gcc.exe",
            "cStandard": "c17",
            "cppStandard": "gnu++17"
        }
    ],
    "version": 4
}

Wie sieht deine Konfiguration aus? 😃

Außerdem kommt folgende Fehlermeldung, wenn ich versuche, über PlatformIO bspw. für esp8266_cc1101 zu builden:
image
Was mich wundert, da er sich ja offensichtlich über die Namen in der platformio.ini beschwert, was er dann ja auch bei anderen Leuten machen sollte.

from signalduino.

sidey79 avatar sidey79 commented on July 19, 2024

Wie sieht deine Konfiguration aus? 😃

Außerdem kommt folgende Fehlermeldung, wenn ich versuche, über PlatformIO bspw. für esp8266_cc1101 zu builden: image Was mich wundert, da er sich ja offensichtlich über die Namen in der platformio.ini beschwert, was er dann ja auch bei anderen Leuten machen sollte.

Ja, das Problem existiert seit 8.5.23 , weil mit der Version 6.1.7 eine Prüfung auf die Namen eingefügt wurde. https://docs.platformio.org/en/latest/core/history.html#id2

Ich nutze deshalb noch 6.1.6 da ich noch nicht zum Umbenennen kam.

from signalduino.

felixxxxxs avatar felixxxxxs commented on July 19, 2024

Ich habe folgende Schritte durchgeführt:

  • In der platformio.ini @ durch - ersetzt
  • ArduinoJson Library über PlatformIO installiert
  • WiFiManager manuell installiert, da die Version in PlatformIO veraltet ist

Jetzt funktionieren meine Includes, und ich konnte die Firmware erfolgreich kompilieren. Vielen Dank!

Gibt es einen Grund, warum die Libraries ArduinoJson und WiFiManager nicht mitgeliefert werden?

Wenn gewünscht, kann ich schnell einen PR mit den angepassten Environment Namen erstellen.

from signalduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.