Add KBOOT I2C slave driver, its related USB command, and make the firmware updater script of the left half successfully reset the left half after firmware update.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "main.h"
|
||||
#include "slave_drivers/is31fl3731_driver.h"
|
||||
#include "slave_drivers/uhk_module_driver.h"
|
||||
#include "slave_drivers/kboot_driver.h"
|
||||
#include "i2c.h"
|
||||
#include "i2c_addresses.h"
|
||||
|
||||
@@ -39,6 +40,11 @@ uhk_slave_t Slaves[] = {
|
||||
.update = LedSlaveDriver_Update,
|
||||
.perDriverId = LedDriverId_Left,
|
||||
},
|
||||
{
|
||||
.init = KbootSlaveDriver_Init,
|
||||
.update = KbootSlaveDriver_Update,
|
||||
.perDriverId = KbootDriverId_Singleton,
|
||||
},
|
||||
};
|
||||
|
||||
static void slaveSchedulerCallback(I2C_Type *base, i2c_master_handle_t *handle, status_t previousStatus, void *userData)
|
||||
|
||||
Reference in New Issue
Block a user