forked from tock/tockloader-rs
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
The reorder_app method must be implement to then be able to properly install and uninstall applications. Both rust-based and c-based.
Input
See: #75
Tasks
- Create reordering function that is input-agnostic. It must take an application which can be either already present on the board, or as part of a TAB. Note that C-applications can be put anywhere whereas Rust-applications have fixed flash and ram addresses (and have multiple copies within its TAB compiled for different configurations). This function should return the order to arrange these applications in memory.
- Add tests to this reordering functions to simulate different scenarios
- Existing:
C-Apps, Operation: None, Expected: No change - Existing:
Rust-Apps, Operation: None, Expected: No change - Existing:
C-Apps + Rust-Apps, Operation: None, Expected: No change - Existing:
C-Apps, Operation: AddC-App, Expected: Application put at the end - Existing:
C-Apps, Operation: AddRust-Appafter C-functions Expected: Application put at end - Existing:
C-Apps, Operation: AddRust-Appbefore/in-between C-functions Expected: Application reordered so that rust application can still exist - More ++
- Existing:
Sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress