mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-13 12:12:16 -04:00
Run baseband image per application.
First step toward having separate baseband images per app or function.
This commit is contained in:
parent
ac0bdc35a6
commit
303bfeaafc
8 changed files with 31 additions and 9 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include "portapack_shared_memory.hpp"
|
||||
|
||||
#include "core_control.hpp"
|
||||
|
||||
namespace baseband {
|
||||
|
||||
void AMConfig::apply() const {
|
||||
|
@ -81,6 +83,10 @@ void stop() {
|
|||
);
|
||||
}
|
||||
|
||||
void run_image(const portapack::spi_flash::region_t image_region) {
|
||||
m4_init(image_region, portapack::memory::map::m4_code);
|
||||
}
|
||||
|
||||
void shutdown() {
|
||||
ShutdownMessage shutdown_message;
|
||||
shared_memory.baseband_queue.push(shutdown_message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue