F2 F3 deprecate (#267)
* move f3-1 to f4, remove f3 * remove f2 * remove firmware F3 for pipeline * remove patch for F4 makefile * fix fw makefile * migrate bootloader to f4
This commit is contained in:
		
							
								
								
									
										68
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										68
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -29,22 +29,6 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          run: /syntax_check.sh
 | 
			
		||||
 | 
			
		||||
      - name: Build F2 bootloader in docker
 | 
			
		||||
        uses: ./.github/actions/docker
 | 
			
		||||
        with:
 | 
			
		||||
          run: make -C bootloader TARGET=f2
 | 
			
		||||
 | 
			
		||||
      - name: Publish F2 bootloader artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: bootloader_f2
 | 
			
		||||
          path: |
 | 
			
		||||
            bootloader/.obj/f2/bootloader.elf
 | 
			
		||||
            bootloader/.obj/f2/bootloader.bin
 | 
			
		||||
            bootloader/.obj/f2/bootloader.hex
 | 
			
		||||
          if-no-files-found: error
 | 
			
		||||
          retention-days: 7
 | 
			
		||||
 | 
			
		||||
      - name: Build local testing firmware in docker
 | 
			
		||||
        uses: ./.github/actions/docker
 | 
			
		||||
        with:
 | 
			
		||||
@@ -55,51 +39,35 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          run: make -C firmware TARGET=local APP_TEST=1 run
 | 
			
		||||
 | 
			
		||||
      - name: Build F2 firmware in docker
 | 
			
		||||
      - name: Build F4 bootloader in docker
 | 
			
		||||
        uses: ./.github/actions/docker
 | 
			
		||||
        with:
 | 
			
		||||
          run: make -C firmware TARGET=f2 APP_RELEASE=1
 | 
			
		||||
          run: make -C bootloader TARGET=f4
 | 
			
		||||
 | 
			
		||||
      - name: Publish F2 firmware artifacts
 | 
			
		||||
      - name: Publish F4 bootloader artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: firmware_f2
 | 
			
		||||
          name: bootloader_f4
 | 
			
		||||
          path: |
 | 
			
		||||
            firmware/.obj/f2/firmware.elf
 | 
			
		||||
            firmware/.obj/f2/firmware.bin
 | 
			
		||||
            firmware/.obj/f2/firmware.hex
 | 
			
		||||
            bootloader/.obj/f4/bootloader.elf
 | 
			
		||||
            bootloader/.obj/f4/bootloader.bin
 | 
			
		||||
            bootloader/.obj/f4/bootloader.hex
 | 
			
		||||
          if-no-files-found: error
 | 
			
		||||
          retention-days: 7
 | 
			
		||||
 | 
			
		||||
      - name: Build F3 bootloader in docker
 | 
			
		||||
      - name: Build F4 firmware in docker
 | 
			
		||||
        uses: ./.github/actions/docker
 | 
			
		||||
        with:
 | 
			
		||||
          run: make -C bootloader TARGET=f3
 | 
			
		||||
          run: make -C firmware TARGET=f4 APP_RELEASE=1
 | 
			
		||||
 | 
			
		||||
      - name: Publish F3 bootloader artifacts
 | 
			
		||||
      - name: Publish F4 firmware artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: bootloader_f3
 | 
			
		||||
          name: firmware_f4
 | 
			
		||||
          path: |
 | 
			
		||||
            bootloader/.obj/f3/bootloader.elf
 | 
			
		||||
            bootloader/.obj/f3/bootloader.bin
 | 
			
		||||
            bootloader/.obj/f3/bootloader.hex
 | 
			
		||||
          if-no-files-found: error
 | 
			
		||||
          retention-days: 7
 | 
			
		||||
 | 
			
		||||
      - name: Build F3 firmware in docker
 | 
			
		||||
        uses: ./.github/actions/docker
 | 
			
		||||
        with:
 | 
			
		||||
          run: make -C firmware TARGET=f3 APP_RELEASE=1
 | 
			
		||||
 | 
			
		||||
      - name: Publish F3 firmware artifacts
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: firmware_f3
 | 
			
		||||
          path: |
 | 
			
		||||
            firmware/.obj/f3/firmware.elf
 | 
			
		||||
            firmware/.obj/f3/firmware.bin
 | 
			
		||||
            firmware/.obj/f3/firmware.hex
 | 
			
		||||
            firmware/.obj/f4/firmware.elf
 | 
			
		||||
            firmware/.obj/f4/firmware.bin
 | 
			
		||||
            firmware/.obj/f4/firmware.hex
 | 
			
		||||
          if-no-files-found: error
 | 
			
		||||
          retention-days: 7
 | 
			
		||||
 | 
			
		||||
@@ -111,12 +79,12 @@ jobs:
 | 
			
		||||
      - name: Get bootloader
 | 
			
		||||
        uses: actions/download-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: bootloader_f3
 | 
			
		||||
          name: bootloader_f4
 | 
			
		||||
          path: bootloader
 | 
			
		||||
      - name: Get firmware
 | 
			
		||||
        uses: actions/download-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: firmware_f3
 | 
			
		||||
          name: firmware_f4
 | 
			
		||||
          path: firmware
 | 
			
		||||
      - name: Upload bootloader
 | 
			
		||||
        uses: burnett01/rsync-deployments@4.1
 | 
			
		||||
@@ -148,12 +116,12 @@ jobs:
 | 
			
		||||
      - name: Get bootloader
 | 
			
		||||
        uses: actions/download-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: bootloader_f3
 | 
			
		||||
          name: bootloader_f4
 | 
			
		||||
          path: bootloader
 | 
			
		||||
      - name: Get firmware
 | 
			
		||||
        uses: actions/download-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: firmware_f3
 | 
			
		||||
          name: firmware_f4
 | 
			
		||||
          path: firmware 
 | 
			
		||||
      - name: cp 
 | 
			
		||||
        run: cp ./bootloader/bootloader.bin full_firmware_latest.bin
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user