Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. flight core v2 compilation

flight core v2 compilation

Scheduled Pinned Locked Moved Unsolved General Questions
14 Posts 2 Posters 1.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tomT tom

    @hockey_fan Can you send a link to the directions you're following?

    H Offline
    H Offline
    hockey_fan
    wrote on last edited by
    #5

    @tom https://docs.modalai.com/flight-core-v2-firmware/

    tomT 1 Reply Last reply
    0
    • H hockey_fan

      @tom https://docs.modalai.com/flight-core-v2-firmware/

      tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by tom
      #6

      @hockey_fan Is there a specific reason you're building the flight core firmware yourself and not loading one of our prebuilt binaries?

      Since those instructions are out of date, following them will produce an out of date binary.

      The newest pre-built binary is: http://voxl-packages.modalai.com/dists/fc-v2/staging/modalai_fc-v2_1.14.0-2.0.85.px4

      H 1 Reply Last reply
      0
      • tomT tom

        @hockey_fan Is there a specific reason you're building the flight core firmware yourself and not loading one of our prebuilt binaries?

        Since those instructions are out of date, following them will produce an out of date binary.

        The newest pre-built binary is: http://voxl-packages.modalai.com/dists/fc-v2/staging/modalai_fc-v2_1.14.0-2.0.85.px4

        H Offline
        H Offline
        hockey_fan
        wrote on last edited by
        #7

        @tom I need to make modifications to the code, that's why I want to build it.

        tomT 1 Reply Last reply
        0
        • H Offline
          H Offline
          hockey_fan
          wrote on last edited by
          #8

          I'm using the flight core v2 standalone board as a development platform with PX4 before moving on to the voxl2 board environment.

          1 Reply Last reply
          0
          • H hockey_fan

            @tom I need to make modifications to the code, that's why I want to build it.

            tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #9

            @hockey_fan Understood, I recommend doing your development off the tip of our branch instead of modalai-1.13.3:

            https://github.com/modalai/px4-firmware/tree/voxl-dev

            H 1 Reply Last reply
            0
            • tomT tom

              @hockey_fan Understood, I recommend doing your development off the tip of our branch instead of modalai-1.13.3:

              https://github.com/modalai/px4-firmware/tree/voxl-dev

              H Offline
              H Offline
              hockey_fan
              wrote on last edited by
              #10

              @tom Shall I use the .yml file mentioned at the first comment to build flight core v2, or is there a dockerfile in the repository that will work?

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hockey_fan
                wrote on last edited by
                #11

                I am still very confused on how I should build for flight core v2, and which docker file to use. Which is the git repository needed to get to the ci tools? It is not included in the regular voxl-dev repository.

                tomT 1 Reply Last reply
                0
                • H hockey_fan

                  I am still very confused on how I should build for flight core v2, and which docker file to use. Which is the git repository needed to get to the ci tools? It is not included in the regular voxl-dev repository.

                  tomT Offline
                  tomT Offline
                  tom
                  admin
                  wrote on last edited by tom
                  #12

                  @hockey_fan I recommend installing voxl-docker on your host machine, this will guide you through installing docker and the voxl-docker repo which makes building voxl packages easier.: https://docs.modalai.com/voxl-docker-and-cross-installation/#how-to-setup-voxl-docker-and-voxl-cross

                  Once done, you'll be able to do the following:

                  move into the px4-firmware directory

                  cd px4-firmware
                  

                  Mount the directory into the docker container (the first time you run this it will download the px4-dev-nuttx-focal docker image to your host machine

                  voxl-docker -i px4io/px4-dev-nuttx-focal:2022-08-12
                  

                  Once in the container:

                  make modalai_fc-v2
                  

                  This will generate the px4 build at px4-firmware/build/modalai_fc-v2_default/modalai_fc-v2_*.px4 which can be accessed inside or outside of the container

                  H 1 Reply Last reply
                  1
                  • tomT tom

                    @hockey_fan I recommend installing voxl-docker on your host machine, this will guide you through installing docker and the voxl-docker repo which makes building voxl packages easier.: https://docs.modalai.com/voxl-docker-and-cross-installation/#how-to-setup-voxl-docker-and-voxl-cross

                    Once done, you'll be able to do the following:

                    move into the px4-firmware directory

                    cd px4-firmware
                    

                    Mount the directory into the docker container (the first time you run this it will download the px4-dev-nuttx-focal docker image to your host machine

                    voxl-docker -i px4io/px4-dev-nuttx-focal:2022-08-12
                    

                    Once in the container:

                    make modalai_fc-v2
                    

                    This will generate the px4 build at px4-firmware/build/modalai_fc-v2_default/modalai_fc-v2_*.px4 which can be accessed inside or outside of the container

                    H Offline
                    H Offline
                    hockey_fan
                    wrote on last edited by
                    #13

                    @tom Thanks very much, I got it working, appreciate it.

                    tomT 1 Reply Last reply
                    0
                    • H hockey_fan

                      @tom Thanks very much, I got it working, appreciate it.

                      tomT Offline
                      tomT Offline
                      tom
                      admin
                      wrote on last edited by
                      #14

                      @hockey_fan No problem, I'll update the docs page with this info, thank you for pointing this out

                      1 Reply Last reply
                      0

                      Reading along? Create a free ModalAI Forum account to join in.

                      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

                      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      ModalAI
                      Categories Recent Tags ModalAI.com Docs
                      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups