PX4 Firmware
PX4 Autopilot Software http://px4.io
|
STM32F4 & STM32F7 bootloader update tool. More...
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/module.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <arch/board/board.h>
#include <nuttx/progmem.h>
Go to the source code of this file.
Macros | |
#define | BL_FILE_SIZE_LIMIT 16384 |
#define | STM_RAM_BASE STM32_SRAM_BASE |
Functions | |
__EXPORT int | bl_update_main (int argc, char *argv[]) |
STM32F4 & STM32F7 bootloader update tool.
Definition in file bl_update.c.
#define BL_FILE_SIZE_LIMIT 16384 |
Definition at line 60 of file bl_update.c.
Referenced by bl_update_main().
#define STM_RAM_BASE STM32_SRAM_BASE |
Definition at line 61 of file bl_update.c.
Referenced by bl_update_main().
int bl_update_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 89 of file bl_update.c.
References BL_FILE_SIZE_LIMIT, fd, print_usage(), read(), and STM_RAM_BASE.