...
 
Commits (2)
......@@ -41,15 +41,15 @@ build:
script:
- git submodule sync --recursive
- git submodule update --init --recursive
- make modalai_fc1_bl
- make modalai_fc_v1_bl
- DATE=$(date +"%Y-%m-%d--%H-%M")
- DEST_DIR=/tank/modalai/public/px4/bootloader/
- mkdir -p $DEST_DIR/$DATE/
- rm -rf $DEST_DIR/latest/
- mkdir -p $DEST_DIR/latest/
- cp build/modalai_fc1_bl/modalai_fc1_bl.bin $DEST_DIR/$DATE/
- cp build/modalai_fc1_bl/modalai_fc1_bl.hex $DEST_DIR/$DATE/
- cp build/modalai_fc1_bl/modalai_fc1_bl.bin $DEST_DIR/latest/
- cp build/modalai_fc1_bl/modalai_fc1_bl.hex $DEST_DIR/latest/
- cp build/modalai_fc_v1_bl/modalai_fc_v1_bl.bin $DEST_DIR/$DATE/
- cp build/modalai_fc_v1_bl/modalai_fc_v1_bl.hex $DEST_DIR/$DATE/
- cp build/modalai_fc_v1_bl/modalai_fc_v1_bl.bin $DEST_DIR/latest/
- cp build/modalai_fc_v1_bl/modalai_fc_v1_bl.hex $DEST_DIR/latest/
only:
- modalai-fc1
......@@ -75,7 +75,7 @@ TARGETS = \
px4iov3_bl \
tapv1_bl \
smartap_pro_bl \
modalai_fc1_bl
modalai_fc_v1_bl
all: $(TARGETS) sizes
......@@ -145,8 +145,8 @@ avx_v1_bl:$(MAKEFILE_LIST) $(LIBOPENCM3)
smartap_pro_bl:$(MAKEFILE_LIST) $(LIBOPENCM3)
${MAKE} ${MKFLAGS} -f Makefile.f7 TARGET_HW=SMARTAP_PRO LINKER_FILE=stm32f7.ld TARGET_FILE_NAME=[email protected]
modalai_fc1_bl:$(MAKEFILE_LIST) $(LIBOPENCM3)
${MAKE} ${MKFLAGS} -f Makefile.f7 TARGET_HW=MODALAI_FC1 LINKER_FILE=stm32f7.ld TARGET_FILE_NAME=[email protected]
modalai_fc_v1_bl:$(MAKEFILE_LIST) $(LIBOPENCM3)
${MAKE} ${MKFLAGS} -f Makefile.f7 TARGET_HW=MODALAI_FC_V1 LINKER_FILE=stm32f7.ld TARGET_FILE_NAME=[email protected]
# Default bootloader delay is *very* short, just long enough to catch
# the board for recovery but not so long as to make restarting after a
......
......@@ -26,7 +26,7 @@ TARGET_HW_CUBE_F4 9
TARGET_HW_AV_V1 29
TARGET_HW_KAKUTEF7 123
TARGET_HW_SMARTAP_PRO 32
TARGET_HW_MODALAI_FC1 41775
TARGET_HW_MODALAI_FC_V1 41775
# values from external vendors
EXT_HW_RADIOLINK_MINI_PIX 3
......
......@@ -1048,16 +1048,16 @@
# define BOARD_LED_OFF gpio_clear
/****************************************************************************
* TARGET_HW_MODALAI_FC1
* TARGET_HW_MODALAI_FC_V1
****************************************************************************/
#elif defined(TARGET_HW_MODALAI_FC1)
#elif defined(TARGET_HW_MODALAI_FC_V1)
# define APP_LOAD_ADDRESS 0x08008000
# define BOOTLOADER_DELAY 5000
# define INTERFACE_USB 1
# define INTERFACE_USART 1
# define USBDEVICESTRING "PX4 BL ModalAI FC1"
# define USBDEVICESTRING "PX4 BL ModalAI FCv1"
# define USBMFGSTRING "ModalAI"
# define USBPRODUCTID 0xa32f
# define USBVENDORID 0x0483
......