|
|
|
@ -40,7 +40,7 @@ __BEGIN_DECLS
@@ -40,7 +40,7 @@ __BEGIN_DECLS
|
|
|
|
|
#define PX4_SOC_ARCH_ID PX4_SOC_ARCH_ID_STM32F7 |
|
|
|
|
#include <chip.h> |
|
|
|
|
#include <hardware/stm32_flash.h> |
|
|
|
|
#include <up_internal.h> //include up_systemreset() which is included on stm32.h |
|
|
|
|
#include <arm_internal.h> //include up_systemreset() which is included on stm32.h |
|
|
|
|
#include <stm32_bbsram.h> |
|
|
|
|
#define PX4_BBSRAM_SIZE STM32F7_BBSRAM_SIZE |
|
|
|
|
#define PX4_BBSRAM_GETDESC_IOCTL STM32F7_BBSRAM_GETDESC_IOCTL |
|
|
|
@ -48,8 +48,8 @@ __BEGIN_DECLS
@@ -48,8 +48,8 @@ __BEGIN_DECLS
|
|
|
|
|
#define PX4_NUMBER_I2C_BUSES STM32F7_NI2C |
|
|
|
|
#define PX4_ARCH_DCACHE_LINESIZE ARMV7M_DCACHE_LINESIZE |
|
|
|
|
|
|
|
|
|
void stm32_flash_lock(void); |
|
|
|
|
void stm32_flash_unlock(void); |
|
|
|
|
int stm32_flash_lock(void); |
|
|
|
|
int stm32_flash_unlock(void); |
|
|
|
|
int stm32_flash_writeprotect(size_t page, bool enabled); |
|
|
|
|
|
|
|
|
|
__END_DECLS |
|
|
|
|