feat: basic H7 support (#5228)

Co-authored-by: Malte Langermann <malte@langermann.net>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
Raphael Coeffic
2024-07-05 19:28:44 +10:00
committed by GitHub
co-authored by Malte Langermann 3djc raphaelcoeffic Richard Li
parent 2110f1b938
commit 6f8a5313d5
517 changed files with 461229 additions and 395603 deletions
+4 -2
View File
@@ -123,8 +123,10 @@ class ADCInputParser:
def _parse_dirs(self):
ret = []
dirs = self.hw_defs['ADC_DIRECTION'].strip('{} ').split(',')
#eprint(dirs)
dirs = self.hw_defs.get('ADC_DIRECTION') or ''
if dirs:
dirs = dirs.strip('{} ').split(',')
eprint(dirs)
for i in dirs:
ret.append(int(i))