commit | e311e78e59e71aae72679b76baea8fd9e2aa18e8 | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@codecoup.pl> | Fri Oct 19 20:08:28 2018 +0200 |
committer | GitHub <noreply@github.com> | Fri Oct 19 20:08:28 2018 +0200 |
tree | 761b80f141c0c3b22625746f05026abf6ab79019 | |
parent | 60cb17911d9c90da2df306722434c9f4cd79f456 [diff] | |
parent | abfaffb8e2b22272e7b13d4bb8959d5c73457969 [diff] |
Merge pull request #1470 from kasjer/fe310-fix-build fe310 fix build
diff --git a/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s b/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s index 65946c7..4184fb7 100644 --- a/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s +++ b/hw/mcu/sifive/fe310/src/arch/rv32imac/start.s
@@ -67,7 +67,7 @@ call atexit call __libc_init_array - call _init + call SystemInit call _start call _fini tail exit
diff --git a/hw/mcu/sifive/fe310/src/init.c b/hw/mcu/sifive/fe310/src/init.c index 877d98d..6870cbc 100644 --- a/hw/mcu/sifive/fe310/src/init.c +++ b/hw/mcu/sifive/fe310/src/init.c
@@ -29,7 +29,7 @@ /* Function called just before main() */ void -_init() +SystemInit(void) { select_clock(&MYNEWT_VAL(SYS_CLOCK)); }