mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-18 01:56:50 +00:00
Run baseband image per application.
First step toward having separate baseband images per app or function.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user