-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
executable file
·71 lines (59 loc) · 1.68 KB
/
platformio.ini
File metadata and controls
executable file
·71 lines (59 loc) · 1.68 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[env]
build_flags =
-D LV_CONF_INCLUDE_SIMPLE
-D LV_LVGL_H_INCLUDE_SIMPLE=1
-D POKEGOTCHI_DEFAULT_LOCALE="\"en\""
lib_deps =
lv_i18n
Pokegotchi
lvgl=git+https://github.com/lvgl/lvgl.git#v9.4.0
ArduinoJon=git+https://github.com/bblanchon/ArduinoJson#v7.4.2
check_tool = cppcheck
check_skip_packages = yes
[env:m5stack-core2]
board = m5stack-core2
platform = espressif32
extra_scripts = ./support/littlefsbuilder.py
framework = arduino
upload_port = /dev/ttyACM0
upload_speed = 921600
monitor_filters = direct, esp32_exception_decoder
monitor_speed = 115200
monitor_port = /dev/ttyACM0
board_build.filesystem = littlefs
lib_deps =
${env.lib_deps}
FS
LittleFS
M5Unified=git+https://github.com/m5stack/M5Unified#0.2.13
M5GFX=git+https://github.com/m5stack/M5GFX#0.2.19
build_flags =
${env.build_flags}
; Add recursive dirs for hal headers search
!python -c "import os; print(' '.join(['-I {}'.format(i[0].replace('\x5C','/')) for i in os.walk('hal/m5stack-core2')]))"
-D POKEGOTCHI_INCLUDE_GAMES
-D BOARD_HAS_PSRAM
-D LV_MEM_SIZE=60U*1024U
-D LV_USE_FS_ARDUINO_ESP_LITTLEFS
-mfix-esp32-psram-cache-issue
build_src_filter =
+<*>
+<../hal/m5stack-core2>
[env:emulator_64bits]
platform = native
extra_scripts = support/sdl2_build_extra.py
build_flags =
${env.build_flags}
; Add recursive dirs for hal headers search
!python -c "import os; print(' '.join(['-I {}'.format(i[0].replace('\x5C','/')) for i in os.walk('hal/sdl2')]))"
; SDL drivers options
!pkg-config --cflags --libs sdl2
-D USE_SDL
-D LV_USE_SDL
-D LV_USE_KEYBOARD
-D LV_USE_MOUSE
-D LV_MEM_SIZE=128U*1024U
-D SDL_INCLUDE_PATH="\"SDL2/SDL.h\""
build_src_filter =
+<*>
+<../hal/sdl2>