/
mpconfigboard.h
39 lines (29 loc) · 1.32 KB
/
mpconfigboard.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Copyright (c) 2016, Pycom Limited.
*
* This software is licensed under the GNU GPL version 3 or any
* later version, with permitted additional terms. For more information
* see the Pycom Licence v1.0 document supplied with this file, or
* available at https://www.pycom.io/opensource/licensing
*/
#define LOPY
#define MICROPY_HW_BOARD_NAME "LoPy"
#define MICROPY_PY_SYS_PLATFORM "LoPy"
#define MICROPY_HW_HB_PIN_NUM (0)
#define MICROPY_HW_SAFE_PIN_NUM (21)
#define DEFAULT_AP_SSID "lopy-wlan"
#define MICROPY_HW_FLASH_SIZE (4 * 1024 * 1024)
#define MICROPY_LPWAN_DIO_PIN
extern uint32_t micropy_hw_flash_size;
extern bool micropy_hw_antenna_diversity;
extern uint32_t micropy_hw_antenna_diversity_pin_num;
extern bool micropy_lpwan_use_reset_pin;
extern uint32_t micropy_lpwan_reset_pin_num;
extern uint32_t micropy_lpwan_reset_pin_index;
extern void * micropy_lpwan_reset_pin;
extern uint32_t micropy_lpwan_dio_pin_num;
extern uint32_t micropy_lpwan_dio_pin_index;
extern void * micropy_lpwan_dio_pin;
extern uint32_t micropy_lpwan_ncs_pin_num;
extern uint32_t micropy_lpwan_ncs_pin_index;
extern void * micropy_lpwan_ncs_pin;