lpcmanager
Clone
Summary
Browse
Changes
Graph
Fixed FW upload toward old MC9 based targets. New storage type parameter added to RunUpdateScript RPC was making update incompatible with older images. Added a new call instead, to be called when updating targets with MMC.
2021-04-14, Edouard Tisserant
f567170fe211
Fixed FW upload toward old MC9 based targets. New storage type parameter added to RunUpdateScript RPC was making update incompatible with older images. Added a new call instead, to be called when updating targets with MMC.
#ifdef ONBOARD_I2C
if(onboardbusfd!=-1)
close(onboardbusfd);
#endif /* ONBOARD_I2C */
#ifdef CAN0_EN_GPIO
gpio_set_pin_value(CAN0_EN_dev, 1);
gpio_close(CAN0_EN_dev);
#endif /* CAN0_EN_GPIO */
#ifdef CAN1_EN_GPIO
gpio_set_pin_value(CAN1_EN_dev, 1);
gpio_close(CAN1_EN_dev);
#endif /* CAN1_EN_GPIO */
gpio_set_pin_value(RUN_LED_dev, 1);
gpio_close(RUN_LED_dev);