nxp_ucans32k146:Add Can Bootloader build

nxp_ucans32k146:Relocation for Bootloader

nxp_ucans32k146:can_boot enable CAN

nxp_ucans32k146:Save Space use Non Optimize memcpy

nxp_ucans32k146:Increase to 24K

nxp/ucans32k146:Canbootloader LED Driver

nxp_ucans32k146:Can bootloader shut down CAN

nxp_ucans32k146:Use NVMEEPROM for Paramaters

nxp_ucans32k146:Use bootloader AppDescriptor

px4 mtd:Support onchip emulated eeprom
This commit is contained in:
David Sidrane
2021-02-24 19:20:15 +01:00
committed by Lorenz Meier
parent 62c0c96749
commit dd3c3098f2
18 changed files with 921 additions and 63 deletions
@@ -48,6 +48,7 @@ typedef struct {
enum px4_bus_type {
I2C = 0,
SPI = 1,
ONCHIP = 2,
} bus_type;
uint32_t devid;
+5 -1
View File
@@ -334,8 +334,12 @@ memoryout:
if (mtd_list->entries[i]->device->bus_type == px4_mft_device_t::I2C) {
rv = at24xxx_attach(instances[i]);
} else {
} else if (mtd_list->entries[i]->device->bus_type == px4_mft_device_t::SPI) {
rv = ramtron_attach(instances[i]);
} else if (mtd_list->entries[i]->device->bus_type == px4_mft_device_t::ONCHIP) {
instances[i].n_partitions_current++;
return 0;
}
if (rv != 0) {