diff options
Diffstat (limited to 'cc3200/bootmgr/main.c')
-rw-r--r-- | cc3200/bootmgr/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cc3200/bootmgr/main.c b/cc3200/bootmgr/main.c index ece1bf276b..6c8be9a0c7 100644 --- a/cc3200/bootmgr/main.c +++ b/cc3200/bootmgr/main.c @@ -53,6 +53,7 @@ #include "cc3200_hal.h" #include "debug.h" #include "mperror.h" +#include "antenna.h" //***************************************************************************** @@ -151,6 +152,13 @@ static void bootmgr_board_init(void) { mperror_bootloader_check_reset_cause(); +#if MICROPY_HW_ANTENNA_DIVERSITY + // configure the antenna selection pins + antenna_init0(); + // select the internal antenna + antenna_select(ANTENNA_TYPE_INTERNAL); +#endif + // Enable the Data Hashing Engine CRYPTOHASH_Init(); |