mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[bootloader] Expose ExternalFlash instead of Flash
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <ion/src/device/shared/drivers/flash.h>
|
||||
#include <ion/src/device/shared/drivers/external_flash.h>
|
||||
#include <ion/src/device/n0110/drivers/power.h>
|
||||
|
||||
#include <bootloader/trampoline.h>
|
||||
@@ -16,8 +16,8 @@ void* Trampolines[TRAMPOLINES_COUNT]
|
||||
__attribute__((used))
|
||||
= {
|
||||
(void*) Bootloader::suspend, // Suspend
|
||||
(void*) Ion::Device::Flash::EraseSector, // External erase
|
||||
(void*) Ion::Device::Flash::WriteMemory, // External write
|
||||
(void*) Ion::Device::ExternalFlash::EraseSector, // External erase
|
||||
(void*) Ion::Device::ExternalFlash::WriteMemory, // External write
|
||||
(void*) memcmp,
|
||||
(void*) memcpy,
|
||||
(void*) memmove,
|
||||
|
||||
Reference in New Issue
Block a user