Configurations for the WILC3000 Serial Bridge Application.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | FIRMWARE_CHUNK_SIZE 4096 |
#define | IRAM_START 0x80000000 |
Functions | |
void | bt_serial_bridge () |
uint8_t | bt_uart_firmware_download (void) |
void | little_endian_store_32 (uint8_t *buffer, uint16_t pos, uint32_t value) |
Variables | |
static uint8_t | command_buffer [12] |
static int | download_count |
static uint8_t | event_buffer [15] |
static const uint8_t * | fw_data |
static uint32_t | fw_offset |
static uint32_t | fw_size |
static const uint8_t | hci_read_local_version_information_command [] = { 0x01, 0x01, 0x10, 0x00 } |
static const uint8_t | hci_reset_command [] = { 0x01, 0x03, 0x0c, 0x00 } |
static const uint8_t | hci_vendor_specific_reset_command [] = { 0x01, 0x55, 0xfc, 0x00 } |
#define FIRMWARE_CHUNK_SIZE 4096 |
Referenced by bt_uart_firmware_download().
#define IRAM_START 0x80000000 |
Referenced by bt_uart_firmware_download().
void bt_serial_bridge | ( | ) |
uint8_t bt_uart_firmware_download | ( | void | ) |
References bt_usart_stream_write_buffer(), command_buffer, firmware_ble, FIRMWARE_CHUNK_SIZE, fw_data, fw_offset, fw_size, IRAM_START, little_endian_store_32(), and min.
Referenced by bt_serial_bridge().
void little_endian_store_32 | ( | uint8_t * | buffer, |
uint16_t | pos, | ||
uint32_t | value | ||
) |
Referenced by bt_uart_firmware_download().
|
static |
Referenced by bt_uart_firmware_download().
|
static |
|
static |
|
static |
Referenced by bt_uart_firmware_download().
|
static |
Referenced by bt_uart_firmware_download().
|
static |
Referenced by bt_uart_firmware_download().
|
static |
Referenced by bt_serial_bridge().
|
static |
Referenced by bt_serial_bridge().
|
static |
Referenced by bt_serial_bridge().