-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
135 lines (118 loc) · 3.77 KB
/
Copy pathplatformio.ini
File metadata and controls
135 lines (118 loc) · 3.77 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[env:m5stack-stamps3]
platform = espressif32@6.12.0
board = m5stack-stamps3
framework = arduino
lib_deps =
; Cardputer library is in /lib folder
m5stack/M5Unified@^0.2.11
monitor_speed = 115200
upload_speed = 921600
board_build.flash_mode = qio
board_build.f_cpu = 270000000L
monitor_filters = esp32_exception_decoder, colorize
build_unflags =
-Os
-Og
-g
-fno-jump-tables
build_flags =
; Race (NGP)
-Isrc/ngp/race
-DUSE_CZ80=1
-DCZ80=1
-DUSE_SDL=1
-DDISABLE_WATCHDOGS
-DNGP_USE_THREADED_COLORMAPPING ; Use a separate thread for color mapping to improve performance
;-DFRAMESKIP ; Enable frameskip, turned off for smoother performance
;-DNGP_INTERLACED ; Enable interlaced rendering mode for display output
-DNGP_ONLY_RENDER_VISIBLE_LINES ; Disbales rendering of lines that arent visible due to scaling
;-DNGP_HW_INTERLACED ; Skip every other line that would normally be rendered by the emulator
-DNGP_OPTIMIZATION_16BIT_READ ; 16-bit reads with alignment check for native bus transactions
; GWENESIS
-DGNW_TARGET_MARIO=0
-DGNW_TARGET_ZELDA=0
; -DGENESIS_NO_SOUND ; Disable sound support
-UROM_SWAP
-URAM_SWAP
-Isrc/genesis/gwenesis
-Isrc/genesis/gwenesis/bus
-Isrc/genesis/gwenesis/cpus
-Isrc/genesis/gwenesis/io
-Isrc/genesis/gwenesis/sound
-Isrc/genesis/gwenesis/savestate
-Isrc/genesis/gwenesis/vdp
-Isrc/genesis/gwenesis/cpus
-Isrc/genesis/gwenesis/cpus/M68K
-Isrc/genesis/gwenesis/cpus/Z80
; Oswan
-DWS_SAVE_ENABLED=1
-DWS_NO_SPLASH_SCREEN=1
; SNES
-DNO_ZERO_LUT
-DSNES_NO_SOUND
-DSNES_NO_APU
-DSNES_NO_BYTE2000
; -DSNES_NO_THREADED_DISPLAY
-DSNES_NO_THREADED_INPUT
-DSNES_NO_THREADED_SAVE
; Global
-Wl,-Map,firmware.map
-Wl,--cref
-Wl,--print-memory-usage
-O2
-ffunction-sections
-fdata-sections
-Wl,--gc-sections
-mlongcalls
-DCORE_DEBUG_LEVEL=0
-DLOG_LOCAL_LEVEL=ESP_LOG_WARN
-DREMOVE_PRINTF
-include src/share/emu_log.h ; gate C printf when REMOVE_PRINTF is set
-fno-exceptions
-fno-rtti
-fuse-linker-plugin
; NES
-Wl,--wrap=bmp_create ; nofrendo
-Wl,--wrap=bmp_destroy ; nofrendo
; Stella (Atari 2600)
-Isrc/atari2600/stella/common
-Isrc/atari2600/stella/emucore
-Isrc/atari2600/stella/gui
-DSOUND_SUPPORT=1
-DJUMP_TABLES_IN_TEXT_SECTION=1
; ProSystem (Atari 7800)
-Isrc/atari7800/core
-Isrc/atari7800/core/core
-Isrc/atari7800/core/libretro-common/include
; -DA7800_NO_DATABASE ; Drop built-in 7800 MD5 database (~5 KB flash); headered ROMs still work
; fMSX
-DLSB_FIRST
-DBPP8
-DBPS16
-DNO_MIDI ; Disable MIDI logging tables (~12KB flash)
-DNO_FLOPPY ; Disable floppy/disk subsystem (ROM-only)
-DNO_SHA1 ; Disable SHA1 ROM fingerprinting (no CARTS.SHA on SD)
-DNO_MCF ; Disable MCF cheat-file support
-DNO_I8251 ; Disable RS232 i8251 runtime support
-Isrc/msx/fMSX
-Isrc/msx/EMULib
-Isrc/msx/Z80
; GX4000
-Isrc/gx4000
-Isrc/gx4000/arnold
-Isrc/gx4000/arnold/z80
-DCPC_LSB_FIRST ; ESP32 is little-endian
-DLESS_MULTS ; Use pScreenLine-based address calc (no multiply per NOP)
-DCPC_NODEBUGGER ; Strip out debugger UI code
-DGX4000_TRIM_NONPLUS ; Trim legacy CPC/KC hardware paths (GX4000 is CPC+ only)
-DGX4000_CART_ONLY ; Strip cassette/floppy/printer paths for cart-only GX4000
build_src_flags =
-O3
-g0
-fno-tree-slp-vectorize
-fomit-frame-pointer
-fno-unwind-tables
-fno-asynchronous-unwind-tables
-fno-plt ; reduces indirect branch overhead
-Wno-stack-protector
board_build.partitions = partitions_5m_spiffs_8mb.csv