add RAM linker file

This commit is contained in:
2024-10-01 10:56:40 +02:00
parent 3484dc66e3
commit 8e62de5cdf
2 changed files with 168 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ void __attribute__((weak)) handle_m_ext_interrupt(){
void __attribute__((weak)) handle_m_time_interrupt(){
uint64_t time = get_aclint_mtime(aclint);
time+=MTIMER_NEXT_TICK_INC;
set_aclint_mtime(aclint, time);
set_aclint_mtimecmp(aclint, time);
}
void __attribute__((weak)) default_handler(void) {