2 #include "../firmware.h"
7 void image_length_add(uint8_t *data, uint32_t data_length);
29 sprintf(output,
"SUCCESS (%"PRIu32
" Bytes)\r\n", image_length);
34 sprintf(output,
"FAIL (%"PRIu32
" Bytes)\r\n", image_length);
45 void image_length_add(uint8_t *data, uint32_t data_length)
50 image_length += data_length;
52 sprintf(output,
"0x%02"PRIx8
", 0x%02"PRIx8
" ..(%"PRIu32
"B).. 0x%02"PRIx8
", 0x%02"PRIx8
"\r\n",
55 data[data_length-2], data[data_length-1]
void Delay_ms(uint32_t milliseconds)
bool Camera_capture(uint32_t page_size, void(*page_store)(uint8_t *, uint32_t))
void UART_init(uint8_t uart_num, uint32_t baudrate)
void LED_off(uint8_t led_num)
int main(void)
Runs all module tests.
void UART_puts(uint8_t uart_num, char *str)
void LED_on(uint8_t led_num)