Unification des sources CM4/CM5 : makefiles scindés (common/cm4/cm5/cm5.debug), #ifdef CIBLE_CM5 pour GPIO, correctifs get_ip_address()/signal handler/backtrace, portabilité 32/64 bits
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
# Usage : ./sync_vers_cm4.sh <IP-ou-alias-ssh>
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage : $0 <IP-ou-alias-ssh>"
|
||||
echo "NB : Le certificat est lié à une adresse précise. Si changement d'adresse cible, mettre à jour dans WSL2 par 'nano ~/.ssh/config' "
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CM4_HOST="cm4-dev"
|
||||
CM4_DEST="~/shipheart/appli"
|
||||
|
||||
echo "Synchronisation des sources vers ${CM4_HOST}:${CM4_DEST}..."
|
||||
rsync -av --delete ../sources/ ${CM4_HOST}:${CM4_DEST}/sources/
|
||||
|
||||
echo "Synchronisation des makefiles..."
|
||||
rsync -av makefile.common makefile.cm4 ${CM4_HOST}:${CM4_DEST}/make/
|
||||
|
||||
echo "Terminé. Pour compiler sur la carte :"
|
||||
echo "Terminé. Pour compiler : ssh ${CM4_HOST} 'cd ${CM4_DEST}/make && ./mak.sh'"
|
||||
Reference in New Issue
Block a user