Возможность использовать SPI флеш для EEPROM

Поддержка sd карт SDv2
Загрузка прошивки по WIFI
This commit is contained in:
Sergey
2020-05-27 15:29:27 +03:00
parent 2809a86822
commit db29115cf3
21 changed files with 778 additions and 145 deletions

View File

@@ -42,3 +42,9 @@ def encrypt(source, target, env):
destination = target[0].dir.path +'/Robin_nano35.bin'
shutil.copyfile(source, destination)
env.AddPostAction("$BUILD_DIR/${PROGNAME}.bin", encrypt);
env.Replace(
UPLOADER="curl",
UPLOADCMD="$UPLOADER -v -H 'Content-Type:application/octet-stream' http://$UPLOADERFLAGS/upload?X-Filename=Robin_Nano35.bin --data-binary @$BUILD_DIR/Robin_nano35.bin"
)