-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial support for CH559 (WIP/RFC) (#29)
* Add WIP chtool upload Add uploader to support CH55x MCS-51 USB chips * Add CH559 board definition * Update ch559.json change f_cpu to match reset state, per data sheet: After reset, Fosc = 12MHz, Fpll = 288MHz, Fusb4x = 48MHz, Fsys = 12MHz. * fix the omission of "env.Replace" Now working with manual placement of ch55xtool.py in project folder * update python3 to $PYTHONEXE Per #29 (comment)
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"build": { | ||
"f_cpu": "12000000L", | ||
"size_iram": 256, | ||
"size_xram": 6144, | ||
"size_code": 65536, | ||
"size_heap": 128, | ||
"mcu": "ch559", | ||
"cpu": "mcs51" | ||
}, | ||
"frameworks": [], | ||
"upload": { | ||
"maximum_ram_size": 6400, | ||
"maximum_size": 65536, | ||
"protocol": "ch55x" | ||
}, | ||
"name": "CH559", | ||
"url": "http://www.wch-ic.com/products/CH559.html", | ||
"vendor": "WCH" | ||
} |
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