This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
[ 0] { | |
:id => "1", | |
:name => "Po1", | |
:flags => [ | |
[0] { | |
:id => "S", | |
:name => "Layer2" | |
}, | |
[1] { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as root | |
mkfs.msdos -C ~/test/gotek/DISKLABEL.img 1440 | |
mkdir /media/floppy/ | |
mount -o loop ~/test/gotek/DISKLABEL.img /media/floppy/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source /srv/esphome/bin/activate | |
/srv/esphome/esphome /srv/esphome/ dashboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export ESPHOME_IS_HA_ADDON=true | |
while IFS=, read -r device | |
do | |
esphome compile ${device}.yaml | |
done < devices_prod.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
device: car1 | |
name: CAR1 | |
comment: "car1" | |
esphome: | |
name: mcu-${device} | |
comment: ${comment} | |
on_loop: | |
then: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONFIG_LOW_LEVEL_OPTIONS=y | |
# CONFIG_MACH_AVR is not set | |
# CONFIG_MACH_ATSAM is not set | |
# CONFIG_MACH_ATSAMD is not set | |
# CONFIG_MACH_LPC176X is not set | |
CONFIG_MACH_STM32=y | |
# CONFIG_MACH_HC32F460 is not set | |
# CONFIG_MACH_RP2040 is not set | |
# CONFIG_MACH_PRU is not set | |
# CONFIG_MACH_AR100 is not set |