From a8a0eb825ea7208502954865ab09e7ec8a90221c Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 7 Jul 2013 19:57:19 +0200 Subject: Don't build STM32-specific code for other targets. --- startup/entry.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'startup/entry.cpp') 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 -#include #include 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; -- cgit v1.2.3