mcci-catena / arduino-boards

Arduino board-support packages for MCCI-Catena
6 stars 3 forks source link

Add a Board configuration "has lora" flag, and then menu items to select the desired band #10

Closed terrillmoore closed 6 years ago

terrillmoore commented 6 years ago

Just as we can select USB / serial modes in the STM32 BSP, we should have a way to select the default region for the radio (US, EU, AS923, JP923, AU, IN). This could then be used by our library as the default so that users wouldn't have to edit code to change regions. This should be done both for the SAMD and STM32 board packages. Symbol should be MCCI_BSP_LMIC_REGION (as LMIC is not a registered trademark), but it should take the numeric values defined by arduino-lmic.

terrillmoore commented 6 years ago

Fixed in STM v1.1.0 and SAMD v1.0.1; done slightly differently but result is same (handle it from UI).