summaryrefslogtreecommitdiff
path: root/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'entry.cpp')
-rw-r--r--entry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/entry.cpp b/entry.cpp
index 5a30175..ae58404 100644
--- a/entry.cpp
+++ b/entry.cpp
@@ -1,5 +1,5 @@
#include <stdint.h>
-#include "rcc.h"
+#include <hal.h>
int main();
@@ -17,8 +17,8 @@ extern funcp_t _fini_array_start;
extern funcp_t _fini_array_end;
void __attribute__((naked)) entry() {
- // Initialize clock.
- rcc_init();
+ // Initialize HAL.
+ hal_init();
// Load .data from rom image.
uint32_t* rp = &_data_rom;