Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Board definition file for Industruino D21G boards. first commit towards - #27
This still has some problems when compiling, variant.h from Industruino does not #define A0
A1, A2 or A3. causing wiring_analogue.c to not compile. Fixed that up in the Variant.h for now by hand
and submitted a bug report to their githubs.
still fails on program & verify
CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/industruino_d21g.html
PLATFORM: Atmel SAM 3.8.0 > Industruino D21G
HARDWARE: SAMD21G18A 48MHz, 32KB RAM, 256KB Flash
DEBUG: Current (atmel-ice) On-board (cmsis-dap) External (atmel-ice, blackmagic, jlink)
PACKAGES: toolchain-gccarmnoneeabi 1.70201.0 (7.2.1), framework-arduinosam 4.3.190711, tool-bossac 1.10700.190624 (1.7.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 16 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.2.0
| |-- 1.0
|-- 1.1.0
|-- <FreeRTOS_SAMD21> 1.0.0
Checking size .pio\build\industruino_d21g\firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [===== ] 52.7% (used 17280 bytes from 32768 bytes)
PROGRAM: [= ] 10.6% (used 27824 bytes from 262144 bytes)
Configuring upload protocol...
AVAILABLE: atmel-ice, blackmagic, cmsis-dap, jlink, sam-ba
CURRENT: upload_protocol = sam-ba
Looking for upload port...
Auto-detected: COM4
Forcing reset using 1200bps open/close on port COM4
Waiting for the new upload port...
Uploading .pio\build\industruino_d21g\firmware.bin
Atmel SMART device 0x10010005 found
Erase flash
done in 0.828 seconds
Write 27824 bytes to flash (435 pages)
[==============================] 100% (435/435 pages)
done in 0.144 seconds
Verify 27824 bytes of flash with checksum.
Verify failed
*** [upload] Error 2
=================================================================================================== [ERROR] Took 11.27 seconds ===================================================================================================
The terminal process terminated with exit code: 1