Change M4 loader to use image tags.

Also finish moving HackRF binary to tagged image region.
This commit is contained in:
Jared Boone 2016-07-01 10:37:22 -07:00
parent 0e62876578
commit 97ba19af24
13 changed files with 49 additions and 45 deletions

View file

@ -90,8 +90,8 @@ void stop() {
send_message(&message);
}
void run_image(const portapack::spi_flash::region_t image_region) {
m4_init(image_region, portapack::memory::map::m4_code);
void run_image(const portapack::spi_flash::image_tag_t image_tag) {
m4_init(image_tag, portapack::memory::map::m4_code);
creg::m4txevent::enable();
}