dRonin
adbada4
dRonin firmware
|
Start PiOS and bootloader functions. More...
#include <pios.h>
#include <pios_board_info.h>
#include "op_dfu.h"
#include "usb_lib.h"
#include "pios_iap.h"
#include "pios_com_msg.h"
Go to the source code of this file.
Macros | |
#define | BSL_HOLD_STATE ((PIOS_USB_DETECT_GPIO_PORT->IDR & PIOS_USB_DETECT_GPIO_PIN) ? 0 : 1) |
Typedefs | |
typedef void(* | pFunction )(void) |
Functions | |
void | PIOS_Board_Init (void) |
void | FLASH_Download () |
uint32_t | LedPWM (uint32_t pwm_period, uint32_t pwm_sweep_steps, uint32_t count) |
uint8_t | processRX () |
void | jump_to_app () |
int | main () |
Variables | |
pFunction | Jump_To_Application |
uint32_t | JumpAddress |
uint32_t | period1 = 5000 |
LEDs PWM. More... | |
uint32_t | sweep_steps1 = 100 |
uint32_t | period2 = 5000 |
uint32_t | sweep_steps2 = 100 |
uint8_t | tempcount = 0 |
DFUStates | DeviceState |
int16_t | status = 0 |
uint8_t | JumpToApp = false |
uint8_t | GO_dfu = false |
uint8_t | USB_connected = false |
uint8_t | User_DFU_request = false |
static uint8_t | mReceive_Buffer [63] |
Start PiOS and bootloader functions.
Definition in file main.c.