Skip to content

Commit

Permalink
The eUpdater of board amc now updates the eApplication (robotol…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoaccame authored and valegagge committed May 5, 2023
1 parent 3d8a5cd commit 7e5056d
Show file tree
Hide file tree
Showing 14 changed files with 1,335 additions and 3,709 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
#define EENV_MEMMAP_EAPPLICATION_ROMADDR (EENV_ROMSTART + 0)
#define EENV_MEMMAP_EAPPLICATION_ROMSIZE (EENV_ROMSIZE-EENV_MEMMAP_SHARSERV_ROMSIZE)
#else
// the application starts from top of e-updater (256K) until 256K+512K.
// the application starts from top of e-updater (384K) until 384K+512K.
#define EENV_MEMMAP_EAPPLICATION_ROMADDR (EENV_MEMMAP_EUPDATER_ROMADDR + EENV_MEMMAP_EUPDATER_ROMSIZE)
#define EENV_MEMMAP_EAPPLICATION_ROMSIZE (512*1024)
#endif
Expand Down
2 changes: 1 addition & 1 deletion emBODY/eBcode/arch-arm/board/amc/bsp/embot_hw_bsp_amc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ namespace embot { namespace hw { namespace flash { namespace bsp {
// on Bank::one
constexpr Partition ldr {Partition::ID::eloader, &bank01, bank01.address, 128*1024};
constexpr Partition upd {Partition::ID::eupdater, &bank01, ldr.address+ldr.size, 256*1024};
constexpr Partition a00 {Partition::ID::eapplication00, &bank01, upd.address+upd.size, 256*1024};
constexpr Partition a00 {Partition::ID::eapplication00, &bank01, upd.address+upd.size, 512*1024};
constexpr Partition b00 {Partition::ID::buffer00, &bank01, a00.address+a00.size, 128*1024};

// on Bank::two
Expand Down
Loading

0 comments on commit 7e5056d

Please sign in to comment.