make tqdm optional,

localize .gitignore files
This commit is contained in:
Arthur Lu 2022-08-20 03:40:35 +00:00
parent 550a72588d
commit cba9ede657
3 changed files with 7 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
**/*.bin
**/machine_code.txt

2
firmware/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
**/*.bin
**/machine_code*

View File

@ -1,6 +1,10 @@
from re import M from re import M
import sys import sys
from tqdm import tqdm try:
from tqdm import tqdm
except:
def tqdm(a, *args, **kwargs):
return a
reg_map = { reg_map = {
'r0': 0, 'r0': 0,