Where is compiled px4 v1.15.4?

Hi!

How can I find the compiled px4 firmware v1.15.4 for the Cuav X7pro+?

There are two archives with only the source code - Release v1.15.4 - Stable Release · PX4/PX4-Autopilot · GitHub

Easiest would be to download the github repo, checkout the tag git checkout v1.15.4and then compile for your flight controller.
I’m not sure why they remove all previous binaries after a new release.

1 Like

hey,

As we move versions, the previous builds are no longer available and you should build them for your board locally.

Thanks for your reply.

It’s a shame the developers are removing them. Are they really that worried about wasting disk space?

This method seems obvious to me )

I thought maybe there was a firmware archive somewhere and I could just download the one I needed.

@vnr Please be kind, we are all contributors to an open source project with limited financial resources.
Besides, this will encourage users to move to the lates versions.
Although, we keep source code of previous versions.

If it weren’t for this annoying bug “ Optical Flow doesn't work on 1.16.x (latest) ”, I wouldn’t have even tried to switch to the old firmware.

The ARK Flow works on 1.16, I’m not sure what’s different about the mtf sensor that causes it to fail. I ordered one and will test it out.

And fwiw I do agree it would make sense to keep 2 stable versions around on S3. You could bring it up on the dev call.

Here’s a little quip about compiling 1.15.4 - can anyone tell me what I’m doing wrong? 1.16 compiles just fine using the same method.

Below is the exact sequence of commands and what it all led to:

$ cd ~
$ git clone --branch v1.15.4 
 --recursive
$ cd PX4-Autopilot/
$ git checkout tags/v1.15.4
$ make cuav_x7pro_default
…
…
…
[482/1287] Building CXX object platforms/common/CMakeFiles/px4_platform.dir/spi.cpp.obj
FAILED: platforms/common/CMakeFiles/px4_platform.dir/spi.cpp.obj
/usr/bin/ccache /usr/bin/arm-none-eabi-g++ -DCONFIG_ARCH_BOARD_CUAV_X7PRO -D_SYS_CDEFS_H_ -D_SYS_REENT_H_ -D__CUSTOM_FILE_IO__ -D__PX4_NUTTX -D__STDC_FORMAT_MACROS -I/home/alex/PX4-Autopilot/boards/cuav/x7pro/src -I/home/alex/PX4-Autopilot/platforms/nuttx/src/px4/common/include -I/home/alex/PX4-Autopilot/build/cuav_x7pro_default -I/home/alex/PX4-Autopilot/build/cuav_x7pro_default/src/lib -I/home/alex/PX4-Autopilot/platforms/nuttx/src/px4/stm/stm32h7/include -I/home/alex/PX4-Autopilot/platforms/common -I/home/alex/PX4-Autopilot/platforms/common/include -I/home/alex/PX4-Autopilot/src -I/home/alex/PX4-Autopilot/src/include -I/home/alex/PX4-Autopilot/src/lib -I/home/alex/PX4-Autopilot/src/lib/matrix -I/home/alex/PX4-Autopilot/src/modules -I/home/alex/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/arch/arm/src/armv7-m -I/home/alex/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/arch/arm/src/chip -I/home/alex/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/arch/arm/src/common -I/home/alex/PX4-Autopilot/platforms/nuttx/NuttX/apps/include -I/home/alex/PX4-Autopilot/build/cuav_x7pro_default/external/Install/include -isystem /home/alex/PX4-Autopilot/platforms/nuttx/NuttX/include/cxx -isystem /home/alex/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/include/cxx -isystem /home/alex/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/include -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -Os -DNDEBUG -std=gnu++14 -g -fdata-sections -ffunction-sections -fomit-frame-pointer -fmerge-all-constants -fno-signed-zeros -fno-trapping-math -freciprocal-math -fno-math-errno -fno-strict-aliasing -fvisibility=hidden -include visibility.h -Wall -Wextra -Werror -Warray-bounds -Wcast-align -Wdisabled-optimization -Wdouble-promotion -Wfatal-errors -Wfloat-equal -Wformat-security -Winit-self -Wlogical-op -Wpointer-arith -Wshadow -Uninitialized -Wunknown-pragmas -Wunused-variable -Wno-missing-field-initializers -Wno-missing-include-dirs -Wno-unused-parameter -fdiagnostics-color=always -Wno-stringop-truncation -fno-builtin-printf -fno-strength-reduce -Wformat=1 -Wunused-but-set-variable -Wno-format-truncation -fcheck-new -Wreorder -Wno-overloaded-virtual -fno-rtti -fno-exceptions -fno-sized-deallocation -fno-threadsafe-statics -nostdinc++ -MD -MT platforms/common/CMakeFiles/px4_platform.dir/spi.cpp.obj -MF platforms/common/CMakeFiles/px4_platform.dir/spi.cpp.obj.d -o platforms/common/CMakeFiles/px4_platform.dir/spi.cpp.obj -c /home/alex/PX4-Autopilot/platforms/common/spi.cpp
/home/alex/PX4-Autopilot/platforms/common/spi.cpp: In function ‘int px4_find_spi_bus(uint32_t)’:
/home/alex/PX4-Autopilot/platforms/common/spi.cpp:90:59: error: the address of ‘px4_spi_buses’ will never be NULL [-Werror=address]
90 |         for (int i = 0; ((px4_spi_bus_t *) px4_spi_buses) != nullptr && i < SPI_BUS_MAX_BUS_ITEMS; ++i) {
|                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
[499/1287] Building CXX object platforms/common/uORB/CMakeFiles/uORB.dir/uORB.cpp.obj
ninja: build stopped: subcommand failed.
make: *** [Makefile:227: cuav_x7pro_default] Error 1

How was this version compiled before?

So what should I do?

I believe this is related to gcc version. Roll back to 10-2020-q4-major

Thanks for the tip, it compiled perfectly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.