giuliomoro I tried to update the board with the script, and this is the output:
DATE=2023-12-17T13:40:41Z
FILENAME=Bela-master
METHOD=update_board
Checking the board is up and running at root@192.168.7.2...Warning: Permanently added '192.168.7.2' (ED25519) to the list of known hosts.
done
Board found at root@192.168.7.2
Updating the Bela core code in root@192.168.7.2:/root/Bela
All the changes to the CORE files in the remote folder /root/Bela will be LOST. The content of these files/folders will be lost:
core include Makefile Makefile.libraries Makefile.linkbela examples Doxyfile scripts resources pru libraries
Your projects stored in /root/Bela/projects should be safe (and surely you have already backed them up somewhere safe, haven't you?).
Are you sure you want to continue? (y/N) y
Updating Bela core files to remote folder /root/Bela
Stopping Bela...done
Updating files...done
Scope
Using library Scope
Using library WSServer
Using library ne10
Midi
Using library Midi
Gui
Using library Gui
Using library WSServer
Trill
Using library Trill
Pipe
Using library Pipe
make: Entering directory '/root/Bela/resources/tools/bela-cape-btn'
gcc bela-cape-btn.c -o bela-cape-btn
bela-cape-btn.c: In function 'run':
bela-cape-btn.c:420:22: error: 'pfd' undeclared (first use in this function)
int result = poll(pfd, 1, pollTime);
^~~
bela-cape-btn.c:420:22: note: each undeclared identifier is reported only once for each function it appears in
Makefile:26: recipe for target 'bela-cape-btn' failed
make: *** [bela-cape-btn] Error 1
make: Leaving directory '/root/Bela/resources/tools/bela-cape-btn'
An error occurred.
Then I updated the IDE with the script and it worked fine. Version details gives me this:
Image:
Unknown
Core code:
Last attempted update on '17 Dec 2023 15:32:18 '
via 'make update (legacy)'
Git desc: '60b39c7-dirty'
Trying to update the board through the IDE now fails with this:
Upload completed, saving update file...
unzipping and validating update...
Validating archive...
uncompressed size: 109452571
Unzipping archive...
Validating unzipped archive...
...done
Applying update...
No process to kill
Copying /root/Bela to /tmp/belaPatch ...
Applying patch in /tmp/belaPatch...
Makefile:760: recipe for target 'update' failed
make: *** [update] Error 1
Error updating the board: `Error: make update failed with code 2`. Please try a different zip archive