mirror of
https://github.com/usatiuk/cardboy.git
synced 2025-10-28 15:17:48 +01:00
gameboy stats
This commit is contained in:
67
Firmware/.vscode/settings.json
vendored
67
Firmware/.vscode/settings.json
vendored
@@ -15,6 +15,71 @@
|
|||||||
"esp_partition.h": "c",
|
"esp_partition.h": "c",
|
||||||
"cstring": "cpp",
|
"cstring": "cpp",
|
||||||
"array": "cpp",
|
"array": "cpp",
|
||||||
"string_view": "cpp"
|
"string_view": "cpp",
|
||||||
|
"any": "cpp",
|
||||||
|
"atomic": "cpp",
|
||||||
|
"barrier": "cpp",
|
||||||
|
"bit": "cpp",
|
||||||
|
"cctype": "cpp",
|
||||||
|
"charconv": "cpp",
|
||||||
|
"clocale": "cpp",
|
||||||
|
"cmath": "cpp",
|
||||||
|
"codecvt": "cpp",
|
||||||
|
"compare": "cpp",
|
||||||
|
"complex": "cpp",
|
||||||
|
"concepts": "cpp",
|
||||||
|
"condition_variable": "cpp",
|
||||||
|
"cstdarg": "cpp",
|
||||||
|
"cstddef": "cpp",
|
||||||
|
"cstdint": "cpp",
|
||||||
|
"cstdio": "cpp",
|
||||||
|
"cstdlib": "cpp",
|
||||||
|
"ctime": "cpp",
|
||||||
|
"cwchar": "cpp",
|
||||||
|
"cwctype": "cpp",
|
||||||
|
"deque": "cpp",
|
||||||
|
"forward_list": "cpp",
|
||||||
|
"list": "cpp",
|
||||||
|
"map": "cpp",
|
||||||
|
"set": "cpp",
|
||||||
|
"string": "cpp",
|
||||||
|
"unordered_map": "cpp",
|
||||||
|
"unordered_set": "cpp",
|
||||||
|
"exception": "cpp",
|
||||||
|
"functional": "cpp",
|
||||||
|
"iterator": "cpp",
|
||||||
|
"memory": "cpp",
|
||||||
|
"memory_resource": "cpp",
|
||||||
|
"netfwd": "cpp",
|
||||||
|
"numeric": "cpp",
|
||||||
|
"optional": "cpp",
|
||||||
|
"ratio": "cpp",
|
||||||
|
"system_error": "cpp",
|
||||||
|
"tuple": "cpp",
|
||||||
|
"type_traits": "cpp",
|
||||||
|
"utility": "cpp",
|
||||||
|
"format": "cpp",
|
||||||
|
"future": "cpp",
|
||||||
|
"initializer_list": "cpp",
|
||||||
|
"iomanip": "cpp",
|
||||||
|
"iosfwd": "cpp",
|
||||||
|
"iostream": "cpp",
|
||||||
|
"istream": "cpp",
|
||||||
|
"latch": "cpp",
|
||||||
|
"limits": "cpp",
|
||||||
|
"mutex": "cpp",
|
||||||
|
"new": "cpp",
|
||||||
|
"numbers": "cpp",
|
||||||
|
"ostream": "cpp",
|
||||||
|
"semaphore": "cpp",
|
||||||
|
"span": "cpp",
|
||||||
|
"sstream": "cpp",
|
||||||
|
"stdexcept": "cpp",
|
||||||
|
"stop_token": "cpp",
|
||||||
|
"text_encoding": "cpp",
|
||||||
|
"thread": "cpp",
|
||||||
|
"cinttypes": "cpp",
|
||||||
|
"typeinfo": "cpp",
|
||||||
|
"variant": "cpp"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ idf_component_register(SRCS
|
|||||||
src/buzzer.cpp
|
src/buzzer.cpp
|
||||||
src/fs_helper.cpp
|
src/fs_helper.cpp
|
||||||
PRIV_REQUIRES spi_flash esp_driver_i2c driver sdk-esp esp_timer nvs_flash littlefs
|
PRIV_REQUIRES spi_flash esp_driver_i2c driver sdk-esp esp_timer nvs_flash littlefs
|
||||||
INCLUDE_DIRS "include" "Peanut-GB")
|
INCLUDE_DIRS "include" "Peanut-GB"
|
||||||
|
EMBED_FILES "roms/builtin_demo1.gb" "roms/builtin_demo2.gb")
|
||||||
|
|
||||||
littlefs_create_partition_image(littlefs ../flash_data FLASH_IN_PROJECT)
|
littlefs_create_partition_image(littlefs ../flash_data FLASH_IN_PROJECT)
|
||||||
7
Firmware/main/roms/README.md
Normal file
7
Firmware/main/roms/README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Built-in ROM placeholders
|
||||||
|
|
||||||
|
This directory holds Game Boy ROM images that get embedded into the firmware via `EMBED_FILES`.
|
||||||
|
The repository includes two small placeholder files (`builtin_demo1.gb` and `builtin_demo2.gb`) so
|
||||||
|
that the build system always has something to embed, but they are not valid games. Replace them
|
||||||
|
with legally distributable ROMs to ship useful built-in titles. Filenames are used to derive the
|
||||||
|
save-game slot name.
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -2,5 +2,5 @@
|
|||||||
nvs, data, nvs, 0x9000, 0x5000,
|
nvs, data, nvs, 0x9000, 0x5000,
|
||||||
otadata, data, ota, 0xe000, 0x2000,
|
otadata, data, ota, 0xe000, 0x2000,
|
||||||
phy_init, data, phy, 0x10000, 0x1000,
|
phy_init, data, phy, 0x10000, 0x1000,
|
||||||
factory, app, factory, 0x20000, 0x150000,
|
factory, app, factory, 0x20000, 0x250000,
|
||||||
littlefs, data, littlefs,, 0x290000,
|
littlefs, data, littlefs,, 0x190000,
|
||||||
|
|||||||
|
Reference in New Issue
Block a user