diff --git a/adafruit_pioasm.py b/adafruit_pioasm.py index 81ce799..6471db7 100644 --- a/adafruit_pioasm.py +++ b/adafruit_pioasm.py @@ -63,7 +63,7 @@ def __init__(self, text_program: str, *, build_debuginfo=False) -> None: if program_name: raise RuntimeError("Multiple programs not supported") program_name = line.split()[1] - elif line.startswith(".offset"): + elif line.startswith(".origin"): offset = int(line.split()[1], 0) elif line.startswith(".wrap_target"): wrap_target = len(instructions)