aboutsummaryrefslogtreecommitdiff
path: root/init_high.cpp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-01-02 20:53:42 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2016-01-02 20:53:42 +0100
commit9129af503c8211d713c8a160a3b6f3f86b328639 (patch)
tree3cd9ff26f4d323fc553b2a99d56be9b81a57a4c4 /init_high.cpp
parentaae314fead54dab7b258f3a6c7ac1615833f9987 (diff)
downloadstm32f103-playground-9129af503c8211d713c8a160a3b6f3f86b328639.tar.gz
stm32f103-playground-9129af503c8211d713c8a160a3b6f3f86b328639.tar.bz2
stm32f103-playground-9129af503c8211d713c8a160a3b6f3f86b328639.tar.xz
stm32f103-playground-9129af503c8211d713c8a160a3b6f3f86b328639.zip
o Adding a utility to dump segment sizes from the generated ELF files.
o Adding os2 with support for critical sections. More to come. o Adding dma1 to test DMA + SPI.
Diffstat (limited to 'init_high.cpp')
-rw-r--r--init_high.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/init_high.cpp b/init_high.cpp
index e1e7a12..700d17a 100644
--- a/init_high.cpp
+++ b/init_high.cpp
@@ -13,12 +13,6 @@ extern uint32_t _bss_start, _bss_end;
extern int main();
-template<typename T, size_t N>
-static inline
-size_t SizeOfArray(const T(&)[N]) {
- return N;
-}
-
void init_high() {
// Copy data from flash to ram
uint32_t *src = &_copy_data_load;