-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for ATmega328PB, Updated github workflow
- Loading branch information
1 parent
becd5e4
commit 7af290f
Showing
4 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,4 +79,4 @@ npx mcp-can-boot-flash-app -r -f - -p m328p -m 0x0042 | |
|
||
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/) | ||
|
||
Copyright (C) 2020-2023 Peter Müller <[email protected]> [https://crycode.de](https://crycode.de) | ||
Copyright (C) 2020-2024 Peter Müller <[email protected]> [https://crycode.de](https://crycode.de) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Flash application for MCP-CAN-Boot, a CAN bus bootloader for | ||
* AVR microcontrollers attached to an MCP2515 CAN controller. | ||
* | ||
* Copyright (C) 2020-2023 Peter Müller <[email protected]> (https://crycode.de) | ||
* Copyright (C) 2020-2024 Peter Müller <[email protected]> (https://crycode.de) | ||
* License: CC BY-NC-SA 4.0 | ||
*/ | ||
|
||
|
@@ -832,6 +832,12 @@ https://github.com/crycode-de/mcp-can-boot`) | |
this.deviceSignature = [0x1E, 0x95, 0x0F]; | ||
this.deviceFlashSize = 32 * 1024; | ||
break; | ||
case 'm328pb': | ||
case 'mega328pb': | ||
case 'atmega328pb': | ||
this.deviceSignature = [0x1E, 0x95, 0x16]; | ||
this.deviceFlashSize = 32 * 1024; | ||
break; | ||
case 'm64': | ||
case 'mega64': | ||
case 'atmega64': | ||
|