re-add erase, change Tone TC to TC3

This commit is contained in:
ladyada 2019-04-10 08:31:22 -04:00
parent 904acd1071
commit 4f8619b918
2 changed files with 4 additions and 4 deletions

View file

@ -37,9 +37,9 @@ volatile bool toneIsActive = false;
volatile bool firstTimeRunning = false;
#if defined(__SAMD51__)
#define TONE_TC TC2
#define TONE_TC_IRQn TC2_IRQn
#define TONE_TC_GCLK_ID TC2_GCLK_ID
#define TONE_TC TC3
#define TONE_TC_IRQn TC3_IRQn
#define TONE_TC_GCLK_ID TC3_GCLK_ID
#else
#define TONE_TC TC5
#define TONE_TC_IRQn TC5_IRQn

View file

@ -117,7 +117,7 @@ tools.bossac.cmd=bossac
tools.bossac.upload.params.verbose=-i -d
tools.bossac.upload.params.quiet=
tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -U {upload.native_usb} -i -w -v "{build.path}/{build.project_name}.bin" -R
tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -U {upload.native_usb} -i -e -w -v "{build.path}/{build.project_name}.bin" -R
tools.bossac_remote.upload.pattern=/usr/bin/run-bossac {upload.verbose} --port=ttyATH0 -U {upload.native_usb} -e -w -v /tmp/sketch.bin -R