Ankündigung

Einklappen
Keine Ankündigung bisher.

Alternative Firmware für das Raum-Sensormodul von Masifi

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • mumpf
    antwortet
    Hi fluppie and Techi,

    thank you for the analysis! You solved it. Sorry for the missing definition BOARD_MASIFI_V31 in Hardware.h (I obviously mixed up some branches druing merge). The correct definition is:
    Code:
    #ifdef BOARD_MASIFI_V31
    #define PROG_LED_PIN 13
    #define PROG_LED_PIN_ACTIVE_ON HIGH
    #define PROG_BUTTON_PIN 12
    #define PROG_BUTTON_PIN_INTERRUPT_ON FALLING
    #define SAVE_INTERRUPT_PIN A2 // 8
    #define LED_YELLOW_PIN 38
    // Buzzer
    #define BUZZER_PIN 9
    #define I2C_1WIRE_DEVICE_ADDRESSS 0x18  // Address of DS2484 1-Wire-Busmaster chip
    #define I2C_EEPROM_DEVICE_ADDRESSS 0x50 // Address of 24LC256 eeprom chip
    #define I2C_RGBLED_DEVICE_ADDRESS 0x60  // Address of PCA9632 RBGW-LED-Driver
    #endif
    If you have an 3.1 board from Masifi you need to add this part to Hardware.h, especially PROG_BUTTON_PIN has changed from 11 to 12.

    For the interrupt issue I will have a look, why this isn't happening in my environment and add an #ifdef, but this part is in the original stack and as far as I remember, I haven't changed there anything.

    As soon as I know what's going on I will push an update on github.

    Thank you for your help,
    Waldemar

    Einen Kommentar schreiben:


  • jeff25
    antwortet
    Hi Waldemar,

    ich habe die #include "../../knx-common/src/Hardware.h" mal angepasst, hat wie oben auch schon gemeldet nichts gebracht, habe mich dann erst mal an die KNX Demo gemacht um Grundlegend zu sehen das meien Hardware funktioniert. Würde es nochmal versuchen wenn es hier ein neues update gibt.

    Gruß
    RObert

    Einen Kommentar schreiben:


  • fluppie
    antwortet
    Same here, if I uncomment line 213 "//attachInterrupt(_buttonPin, buttonUp, _buttonPinInterruptOn);"
    It does compile succesfully

    Einen Kommentar schreiben:


  • Techi
    antwortet
    Bezüglich der verbleibenden Fehler hier noch weiter Infos:

    Die Funktion "attachInterrupt()" gibt es anscheinend nur in der "linux_platform.h" (bei mir ausgewähl weil ich halt für den SAMD21 kompilieren möchte) ist aber ein SAMD21 und somit die "samd_platform.h" welche eben keine "attachInterrupt()" Funktion enthält.


    Wenn ich in der "knx_facade.h" in der Funktion "start()" das "attachInterrupt(_buttonPin, buttonUp, _buttonPinInterruptOn);" auskommentiere, dann kann ich erfolgreich kompilieren.

    Eventuell fehlt da ein #ifdef für den Fall, daß es keine Linux Platform ist ???
    Zuletzt geändert von Techi; 18.01.2021, 12:52.

    Einen Kommentar schreiben:


  • Techi
    antwortet
    Also erstes Ergebniss: ( das mit dem Pfad hatte ich auch probiert, leider ohne Besserung )

    In der Platformio.ini gibt es den die define vorgabe für das DBoard,
    als Default steht da "DBOARD_MASIFI_V31".

    in der Hardware.h wird dieser Wert aber gar nicht abgefragt, dort gibt es "nur"

    BOARD_MASIFI_V1
    BOARD_MASIFI_V2
    BOARD_MASIFI_V3


    Bei der Default Vorgabe (also BOARD_MASIFI_V31) werden somit halt einige defines in Hardware.h nicht gemacht.

    Ich hab die Vorgabe in der Platformio.ini nun mal in BOARD_MASIFI_V3 geändert, jetzt kommt man schon weiter, trotzdem gibt es noch zwei Fehler


    C:\Users\user\Documents\PlatformIO\Projects\knx\sr c/knx_facade.h: In member function 'void KnxFacade<P, B>::start()':
    C:\Users\user\Documents\PlatformIO\Projects\knx\sr c/knx_facade.h:213:68: error: no matching function for call to 'attachInterrupt(uint32_t&, void (&)(), uint32_t&)'
    attachInterrupt(_buttonPin, buttonUp, _buttonPinInterruptOn);
    ^

    und

    In file included from C:\Users\user\Documents\PlatformIO\Projects\knx\sr c/knx.h:86:0,
    from src\main.cpp:1:
    C:\Users\user\Documents\PlatformIO\Projects\knx\sr c/knx_facade.h: In member function 'void KnxFacade<P, B>::start()':
    C:\Users\user\Documents\PlatformIO\Projects\knx\sr c/knx_facade.h:213:68: error: no matching function for call to 'attachInterrupt(uint32_t&, void (&)(), uint32_t&)'
    attachInterrupt(_buttonPin, buttonUp, _buttonPinInterruptOn);
    ^

    Zuletzt geändert von Techi; 18.01.2021, 12:37.

    Einen Kommentar schreiben:


  • fluppie
    antwortet
    Hi, I tried it again following all steps as described. Here's my error log: https://pastebin.com/8HU0M9AQ
    I also tried the change of Hardware.h to the real path "C:\Users\fluppie\Documents\PlatformIO\Project s\kn x-common\src" didn't help/solve.

    Maybe you can tell us which version of Atmel SAM is installed in PlatformIO? In my case this is 5.1.1 (PIO Home=>Platforms=>Installed).

    In other projects you see the platformio file installs specific version of these boards/platform files to make sure it compiles with almost everyone. Example from the Tasmota project.
    Code:
    [core]
    ; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4. Added Backport for PWM selection
    platform = espressif8266 @ 2.6.2
    platform_packages = tasmota/framework-arduinoespressif8266 @ ~2.7.4
    platformio/toolchain-xtensa @ 2.40802.200502
    platformio/tool-esptool @ 1.413.0
    platformio/tool-esptoolpy @ ~1.30000.0
    Also if you post your log of a succesful build, we can see the individual versions of each component to see why we can't build it .
    Zuletzt geändert von fluppie; 18.01.2021, 12:34.

    Einen Kommentar schreiben:


  • mumpf
    antwortet
    Hi,

    ich habe damals das setup-Dokument erstellt, indem ich auf einer frischen Win10 VM das Ganze installiert habe und die Schritte beschrieben habe. Natürlich kann sich inzwischen was an Win10, VSCode, PlatformIO etc. was geändert haben. Ich werde es nochmal auf einer frischen VM versuchen, vielleicht kann ich den Fehler so selber reproduzieren. Das dauert aber ein Weilchen, bis ich das alles aufgesetzt habe.

    Techi Hast Du das auch mal mit der alternativen #include-Notation aus meiner letzten Antwort versucht?

    Gruß, Waldemar

    Einen Kommentar schreiben:


  • Techi
    antwortet
    Nur zur Info,
    ich habe nun auf zwei komplette unabhängigen Win10 Rechnern mit frisch installiertem VisualStudioCode versucht genau nach Anleitungen ( https://github.com/mumpf/knx-sensor/...x-dev-setup.md ) vorzugehen. Bekomme leider im wesentlichen die selben Fehler wie jeff25 .

    Gruß,
    Walter
    Zuletzt geändert von Techi; 18.01.2021, 10:04.

    Einen Kommentar schreiben:


  • mumpf
    antwortet
    Hi Robert,

    ich habe das Problem noch nie gehabt, deswegen kann ich dazu auch schwer was sagen. Liegt das Projekt im Dateisystem auf dem Rechner? Also kein samba-share, kein NAS, kein OneDrive oder ähnliches? Bist Du sicher, dass wirklich alle Projekte (knx-sensor, knx-logic, knx-common, knx) auf Deiner Platte im gleichen Verzeichnis sind?

    Meine platformio-Installation hab ich genau da gelassen, wo sie standardmäßig hinkommt:   C:/Users/<user>/Documents/PlatformIO/Projects , vielleicht kommt der include-Sucher ja nicht mit anderen Pfaden klar.

    Da ja die Includes nicht gefunden werden, könntest Du noch versuchen, den Pfad mit anzugeben, z.B. in
    Code:
    knx-sensor/src/main.cpp:
    ...
    #include "Hardware.h"
    ersetzen durch
    Code:
    #include "../../knx-common/src/Hardware.h"
    Wenn dann die Meldungen mit "PROG_BUTTON_..." bzw. "PROG_LED_..." verschwinden (andere werden erstmal kommen), dann könnte man in meinen Projekten überall diese #include-Adressierung verwenden. Ich würde das dann durchaus noch ändern, auch wenn ich nicht weiß, warum das passiert. Wenn Du das also soweit ausprobieren könntest, können wir dann weiter schauen.

    Mehr Ideen hab ich nicht...

    Gruß, Waldemar

    Einen Kommentar schreiben:


  • jeff25
    antwortet
    Hallo Waldemar,

    ich bekomme genau den selben Fehler wie fluppie . Habe Visual Studio schon delinstalliert alles gelöscht und neu installiert, habe es auch auf einem ganz frisch installierten PC versucht selber Fehler. Hast du noch eine Idee?

    src\main.cpp:29:24: note: suggested alternative: 'REG_DMAC_ACTIVE'
    knx.ledPinActiveOn(PROG_LED_PIN_ACTIVE_ON);
    ^~~~~~~~~~~~~~~~~~~~~~
    REG_DMAC_ACTIVE
    src\main.cpp:31:19: error: 'PROG_BUTTON_PIN' was not declared in this scope
    knx.buttonPin(PROG_BUTTON_PIN);
    ^~~~~~~~~~~~~~~
    src\main.cpp:31:19: note: suggested alternative: 'PIO_NOT_A_PIN'
    knx.buttonPin(PROG_BUTTON_PIN);
    ^~~~~~~~~~~~~~~
    PIO_NOT_A_PIN
    src\main.cpp:33:30: error: 'PROG_BUTTON_PIN_INTERRUPT_ON' was not declared in this scope
    knx.buttonPinInterruptOn(PROG_BUTTON_PIN_INTERRUPT _ON);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Gruß
    RObert

    Einen Kommentar schreiben:


  • mumpf
    antwortet
    Hi,

    Zitat von mpl1337 Beitrag anzeigen
    Woran könnte das liegen?
    wahrscheinlich an mir . Ich muss mal schauen, wahrscheinlich hab ich da noch einen Bug drin. Danke auf jeden Fall für die Rückmeldung. Ich hab das zwar damals eingebaut, aber ich kann nicht behaupten, dass ich jetzt der wichtigste Wert für mich war... Ich schau mal am Wochenende uns sag Dir Bescheid,

    Freut mich sehr, dass das auch bei Dir stabil läuft, bei mir inzwischen an meinem Langzeittest-Sensormodul seit über einem Jahr!

    Gruß, Waldemar

    Einen Kommentar schreiben:


  • mpl1337
    antwortet
    Hey Mumpf,

    Klasse Arbeit deine Firmware.

    Habe diese jetzt mehrere Monate mit Masifis Hardware in betrieb und läuft.

    Jedoch habe ich das Problem dass mit dem BME680 die Luftqualität durchgehend bei 0 steht.

    Feuchtigkeit, Temperatur, Luftdruck, VOC, CO2 werte kommen an. Behaglichkeit und Taupunkt werden berechnet.
    Adresse Name Zentralfunktion Datentyp Länge Anzahl der Verknüpfungen Letzter Wert
    6/6/1 In Betrieb Nein Boolesch 1 bit $01 | Wahr
    6/6/4 Sensorwerte anfordern Nein Bestätigung 1 bit
    6/6/5 Sensorfehler Nein Pulse 2 bytes 00 00 | 0 pulses
    6/6/6 Diagnose Nein Zeichen (ISO 8859-1) 14 bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    6/6/7 Temperatur Nein Temperatur (°C) 2 bytes 07 67 | 18,95 °C
    6/6/8 Luftfeuchte Nein Feuchtigkeit (%) 2 bytes 14 10 | 41,6 %
    6/6/9 Luftdruck Nein Druck (Pa) 2 bytes 36 1D | 1001,6 Pa
    6/6/10 VOC Nein 2-Byte Gleitkommawert 2 bytes 1F 26 | 146,4
    6/6/11 CO2-VOC Nein Teile/Million (ppm) 2 bytes 36 12 | 994,56 ppm
    6/6/12 Taupunkt Nein Temperatur (°C) 2 bytes 02 30 | 5,6 °C
    6/6/13 Behaglichkeit Nein Dezimalfaktor (0..255) 1 byte $02 | 2
    6/6/14 Luftqualität Nein Dezimalfaktor (0..255) 1 byte $00 | 0
    6/6/15 Kalibrierungsfortschritt Nein Prozent (0..100%) 1 byte $FF | 100 %


    Woran könnte das liegen?

    Einen Kommentar schreiben:


  • mumpf
    antwortet
    Hi fluppie,

    I have no idea, if this works with Eugenius board - and the other question is, what "work" means: I would expect, that the KNX-Stack works, also the logicmodule part. But the sensor part, accessing external sensors, might work or not, depends on the hardware itself. To be honest, I have no idea, if this would work...

    The errors above: It seems, that the include path is not correct. I can't tell you, why this happens. Last time I heard of this problem, it helped to uninstall and reinstall VSCode.

    Regards,
    Waldemar

    Einen Kommentar schreiben:


  • fluppie
    antwortet
    Cool! Could this firmware also work on Eugenius' Multi Interface? https://knx-user-forum.de/forum/proj...%B2c-spi-1wire
    I tried to build it, but got some errors:
    Code:
    > Executing task in folder knx-sensor: C:\Users\Philippe\.platformio\penv\Scripts\platfor mio.exe run <
    
    Processing build (platform: atmelsam; board: zeroUSB; framework: arduino)
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    Verbose mode can be enabled via `-v, --verbose` option
    CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/zeroUSB.html
    PLATFORM: Atmel SAM 4.5.1 > Arduino Zero (USB Native Port)
    HARDWARE: SAMD21G18A 48MHz, 32KB RAM, 256KB Flash
    DEBUG: Current (jlink) External (atmel-ice, blackmagic, jlink)
    PACKAGES:
    - framework-arduino-samd 1.8.6
    - framework-cmsis 1.40500.0 (4.5.0)
    - framework-cmsis-atmel 1.2.0
    - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
    LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ deep+, Compatibility ~ soft
    Found 72 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- <SPI> 1.0
    |-- <Wire> 1.0
    |-- <knx-common> 0.1.0
    | |-- <Wire> 1.0
    | |-- <Adafruit BME280 Library> 2.0.2
    | | |-- <Adafruit Unified Sensor> 1.1.4
    | | |-- <SPI> 1.0
    | | |-- <Wire> 1.0
    | |-- <Adafruit Unified Sensor> 1.1.4
    | |-- <SPI> 1.0
    | |-- <ClosedCube HDC1080> 1.3.2
    | | |-- <Wire> 1.0
    | |-- <SparkFun SCD30 Arduino Library> 1.0.8
    | | |-- <Wire> 1.0
    |-- <Adafruit BME280 Library> 2.0.2
    | |-- <Adafruit Unified Sensor> 1.1.4
    | |-- <SPI> 1.0
    | |-- <Wire> 1.0
    |-- <Adafruit Unified Sensor> 1.1.4
    |-- <SparkFun SCD30 Arduino Library> 1.0.8
    | |-- <Wire> 1.0
    |-- <knx-sensor> 0.6.0
    | |-- <knx-common> 0.1.0
    | | |-- <Wire> 1.0
    | | |-- <Adafruit BME280 Library> 2.0.2
    | | | |-- <Adafruit Unified Sensor> 1.1.4
    | | | |-- <SPI> 1.0
    | | | |-- <Wire> 1.0
    | | |-- <Adafruit Unified Sensor> 1.1.4
    | | |-- <SPI> 1.0
    | | |-- <ClosedCube HDC1080> 1.3.2
    | | | |-- <Wire> 1.0
    | | |-- <SparkFun SCD30 Arduino Library> 1.0.8
    | | | |-- <Wire> 1.0
    | |-- <Adafruit BME280 Library> 2.0.2
    | | |-- <Adafruit Unified Sensor> 1.1.4
    | | |-- <SPI> 1.0
    | | |-- <Wire> 1.0
    | |-- <Adafruit Unified Sensor> 1.1.4
    | |-- <SPI> 1.0
    | |-- <Wire> 1.0
    | |-- <SparkFun SCD30 Arduino Library> 1.0.8
    | | |-- <Wire> 1.0
    | |-- <knx> 1.1.0
    | |-- <knx-logic> 1.0.0
    | | |-- <knx> 1.1.0
    | | |-- <Wire> 1.0
    | | |-- <knx-common> 0.1.0
    | | | |-- <Wire> 1.0
    | | | |-- <Adafruit BME280 Library> 2.0.2
    | | | | |-- <Adafruit Unified Sensor> 1.1.4
    | | | | |-- <SPI> 1.0
    | | | | |-- <Wire> 1.0
    | | | |-- <Adafruit Unified Sensor> 1.1.4
    | | | |-- <SPI> 1.0
    | | | |-- <ClosedCube HDC1080> 1.3.2
    | | | | |-- <Wire> 1.0
    | | | |-- <SparkFun SCD30 Arduino Library> 1.0.8
    | | | | |-- <Wire> 1.0
    |-- <knx> 1.1.0
    |-- <knx-logic> 1.0.0
    | |-- <knx> 1.1.0
    | |-- <Wire> 1.0
    | |-- <knx-common> 0.1.0
    | | |-- <Wire> 1.0
    | | |-- <Adafruit BME280 Library> 2.0.2
    | | | |-- <Adafruit Unified Sensor> 1.1.4
    | | | |-- <SPI> 1.0
    | | | |-- <Wire> 1.0
    | | |-- <Adafruit Unified Sensor> 1.1.4
    | | |-- <SPI> 1.0
    | | |-- <ClosedCube HDC1080> 1.3.2
    | | | |-- <Wire> 1.0
    | | |-- <SparkFun SCD30 Arduino Library> 1.0.8
    | | | |-- <Wire> 1.0
    Building in release mode
    Compiling .pio\build\build\src\main.cpp.o
    Archiving .pio\build\build\libfdd\libSPI.a
    Archiving .pio\build\build\libcc3\libWire.a
    src\main.cpp: In function 'void setup()':
    src\main.cpp:11:13: error: 'PROG_LED_PIN' was not declared in this scope
    pinMode(PROG_LED_PIN, OUTPUT);
    ^~~~~~~~~~~~
    src\main.cpp:11:13: note: suggested alternative: 'PIN_LED_TXL'
    pinMode(PROG_LED_PIN, OUTPUT);
    ^~~~~~~~~~~~
    PIN_LED_TXL
    src\main.cpp:29:24: error: 'PROG_LED_PIN_ACTIVE_ON' was not declared in this scope
    knx.ledPinActiveOn(PROG_LED_PIN_ACTIVE_ON);
    ^~~~~~~~~~~~~~~~~~~~~~
    src\main.cpp:29:24: note: suggested alternative: 'REG_DMAC_ACTIVE'
    knx.ledPinActiveOn(PROG_LED_PIN_ACTIVE_ON);
    ^~~~~~~~~~~~~~~~~~~~~~
    REG_DMAC_ACTIVE
    src\main.cpp:31:19: error: 'PROG_BUTTON_PIN' was not declared in this scope
    knx.buttonPin(PROG_BUTTON_PIN);
    ^~~~~~~~~~~~~~~
    src\main.cpp:31:19: note: suggested alternative: 'PIO_NOT_A_PIN'
    knx.buttonPin(PROG_BUTTON_PIN);
    ^~~~~~~~~~~~~~~
    PIO_NOT_A_PIN
    src\main.cpp:33:30: error: 'PROG_BUTTON_PIN_INTERRUPT_ON' was not declared in this scope
    knx.buttonPinInterruptOn(PROG_BUTTON_PIN_INTERRUPT _ON);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src\main.cpp:33:30: note: suggested alternative: 'NOT_AN_INTERRUPT'
    knx.buttonPinInterruptOn(PROG_BUTTON_PIN_INTERRUPT _ON);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    NOT_AN_INTERRUPT
    src\main.cpp:37:18: error: 'SAVE_INTERRUPT_PIN' was not declared in this scope
    appSetup(SAVE_INTERRUPT_PIN);
    ^~~~~~~~~~~~~~~~~~
    src\main.cpp:37:18: note: suggested alternative: 'AC_INTENSET_WIN'
    Archiving .pio\build\build\lib9bf\libAdafruit_Unified_Sensor .a
    appSetup(SAVE_INTERRUPT_PIN);
    ^~~~~~~~~~~~~~~~~~
    AC_INTENSET_WIN
    Archiving .pio\build\build\lib739\libAdafruit_BME280_Library .a
    Archiving .pio\build\build\lib12c\libClosedCube HDC1080.a
    Archiving .pio\build\build\lib6ce\libSparkFun SCD30 Arduino Library.a
    Compiling .pio\build\build\lib820\knx-common\EepromManager.cpp.o
    *** [.pio\build\build\src\main.cpp.o] Error 1
    In file included from C:\Users\Philippe\.platformio\packages\framework-cmsis-atmel\CMSIS\Device\ATMEL/samd21/include/samd21.h:69:0,
    from C:\Users\Philippe\.platformio\packages\framework-cmsis-atmel\CMSIS\Device\ATMEL/samd.h:105,
    from C:\Users\Philippe\.platformio\packages\framework-cmsis-atmel\CMSIS\Device\ATMEL/sam.h:540,
    from C:\Users\Philippe\.platformio\packages\framework-arduino-samd\cores\arduino/WVariant.h:22,
    from C:\Users\Philippe\.platformio\packages\framework-arduino-samd\variants\arduino_zero/variant.h:39,
    from C:\Users\Philippe\.platformio\packages\framework-arduino-samd\libraries\Wire/Wire.h:24,
    from C:\Users\Philippe\Documents\PlatformIO\Projects\kn x-common\src\EepromManager.cpp:1:
    C:\Users\Philippe\.platformio\packages\framework-cmsis-atmel\CMSIS\Device\ATMEL/samd21/include/samd21g18a.h:226:0: warning: "LITTLE_ENDIAN" redefined
    #define LITTLE_ENDIAN 1
    
    In file included from c:\users\philippe\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\sys\types.h:67:0,
    from c:\users\philippe\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\stdio.h:61,
    from C:\Users\Philippe\.platformio\packages\framework-arduino-samd\cores\arduino/Print.h:23,
    from C:\Users\Philippe\.platformio\packages\framework-arduino-samd\cores\arduino/Stream.h:26,
    from C:\Users\Philippe\.platformio\packages\framework-arduino-samd\libraries\Wire/Wire.h:23,
    from C:\Users\Philippe\Documents\PlatformIO\Projects\kn x-common\src\EepromManager.cpp:1:
    c:\users\philippe\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\machine\endian.h:17:0: note: this is the location of the previous definition
    #define LITTLE_ENDIAN _LITTLE_ENDIAN
    
    C:\Users\Philippe\Documents\PlatformIO\Projects\kn x-common\src\EepromManager.cpp: In member function 'void EepromManager::beginPage(uint16_t)':
    C:\Users\Philippe\Documents\PlatformIO\Projects\kn x-common\src\EepromManager.cpp:22:32: error: 'I2C_EEPROM_DEVICE_ADDRESSS' was not declared in this scope
    Wire.beginTransmission(I2C_EEPROM_DEVICE_ADDRESSS) ;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\Users\Philippe\Documents\PlatformIO\Projects\kn x-common\src\EepromManager.cpp: In member function 'void EepromManager::prepareRead(uint16_t, uint8_t)':
    C:\Users\Philippe\Documents\PlatformIO\Projects\kn x-common\src\EepromManager.cpp:47:28: error: 'I2C_EEPROM_DEVICE_ADDRESSS' was not declared in this scope
    Wire.beginTransmission(I2C_EEPROM_DEVICE_ADDRESSS) ;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    *** [.pio\build\build\lib820\knx-common\EepromManager.cpp.o] Error 1
    ================================================== ================================= [FAILED] Took 5.16 seconds ================================================== =================================
    
    Environment Status Duration
    ------------- -------- ------------
    build FAILED 00:00:05.156
    debug IGNORED
    uploadUSB IGNORED
    uploadJLINK IGNORED
    uploadATMEL IGNORED
    ================================================== ============================ 1 failed, 0 succeeded in 00:00:05.156 ================================================== ============================
    The terminal process "C:\Users\Philippe\.platformio\penv\Scripts\platfo rmio.exe 'run'" terminated with exit code: 1.
    
    Terminal will be reused by tasks, press any key to close it.

    Einen Kommentar schreiben:


  • mumpf
    antwortet
    Hi Björn, freut mich, dass es funktioniert hat. Ich wünsche natürlich keinem Probleme!

    Gruß, Waldemar

    Einen Kommentar schreiben:

Lädt...
X