Prvni ulozeni z chegewara githubu
This commit is contained in:
24
tests/democfg/cfg.json
Normal file
24
tests/democfg/cfg.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"targets": [
|
||||
{
|
||||
"name": "esp32",
|
||||
"fqbn":[
|
||||
"espressif:esp32:esp32:PSRAM=enabled,PartitionScheme=huge_app,FlashMode=dio",
|
||||
"espressif:esp32:esp32:PSRAM=enabled,PartitionScheme=huge_app,FlashMode=dout",
|
||||
"espressif:esp32:esp32:PSRAM=enabled,PartitionScheme=huge_app,FlashMode=qio"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "esp32s2",
|
||||
"fqbn": ["espressif:esp32:esp32s2:PSRAM=enabled,PartitionScheme=huge_app"]
|
||||
},
|
||||
{
|
||||
"name": "esp32c3",
|
||||
"fqbn": ["espressif:esp32:esp32c3:PartitionScheme=huge_app"]
|
||||
},
|
||||
{
|
||||
"name": "esp32s3",
|
||||
"fqbn": ["espressif:esp32:esp32s3:PSRAM=opi,USBMode=default,PartitionScheme=huge_app"]
|
||||
}
|
||||
]
|
||||
}
|
11
tests/democfg/democfg.ino
Normal file
11
tests/democfg/democfg.ino
Normal file
@ -0,0 +1,11 @@
|
||||
void setup(){
|
||||
Serial.begin(115200);
|
||||
while (!Serial) {
|
||||
;
|
||||
}
|
||||
|
||||
Serial.println("Hello cfg!");
|
||||
}
|
||||
|
||||
void loop(){
|
||||
}
|
2
tests/democfg/test_democfg.py
Normal file
2
tests/democfg/test_democfg.py
Normal file
@ -0,0 +1,2 @@
|
||||
def test_cfg(dut):
|
||||
dut.expect('Hello cfg!')
|
Reference in New Issue
Block a user