-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Benefits: - retro-core can now be built and flashed with `idf.py` (assuming the user doesn't care about DOOM and fMSX) - retro-core being standalone means it can be built for platforms with no concept of partitions/multiple exes - Reduced firmware size - All retro-core apps can now access wifi if they want - Faster builds because it means one less app Drawbacks: - It breaks git history for launcher files (but `--follow` mostly works around that) - The presence of the wifi stack, even when not enabled, reserves some amount of internal memory
- Loading branch information
Showing
75 changed files
with
33 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
set(COMPONENTS "main retro-go nofrendo gnuboy pce-go gw-emulator handy smsplus snes9x") | ||
set(RG_ENABLE_NETWORKING 0) | ||
set(COMPONENTS "main retro-go nofrendo gnuboy pce-go gw-emulator handy smsplus snes9x launcher wifi esp_http_server") | ||
include(../base.cmake) | ||
project(retro-core) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
set(COMPONENT_SRCDIRS ". libs") | ||
set(COMPONENT_ADD_INCLUDEDIRS ". libs") | ||
set(COMPONENT_SRCDIRS ".") | ||
set(COMPONENT_ADD_INCLUDEDIRS ".") | ||
set(COMPONENT_REQUIRES "retro-go esp_http_server") | ||
register_component() | ||
rg_setup_compile_options(-O2) | ||
rg_setup_compile_options(-O2 -Wno-error=format -Wno-error=char-subscripts -mfix-esp32-psram-cache-issue) | ||
|
||
# add_custom_command(OUTPUT images.c | ||
# COMMAND python ${COMPONENT_DIR}/gen_images.py | ||
# VERBATIM) | ||
# add_custom_target(images DEPENDS images.c) | ||
# add_dependencies(${COMPONENT_LIB} images) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#include "shared.h" | ||
|
||
void launcher_main(void) | ||
{ | ||
// app->configNs = "launcher"; | ||
// app->isLauncher = true; | ||
// Currently a separate app, see launcher in project's root | ||
rg_system_exit(); | ||
} | ||
// launcher_main() is in ../components/launcher/main.c | ||
|
||
// void launcher_main(void) | ||
// { | ||
// app->configNs = "launcher"; | ||
// app->isLauncher = true; | ||
// rg_system_exit(); | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,6 @@ | |
{ | ||
"path": "gwenesis" | ||
}, | ||
{ | ||
"path": "launcher" | ||
}, | ||
{ | ||
"path": "prboom-go" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters