Added Simple Switch Command Between C3 and S3

This commit is contained in:
simon 2025-08-23 21:13:56 +02:00
parent 672267b991
commit a3e330ed77
3 changed files with 4475 additions and 0 deletions

View File

@ -13,6 +13,15 @@ get_code_gen:
gen_prot: gen_prot:
./alox.protogen -i prot.json -o main/uart ./alox.protogen -i prot.json -o main/uart
switch_to_s3:
idf.py set-target esp32s3
cp sdkconfig.s3 sdkconfig
idf.py build
switch_to_c3:
idf.py set-target esp32c3
cp sdkconfig.c3 sdkconfig
idf.py build
buildIdf: buildIdf:
idf.py build idf.py build
@ -26,6 +35,17 @@ flashMini2:
flashMini3: flashMini3:
idf.py flash -p /dev/ttyACM2 idf.py flash -p /dev/ttyACM2
flashCluster:
idf.py flash -p /dev/ttyACM1
idf.py flash -p /dev/ttyACM2
idf.py flash -p /dev/ttyACM3
idf.py flash -p /dev/ttyACM4
idf.py flash -p /dev/ttyACM5
idf.py flash -p /dev/ttyACM6
idf.py flash -p /dev/ttyACM7
idf.py flash -p /dev/ttyACM8
monitorMini: monitorMini:
idf.py monitor -p /dev/ttyACM0 idf.py monitor -p /dev/ttyACM0

2098
sdkconfig.c3 Normal file

File diff suppressed because it is too large Load Diff

2357
sdkconfig.s3 Normal file

File diff suppressed because it is too large Load Diff