File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed
ports/espressif/boards/hiibot_iots2 Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 24
24
* THE SOFTWARE.
25
25
*/
26
26
27
- #include "boards /board.h"
27
+ #include "supervisor /board.h"
28
28
#include "mpconfigboard.h"
29
29
#include "shared-bindings/microcontroller/Pin.h"
30
+ #include "shared-module/displayio/__init__.h"
31
+ #include "shared-module/displayio/mipi_constants.h"
30
32
31
33
void board_init (void ) {
32
34
// USB
33
35
common_hal_never_reset_pin (& pin_GPIO19 );
34
36
common_hal_never_reset_pin (& pin_GPIO20 );
35
37
36
38
// Debug UART
39
+ #ifdef DEBUG
37
40
common_hal_never_reset_pin (& pin_GPIO43 );
38
41
common_hal_never_reset_pin (& pin_GPIO44 );
42
+ #endif
39
43
40
44
// SPI Flash and RAM
41
45
common_hal_never_reset_pin (& pin_GPIO26 );
@@ -52,5 +56,7 @@ bool board_requests_safe_mode(void) {
52
56
}
53
57
54
58
void reset_board (void ) {
59
+ }
55
60
61
+ void board_deinit (void ) {
56
62
}
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ USB_VID = 0x612B
2
2
USB_PID = 0x80E8
3
3
USB_PRODUCT = "IoTs2"
4
4
USB_MANUFACTURER = "HiiBot"
5
- USB_DEVICES = "CDC,MSC,HID"
5
+
6
+ IDF_TARGET = esp32s2
6
7
7
8
INTERNAL_FLASH_FILESYSTEM = 1
8
9
LONGINT_IMPL = MPZ
Original file line number Diff line number Diff line change 1
1
#include "shared-bindings/board/__init__.h"
2
2
3
3
STATIC const mp_rom_map_elem_t board_global_dict_table [] = {
4
+ CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
5
+
4
6
{ MP_ROM_QSTR (MP_QSTR_IO0 ), MP_ROM_PTR (& pin_GPIO0 ) },
5
7
6
8
{ MP_ROM_QSTR (MP_QSTR_IO1 ), MP_ROM_PTR (& pin_GPIO1 ) },
You can’t perform that action at this time.
0 commit comments