Skip to content

Commit

Permalink
Merge branch 'master' into pico
Browse files Browse the repository at this point in the history
  • Loading branch information
mkellner committed Mar 20, 2021
2 parents 9561756 + e7f318d commit dcbe338
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/devices/esp32/targets/m5stack_core2/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@
"lr_pin": 0,
"dataout_pin": 2
}
},
"audioIn": {
"sampleRate": 11025,
"bitsPerSample": 16,
"i2s": {
"bck_pin": 12,
"lr_pin": 0,
"datain": 34,
"pdm": 1
}
}
},
"modules": {
Expand Down
9 changes: 9 additions & 0 deletions build/devices/esp32/targets/m5stick_c/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@
"kDelayMS, 100,",
"kDelayMS, 0"
]
},
"audioIn": {
"sampleRate": 11025,
"bitsPerSample": 16,
"i2s": {
"lr_pin": 0,
"datain": 34,
"pdm": 1
}
}
},
"modules": {
Expand Down
1 change: 1 addition & 0 deletions build/devices/esp32/targets/m5stick_c/setup-target.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class Power extends AXP192 {
this.write(0xb8, 0x80); // Enable Colume Counter
this.write(0x12, 0x4d); // Enable DC-DC1, OLED VDD, 5B V EXT
this.write(0x36, 0x5c); // PEK
this.write(0x91, 0xA0); // Set MIC voltage to 2.8V
this.write(0x90, 0x02); // gpio0
}

Expand Down

0 comments on commit dcbe338

Please sign in to comment.