cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.72k stars 401 forks source link

"The selected CFG_... region is not supported yet." #630

Closed jsa91 closed 3 years ago

jsa91 commented 3 years ago

Hi

Trying to run Paxcounter V1.9.98 with the following hardware:

When i try to build the code with CFG_eu433 1 the following output is generated:

Building in release mode
Compiling .pio\build\usb\src\antenna.cpp.o
Compiling .pio\build\usb\src\blecsan.cpp.o
Compiling .pio\build\usb\src\bmesensor.cpp.o
Compiling .pio\build\usb\src\button.cpp.o
Compiling .pio\build\usb\src\configmanager.cpp.o
Compiling .pio\build\usb\src\cyclic.cpp.o
In file included from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic/oslmic.h:37:0,
                 from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic/lmic.h:36,
                 from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/arduino_lmic.h:26,
                 from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic.h:28,
                 from include/cyclic.h:10,
                 from include/senddata.h:5,
                 from include/rcommand.h:4,
                 from include/lorawan.h:5,
                 from include/globals.h:148,
                 from include/blescan.h:4,
                 from src\blecsan.cpp:5:
.pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic/config.h:27:3: error: #error The selected CFG_... region is not supported yet.
 # error The selected CFG_... region is not supported yet.
In file included from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic/lmic.h:37:0,
                 from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/arduino_lmic.h:26,
                 from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic.h:28,
                 from include/cyclic.h:10,
                 from include/senddata.h:5,
                 from include/rcommand.h:4,
                 from include/lorawan.h:5,
                 from include/globals.h:148,
                 from include/blescan.h:4,
                 from src\blecsan.cpp:5:
.pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic/lorabase.h:423:3: error: #error Unsupported configuration setting
 # error Unsupported configuration setting
   ^
In file included from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/arduino_lmic.h:27:0,
                 from .pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic.h:28,
                 from include/cyclic.h:10,
                 from include/senddata.h:5,
Compiling .pio\build\usb\src\dcf77.cpp.o
                 from include/rcommand.h:4,
                 from include/lorawan.h:5,
                 from include/globals.h:148,
                 from include/blescan.h:4,
                 from src\blecsan.cpp:5:
.pio/libdeps/usb/MCCI LoRaWAN LMIC library/src/lmic/lmic_bandplan.h:49:3: error: #error "CFG_... not properly set for bandplan"
 # error "CFG_... not properly set for bandplan"
...

What am I missing here?

cyberman54 commented 3 years ago

There is no bandplan for LoRaWAN on 433 Mhz in Europe, so you can't use it.