Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Web console (GitHub Pages)

# The Emulator Console (web/): the page the firmware advertises as its WebUSB
# landing page (esp-cpp.github.io/<repo>/). Needs Settings -> Pages -> Source:
# GitHub Actions.
# The Emulator Console (web/, from the emulink submodule): the page the
# firmware advertises as its WebUSB landing page (esp-cpp.github.io/<repo>/).
# Needs Settings -> Pages -> Source: GitHub Actions.
on:
push:
branches: [main]
paths:
- 'web/**'
- 'components/emulink'
- '.github/workflows/pages.yml'
workflow_dispatch:

Expand All @@ -28,11 +28,13 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: The emulink submodule (only it)
run: git submodule update --init components/emulink
- name: Check the scripts parse (as ES modules)
run: for f in web/*.js; do node --input-type=module --check < "$f" || exit 1; done
run: for f in components/emulink/web/*.js; do node --input-type=module --check < "$f" || exit 1; done
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: web
path: components/emulink/web
- id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@
path = components/scummvm/scummvm
url = https://github.com/esp-cpp/scummvm.git
branch = esp32p4
[submodule "components/emulink"]
path = components/emulink
url = https://github.com/esp-cpp/emulink.git
branch = main
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,15 @@ set(GAME_COMPONENTS
set(
COMPONENTS
main esptool_py esp_lcd esp_psram task format display display_drivers monitor timer
${GAME_COMPONENTS} tab5-emu pool_allocator gui menu rom_info statistics settings devlink
${GAME_COMPONENTS} tab5-emu pool_allocator gui menu rom_info statistics settings emulink
CACHE STRING
"List of components to include"
FORCE
)

# the USB link (components/emulink) builds against this board
idf_build_set_property(EMULINK_BOARD_COMPONENT tab5-emu)

project(tab5-emu)

set(CMAKE_CXX_STANDARD 23)
Expand Down
10 changes: 0 additions & 10 deletions components/devlink/CMakeLists.txt

This file was deleted.

7 changes: 0 additions & 7 deletions components/devlink/idf_component.yml

This file was deleted.

112 changes: 0 additions & 112 deletions components/devlink/include/devlink.hpp

This file was deleted.

165 changes: 0 additions & 165 deletions components/devlink/src/devlink.cpp

This file was deleted.

1 change: 1 addition & 0 deletions components/emulink
Submodule emulink added at 343377
Loading