Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 4ab89f6

Browse files
committed
Added missing boards folder
1 parent efbdfb2 commit 4ab89f6

File tree

8 files changed

+140
-0
lines changed

8 files changed

+140
-0
lines changed

esp32/boards/TBEAMv1/mpconfigboard.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Copyright (c) 2019, Pycom Limited.
3+
*
4+
* This software is licensed under the GNU GPL version 3 or any
5+
* later version, with permitted additional terms. For more information
6+
* see the Pycom Licence v1.0 document supplied with this file, or
7+
* available at https://www.pycom.io/opensource/licensing
8+
*/
9+
10+
#define TBEAMv1
11+
12+
#define MICROPY_HW_BOARD_NAME "TBEAMv1"
13+
#define MICROPY_PY_SYS_PLATFORM "TBEAMv1"
14+
#define MICROPY_HW_HB_PIN_NUM (0)
15+
#define MICROPY_HW_SAFE_PIN_NUM (21)
16+
17+
#define DEFAULT_AP_SSID "TBEAMv1-wlan"
18+
19+
#define MICROPY_LPWAN_DIO_PIN
20+
21+
extern uint32_t micropy_hw_flash_size;
22+
23+
extern uint32_t micropy_hw_antenna_diversity_pin_num;
24+
25+
extern bool micropy_lpwan_use_reset_pin;
26+
extern uint32_t micropy_lpwan_reset_pin_num;
27+
extern uint32_t micropy_lpwan_reset_pin_index;
28+
extern void * micropy_lpwan_reset_pin;
29+
30+
extern uint32_t micropy_lpwan_dio_pin_num;
31+
extern uint32_t micropy_lpwan_dio_pin_index;
32+
extern void * micropy_lpwan_dio_pin;
33+
34+
extern uint32_t micropy_lpwan_ncs_pin_num;
35+
extern uint32_t micropy_lpwan_ncs_pin_index;
36+
extern void * micropy_lpwan_ncs_pin;

esp32/boards/TBEAMv1/pins.csv

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
G3,GPIO3,P0
2+
G1,GPIO1,P1
3+
G0,GPIO0,P2
4+
G4,GPIO4,P3
5+
G15,GPIO15,P4
6+
G5,GPIO5,P5
7+
G27,GPIO27,P6
8+
G19,GPIO19,P7
9+
G2,GPIO2,P8
10+
G12,GPIO12,P9
11+
G13,GPIO13,P10
12+
G22,GPIO22,P11
13+
G21,GPIO21,P12
14+
G36,GPI36,P13
15+
G37,GPI37,P14
16+
G38,GPI38,P15
17+
G39,GPI39,P16
18+
G35,GPI35,P17
19+
G34,GPI34,P18
20+
G32,GPIO32,P19
21+
G33,GPIO33,P20
22+
G26,GPIO26,P21
23+
G25,GPIO25,P22
24+
G14,GPIO14,P23
25+
G18,GPIO18,P97
26+
G23,GPIO23,P98

esp32/boards/TBEAMv1/script

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[
2+
["e", "0x1000", "0x40000"],
3+
["e", "0x41000", "0x40000"],
4+
["e", "0x81000", "0x40000"],
5+
["e", "0xC1000", "0x40000"],
6+
["e", "0x101000", "0x40000"],
7+
["e", "0x141000", "0x40000"],
8+
["e", "0x181000", "0x40000"],
9+
["e", "0x1C1000", "0x40000"],
10+
["w", "0x1000", "bootloader.bin"],
11+
["w", "0x8000", "partitions_4MB.bin"],
12+
["w", "0x10000", "tbeamv1.bin"]
13+
]

esp32/boards/TBEAMv1/script2

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version" : "2.1",
3+
"partitions" : {
4+
"factory" : ["0x10000", "0x1EF000"],
5+
"ota_0" : ["0x210000", "0x1EF000"],
6+
"otadata" : ["0x1FF000", "0x1000"]
7+
},
8+
"script" : [
9+
["w", "bootloader", "bootloader.bin"],
10+
["w", "partitions", "partitions_8MB.bin"],
11+
["w", "factory", "fipy.bin"]
12+
]
13+
}

esp32/boards/TBEAMv1/script_4MB

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version" : "2.1",
3+
"partitions" : {
4+
"factory" : ["0x10000", "0x1AE000"],
5+
"ota_0" : ["0x1C0000", "0x1AE000"],
6+
"otadata" : ["0x1BE000", "0x1000"]
7+
},
8+
"script" : [
9+
["w", "bootloader", "bootloader.bin"],
10+
["w", "partitions", "partitions_4MB.bin"],
11+
["w", "factory", "tbeamv1.bin"]
12+
]
13+
}

esp32/boards/TBEAMv1/script_4MB_enc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version" : "2.1",
3+
"partitions" : {
4+
"factory" : ["0x10000", "0x1AE000"],
5+
"ota_0" : ["0x1C0000", "0x1AE000"],
6+
"otadata" : ["0x1BE000", "0x1000"]
7+
},
8+
"script" : [
9+
["w", "secureboot", "bootloader-reflash-digest.bin_enc"],
10+
["w", "partitions", "partitions_4MB.bin_enc"],
11+
["w", "factory", "tbeamv1.bin_enc"]
12+
]
13+
}

esp32/boards/TBEAMv1/script_8MB

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version" : "2.1",
3+
"partitions" : {
4+
"factory" : ["0x10000", "0x1EF000"],
5+
"ota_0" : ["0x210000", "0x1EF000"],
6+
"otadata" : ["0x1FF000", "0x1000"]
7+
},
8+
"script" : [
9+
["w", "bootloader", "bootloader.bin"],
10+
["w", "partitions", "partitions_8MB.bin"],
11+
["w", "factory", "lopy4.bin"]
12+
]
13+
}

esp32/boards/TBEAMv1/script_8MB_enc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version" : "2.1",
3+
"partitions" : {
4+
"factory" : ["0x10000", "0x1EF000"],
5+
"ota_0" : ["0x210000", "0x1EF000"],
6+
"otadata" : ["0x1FF000", "0x1000"]
7+
},
8+
"script" : [
9+
["w", "secureboot", "bootloader-reflash-digest.bin_enc"],
10+
["w", "partitions", "partitions_8MB.bin_enc"],
11+
["w", "factory", "lopy4.bin_enc"]
12+
]
13+
}

0 commit comments

Comments
 (0)