Add VESC model 60

This commit is contained in:
Jakob Lechner 2024-07-04 21:40:33 +02:00
parent 48560242fd
commit 31564aa64f
2 changed files with 6 additions and 3 deletions

View file

@ -24,13 +24,15 @@ stdenv.mkDerivation {
];
buildCommand = ''
set -x
cp -r $src bldc
(
cd bldc
chmod +w .
#make all_fw_package
make fw_410
make fw_410 fw_60
)
cp -r bldc/build/* $out
mkdir -p $out
find bldc
cp --target-directory=$out --recursive bldc/build/*/*.{bin,hex}
'';
}

View file

@ -12,6 +12,7 @@ let
<RCC>
<qresource>
<file>410.bin</file>
<file>60.bin</file>
</qresource>
</RCC>
'';