Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: radio/SX1276Lib/sx1276/sx1276-hal.cpp
- Revision:
- 1:eda561b01daf
- Parent:
- 0:2325d1d28df3
--- a/radio/SX1276Lib/sx1276/sx1276-hal.cpp Fri Dec 15 13:15:04 2017 +0000 +++ b/radio/SX1276Lib/sx1276/sx1276-hal.cpp Mon Dec 18 16:31:11 2017 +0000 @@ -13,7 +13,7 @@ Maintainers: Miguel Luis, Gregory Cristian and Nicolas Huguenin */ #include "sx1276-hal.h" - +#include "Define.h" const RadioRegisters_t SX1276MB1xAS::RadioRegsInit[] = RADIO_INIT_REGISTERS_VALUE; @@ -49,16 +49,7 @@ this->settings.State = RF_IDLE ; } -#define LORA_SPI_MOSI PA_7 -#define LORA_SPI_MISO PA_6 -#define LORA_SPI_SCLK PB_3 -#define LORA_CS PA_15 -#define LORA_RESET PC_0 -#define LORA_DIO0 PB_4 -#define LORA_DIO1 PB_1 -#define LORA_DIO2 PB_0 -#define LORA_DIO3 PC_13 -#define LORA_DIO4 PA_5 + #define LORA_DIO5 PA_4 #define LORA_ANT_RX PA_1 #define LORA_ANT_TX PC_2