projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Easy Motor v2 x axis is inverted
[fw/altos]
/
src
/
stm
/
ao_flash_stm.c
diff --git
a/src/stm/ao_flash_stm.c
b/src/stm/ao_flash_stm.c
index 38618bbe53165f64138c0a3a39fa81c2740cbf20..77296c322d2f11906c2f02ae966da7e153b0a54c 100644
(file)
--- a/
src/stm/ao_flash_stm.c
+++ b/
src/stm/ao_flash_stm.c
@@
-70,7
+70,7
@@
ao_flash_wait_bsy(void)
;
}
;
}
-static void __attribute__ ((section(".
ramtext"),
noinline))
+static void __attribute__ ((section(".
sdata2.flash"),
noinline))
_ao_flash_erase_page(uint32_t *page)
{
stm_flash.pecr |= (1 << STM_FLASH_PECR_ERASE) | (1 << STM_FLASH_PECR_PROG);
_ao_flash_erase_page(uint32_t *page)
{
stm_flash.pecr |= (1 << STM_FLASH_PECR_ERASE) | (1 << STM_FLASH_PECR_PROG);
@@
-93,7
+93,7
@@
ao_flash_erase_page(uint32_t *page)
ao_arch_release_interrupts();
}
ao_arch_release_interrupts();
}
-static void __attribute__ ((section(".
ramtext
"), noinline))
+static void __attribute__ ((section(".
sdata2.flash
"), noinline))
_ao_flash_half_page(uint32_t *dst, uint32_t *src)
{
uint8_t i;
_ao_flash_half_page(uint32_t *dst, uint32_t *src)
{
uint8_t i;