Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Arduino M0 Pro support#4831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
gandarez wants to merge1 commit intotinygo-org:release
base:release
Choose a base branch
Loading
fromgandarez:arduino-m0-pro

Conversation

gandarez
Copy link
Contributor

@gandarezgandarez commentedMar 25, 2025
edited
Loading

This is an ongoing PR.

It was heavily based onboards.txt from Arduino repo.

It fails to build with:

tinygo flash -target arduino-m0-pro ./main.goAvrdude version 8.0Copyright see https://github.com/avrdudes/avrdude/blob/main/AUTHORSSystem wide configuration file is /opt/homebrew/etc/avrdude.confUser configuration file <User>/.avrduderc does not existWarning: system wide configuration file version (7.3)does not match Avrdude build version (8.0)Using port            : /dev/cu.usbmodem004F1Using programmer      : stk500v2Setting baud rate     : 57600AVR part              : ATmega2560Programming modes     : SPM, ISP, HVPP, JTAGProgrammer type       : STK500V2Description           : Atmel STK500 version 2.x firmwareProgrammer model      : AVRISPHW version            : 3FW Version Controller : 4.05Vtarget               : 0.0 VSCK period            : 0.1 usAVR device initialized and ready to accept instructionsDevice signature = 1E 98 01 (ATmega2560)Auto-erasing chip as flash memory needs programming (-U flash:w:...)specify the -D option to disable this featureErased chipReading 6184 bytes for flash from input file main.hexin 1 section [0x2000, 0x3827]: 25 pages and 216 pad bytesWriting 6184 bytes to flashWriting | ################################################## | 100% 0.21 s Reading | ################################################## | 100% 0.18 s Warning: flash verification mismatch  device 0xff != input 0x00 at addr 0x2000 (error)  device 0xff != input 0x08 at addr 0x2001 (error)  device 0xff != input 0x00 at addr 0x2002 (error)  device 0xff != input 0x20 at addr 0x2003 (error)  device 0xff != input 0x19 at addr 0x2004 (error)  device 0xff != input 0x32 at addr 0x2005 (error)  device 0xff != input 0x00 at addr 0x2006 (error)  device 0xff != input 0x00 at addr 0x2007 (error)  device 0xff != input 0x37 at addr 0x2008 (error)  device 0xff != input 0x21 at addr 0x2009 (error)  suppressing further verification errorsError: flash verification mismatchAvrdude done.  Thank you.failed to flash /var/folders/m4/q3fvlgld52d2m3k1wmmvb1pm0000gn/T/tinygo2035335312/main.hex: exit status 1

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@gandarez

[8]ページ先頭

©2009-2025 Movatter.jp