Skip to content

Commit

Permalink
add sram decoding in core_v_mini_mcu.h
Browse files Browse the repository at this point in the history
  • Loading branch information
davideschiavone committed Jul 24, 2024
1 parent 3d4de8e commit 0187ebb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sw/device/lib/runtime/core_v_mini_mcu.h.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ extern "C" {
#define HAS_MEMORY_BANKS_IL
% endif

% for bank in xheep.iter_ram_banks():
#define RAM${bank.name()}_START_ADDRESS 0x${f'{bank.start_address():08X}'}
#define RAM${bank.name()}_END_ADDRESS 0x${f'{bank.end_address():08X}'}
% endfor


#define EXTERNAL_DOMAINS ${external_domains}

#define DEBUG_START_ADDRESS 0x${debug_start_address}
Expand Down

0 comments on commit 0187ebb

Please sign in to comment.