summaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-07-07 19:57:19 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-07-07 19:57:19 +0200
commita8a0eb825ea7208502954865ab09e7ec8a90221c (patch)
tree632686dacbee7778b4371ce13eeda488a500c232 /startup
parentc982426fd492b8645a04698f5a2b24e242902100 (diff)
Don't build STM32-specific code for other targets.
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;