Skip to content

Commit fe753d9

Browse files
committed
Adhere to styling conventions
1 parent 6b84e6b commit fe753d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

esp32_ulp/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from .link import make_binary
1313
garbage_collect('after import')
1414

15+
1516
def src_to_binary_ext(src, cpu):
1617
assembler = Assembler(cpu)
1718
src = preprocess(src)
@@ -21,12 +22,14 @@ def src_to_binary_ext(src, cpu):
2122
text, data, bss_len = assembler.fetch()
2223
return make_binary(text, data, bss_len), addrs_syms
2324

25+
2426
def src_to_binary(src, cpu):
2527
binary, addrs_syms = src_to_binary_ext(src, cpu)
2628
for addr, sym in addrs_syms:
2729
print('%04d %s' % (addr, sym))
2830
return binary
2931

32+
3033
def assemble_file(filename, cpu):
3134
with open(filename) as f:
3235
src = f.read()

0 commit comments

Comments
 (0)