pick up hex eof marker fix

This commit is contained in:
peli 2020-09-08 10:38:37 -07:00
parent f5e1e238f2
commit 11fea05486
3 changed files with 3 additions and 2 deletions

View File

@ -342,7 +342,7 @@ namespace pins {
void analogPitch(int frequency, int ms) { void analogPitch(int frequency, int ms) {
// init pins if needed // init pins if needed
if (NULL == pitchPin) { if (NULL == pitchPin) {
pitchPin = getPin((int)AnalogPin::P0); pitchPin = getPin((int)DigitalPin::P0);
#ifdef SOUND_MIRROR_EXTENSION #ifdef SOUND_MIRROR_EXTENSION
pitchPin2 = &SOUND_MIRROR_EXTENSION; pitchPin2 = &SOUND_MIRROR_EXTENSION;
#endif #endif

View File

@ -46,6 +46,6 @@
}, },
"dependencies": { "dependencies": {
"pxt-common-packages": "7.0.4", "pxt-common-packages": "7.0.4",
"pxt-core": "6.0.20" "pxt-core": "6.0.23"
} }
} }

View File

@ -35,6 +35,7 @@
"deployDrives": "MINI", "deployDrives": "MINI",
"driveName": "MINI", "driveName": "MINI",
"hexMimeType": "application/x-microbit-hex", "hexMimeType": "application/x-microbit-hex",
"moveHexEof": true,
"openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf51.cfg]", "openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf51.cfg]",
"flashUsableEnd": 242688, "flashUsableEnd": 242688,
"flashEnd": 242688, "flashEnd": 242688,