aboutsummaryrefslogtreecommitdiff
path: root/system-clock/src/isr_vector.c
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2018-01-15 15:32:16 -0700
committerJosh Rahm <joshuarahm@gmail.com>2018-01-15 15:32:16 -0700
commit67d97164b358ae5c9c0038e58302a6f89c7bb3c5 (patch)
treebdabe749be921915f880dcc3c003333df2e9538c /system-clock/src/isr_vector.c
parent8b655d6a2ee66ec3c371b8fe8b4c960bc3050fa2 (diff)
downloadstm32l4-67d97164b358ae5c9c0038e58302a6f89c7bb3c5.tar.gz
stm32l4-67d97164b358ae5c9c0038e58302a6f89c7bb3c5.tar.bz2
stm32l4-67d97164b358ae5c9c0038e58302a6f89c7bb3c5.zip
use uint32_t for copying the data sections.
Diffstat (limited to 'system-clock/src/isr_vector.c')
-rw-r--r--system-clock/src/isr_vector.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/system-clock/src/isr_vector.c b/system-clock/src/isr_vector.c
index b432732..dd7fea9 100644
--- a/system-clock/src/isr_vector.c
+++ b/system-clock/src/isr_vector.c
@@ -7,11 +7,11 @@ void main();
/* These are defined in the linker script. */
-extern uint8_t INIT_DATA_VALUES;
-extern uint8_t DATA_SEGMENT_START;
-extern uint8_t DATA_SEGMENT_STOP;
-extern uint8_t BSS_START;
-extern uint8_t BSS_END;
+extern uint32_t INIT_DATA_VALUES;
+extern uint32_t DATA_SEGMENT_START;
+extern uint32_t DATA_SEGMENT_STOP;
+extern uint32_t BSS_START;
+extern uint32_t BSS_END;
/*
@@ -20,8 +20,8 @@ extern uint8_t BSS_END;
*/
void init()
{
- uint8_t* src;
- uint8_t* dest;
+ uint32_t* src;
+ uint32_t* dest;
src = &INIT_DATA_VALUES;
dest = &DATA_SEGMENT_START;