Skip to content

Conversation

@cepetr
Copy link
Contributor

@cepetr cepetr commented Oct 14, 2025

This PR introduces several changes that allow running another unprivileged app alongside the coreapp:

  • Introduced basic IPC mechanism for passing messages between isolated apps
  • Implemented emulation of systask and cooperative multitasking in the emulator
  • Added the concept of a coreapp applet (as used on hardware) to the emulator
  • Proposed a basic mechanism for a versioned and ABI-stable coreapp API (/embed/api)
  • Implemented an ELF/shared library loading mechanism

The emulator runs now in two cooperative threads - the kernel thread and the coreapp thread - providing a more accurate simulation of firmware behavior on the hardware.

@cepetr cepetr self-assigned this Oct 14, 2025
@cepetr cepetr added this to Firmware Oct 14, 2025
@github-project-automation github-project-automation bot moved this to 🔎 Needs review in Firmware Oct 14, 2025
@cepetr cepetr moved this from 🔎 Needs review to 🏃‍♀️ In progress in Firmware Oct 14, 2025
@cepetr cepetr changed the base branch from main to cepetr/extapp-enablers October 14, 2025 14:33
@cepetr cepetr force-pushed the cepetr/app-loader branch from b37a33e to 84b739b Compare October 15, 2025 13:19
@github-actions
Copy link

github-actions bot commented Oct 15, 2025

en main(all)

model device_test click_test persistence_test
T2T1 test(all) main(all) test(all) main(all) test(all) main(all)
T3B1 test(all) main(all) test(all) main(all) test(all) main(all)
T3T1 test(all) main(all) test(all) main(all) test(all) main(all)
T3W1 test(all) main(all) test(all) main(all) test(all) main(all)

Latest CI run: 19767703173

@cepetr cepetr force-pushed the cepetr/app-loader branch 5 times, most recently from d4bf0ff to e28e8e5 Compare October 16, 2025 12:07
@cepetr cepetr marked this pull request as ready for review October 16, 2025 13:15
@cepetr cepetr requested a review from matejcik October 16, 2025 13:15
@cepetr cepetr force-pushed the cepetr/extapp-enablers branch from 84fe2ed to 59b49a3 Compare October 29, 2025 08:28
@cepetr cepetr force-pushed the cepetr/app-loader branch 2 times, most recently from a14fb39 to f5c50dd Compare October 31, 2025 13:26
@cepetr cepetr force-pushed the cepetr/extapp-enablers branch from 59b49a3 to fb74f4d Compare November 4, 2025 08:26
@cepetr cepetr force-pushed the cepetr/app-loader branch 3 times, most recently from 96b6def to 242763b Compare November 4, 2025 12:15
@cepetr cepetr force-pushed the cepetr/extapp-enablers branch from fb74f4d to 8cbd633 Compare November 13, 2025 07:17
Base automatically changed from cepetr/extapp-enablers to main November 13, 2025 08:01
@github-actions
Copy link

Looks like you changed Cargo.lock. Please make sure to review the dependencies and update internal version list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏃‍♀️ In progress

Development

Successfully merging this pull request may close these issues.

2 participants