summaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-10-11 21:14:43 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-10-11 21:15:48 +0200
commit18c63621da45909918d147c46c3e702106335e3a (patch)
tree7eb3fdf45052416601976baf3e84a2859de3d899 /startup
parentb15cd5bea52bad5a48dc46f0efca40575e6cb0a5 (diff)
Don't call rcc_init() at startup.
Diffstat (limited to 'startup')
-rw-r--r--startup/entry.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/startup/entry.cpp b/startup/entry.cpp
index 64aac37..3ad18f2 100644
--- a/startup/entry.cpp
+++ b/startup/entry.cpp
@@ -1,5 +1,4 @@
#include <stdint.h>
-#include <rcc/rcc.h>
#include <cortex_m/fpu.h>
int main();
@@ -18,9 +17,6 @@ extern funcp_t _fini_array_start;
extern funcp_t _fini_array_end;
void __attribute__((naked)) entry() {
- // Initialize HAL.
- rcc_init();
-
// Load .data from rom image.
uint32_t* rp = &_data_rom;
uint32_t* wp = &_data_start;