mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2025-01-14 13:39:14 +01:00
5b85b0f661
* [SC64][SW] Added board bring-up via UART header * [SC64][SW] Made I2C in primer stable * [SC64][SW] LCMXO2 primer fixes * [SC64][SW] SC64 primer PC software * [SC64][SW] Added primer.py to release package * [SC64][SW] Fixed FPGA refresh * [SC64][SW] Changed release package contents
18 lines
291 B
C
18 lines
291 B
C
#include <stdint.h>
|
|
#include <stm32g030xx.h>
|
|
#include "hw.h"
|
|
#include "update.h"
|
|
|
|
|
|
void no_valid_image (void) {
|
|
hw_loader_init();
|
|
hw_gpio_set(GPIO_ID_LED);
|
|
}
|
|
|
|
void loader (void) {
|
|
if (update_check()) {
|
|
hw_loader_init();
|
|
update_perform();
|
|
}
|
|
}
|