I can build the firmware on my laptop if I pull from skyrocket
[john@herja ardupilot]$ git remote -v
origin https://github.com/SkyRocketToys/ardupilot.git (fetch)
origin https://github.com/SkyRocketToys/ardupilot.git (push)
[john@herja ardupilot]$ git branch
master
* skyviper2018
[john@herja ardupilot]$
But when I pull from the ardupilot on github
[john@herja ardupilot]$ git remote -v
origin https://github.com/ArduPilot/ardupilot (fetch)
origin https://github.com/ArduPilot/ardupilot (push)
[john@herja ardupilot]$ git branch
Copter-3.5
Copter-3.6
list
* master
[john@herja ardupilot]$
I get the following error
[7/7] Linking build/skyviper-f412/modules/ChibiOS/libch.a
[1/96] ChibiOS: Compiling crt0_v7m.S
[2/96] ChibiOS: Compiling vectors.S
[3/96] ChibiOS: Compiling chcoreasm_v7m.S
[4/96] ChibiOS: Compiling chcore.c
[5/96] ChibiOS: Compiling chcore_v7m.c
[6/96] ChibiOS: Compiling crt1.c
[7/96] ChibiOS: Compiling chprintf.c
In file included from ../../modules/ChibiOS/os/hal/ports/STM32/STM32F4xx/hal_lld.h:33:0,
from ../../modules/ChibiOS/os/hal/include/hal.h:122,
from ../../modules/ChibiOS/os/hal/lib/streams/chprintf.c:31:
../../modules/ChibiOS/os/hal/ports/STM32/STM32F4xx/hal_lld_type1.h:1776:2: error: #error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
#error "STM32_PLLI2SVCO outside acceptable range (STM32_PLLVCO_MIN...STM32_PLLVCO_MAX)"
^~~~~
make: *** [modules/ChibiOS/obj/chprintf.o] Error 1
Waf: Leaving directory `/home/john/Repos/ardupilot/build/skyviper-f412'
Build failed
-> task in 'ChibiOS_lib' failed (exit status 2):
One thing that doesn’t look right to me. I my build starts out with a bunch of warnings…
Note: message DATA64 is longer than 64 bytes long (74 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message DATA96 is longer than 64 bytes long (106 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Note: message REMOTE_LOG_DATA_BLOCK is longer than 64 bytes long (214 bytes), which can cause fragmentation since many radio modems use 64 bytes as maximum air transfer unit.
Anyone got any ideas?
Johno