embedded_raumsenor_lorawan/README_DEV.MD
2025-11-05 16:37:08 +01:00

52 lines
1.7 KiB
Markdown

Hier sind alle Framework-Änderungen die ich gemacht habe:
Framework-Änderungen für funktionierenden Build
1. LoRaMAC-Node: sx126x.c Datei gelöscht
# Datei entfernt:
/home/jochen/.platformio/packages/framework-zephyr/_pio/modules/lib/loramac-node/src/radio/sx126x/sx126x.c
2. LoRaMAC-Node: radio_sx126x.c Datei hinzugefügt
# Datei kopiert von Windows-Installation:
/home/jochen/.platformio/packages/framework-zephyr/_pio/modules/lib/loramac-node/src/radio/sx126x/radio_sx126x.c
3. LoRaMAC-Node CMakeLists.txt modifiziert
Datei: /home/jochen/.platformio/packages/framework-zephyr/modules/loramac-node/CMakeLists.txt
Geändert:
# Von:
zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_SX126X
${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx126x/sx126x.c
${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx126x/radio.c
)
# Zu:
zephyr_library_sources_ifdef(CONFIG_HAS_SEMTECH_SX126X
${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx126x/radio.c
${ZEPHYR_LORAMAC_NODE_MODULE_DIR}/src/radio/sx126x/radio_sx126x.c
)
4. Device Tree Fix (bereits im Projekt)
Datei: zephyr/boards/st/g2h_lorawan_heat_control/g2h_lorawan_heat_control.dts
Hinzugefügt:
lora: radio@0 {
compatible = "st,stm32wl-subghz-radio";
reg = <0>;
interrupts = <50 0>;
spi-max-frequency = <8000000>;
status = "okay";
// ... rest bleibt gleich
}
Zusammenfassung
- 3 Framework-Dateien modifiziert/gelöscht/hinzugefügt
- 1 Device Tree im Projekt gefixt
- Grund: Zephyr native STM32WL LoRa-Driver + LoRaMAC-Node Integration funktionsfähig machen
Das sind alle Änderungen die nötig waren um den Build zum Laufen zu bringen.