projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Don't close telemetry reader at startup unless something fails
[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 b4d47024b0a1870a7cb8ca2ea2037cbcc240022d..38b1c2d8b585c154b8d6a24cfca28cbeaddb0e36 100644
(file)
--- a/
src/stm/ao_flash_stm.c
+++ b/
src/stm/ao_flash_stm.c
@@
-16,7
+16,7
@@
*/
#include <ao.h>
*/
#include <ao.h>
-#include <ao_flash
_stm
.h>
+#include <ao_flash.h>
static uint8_t
ao_flash_pecr_is_locked(void)
static uint8_t
ao_flash_pecr_is_locked(void)
@@
-69,7
+69,7
@@
ao_flash_wait_bsy(void)
;
}
;
}
-static void __attribute__ ((section(".
text.ram
"),noinline))
+static void __attribute__ ((section(".
ramtext
"),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);
@@
-91,7
+91,7
@@
ao_flash_erase_page(uint32_t *page)
ao_flash_lock();
}
ao_flash_lock();
}
-static void __attribute__ ((section(".
text.ram
"), noinline))
+static void __attribute__ ((section(".
ramtext
"), 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;