mirror of
https://github.com/MikronMIK32/mik32-uploader.git
synced 2026-10-30 02:11:13 +03:00
WIP
This commit is contained in:
1 parent
4b257406e1
commit
9e1c817cf2
8 files changed
+74
-27
No files matched your search
@@ -0,0 +1,3 @@
|
||||
from parsers import RecordType
|
||||
|
||||
def parse(str) ->
|
||||
@@ -0,0 +1,16 @@
|
||||
from enum import Enum
|
||||
from typing import List, Tuple
|
||||
import parser_hex
|
||||
|
||||
|
||||
class RecordType(Enum):
|
||||
DATA = 1
|
||||
|
||||
|
||||
def parse_line(line: str, file_extension: str) -> Tuple[RecordType, List[int]]:
|
||||
record: Tuple[RecordType, List[int]]
|
||||
|
||||
if file_extension == ".hex":
|
||||
|
||||
|
||||
return record
|
||||
Reference in new issue
Block a user