def METHOD_NAME(bios_flash_offset):
    from litex.build.lattice.programmer import IceSugarProgrammer
    prog = IceSugarProgrammer()
    prog.METHOD_NAME(bios_flash_offset, "build/muselab_icesugar/software/bios/bios.bin")
    prog.METHOD_NAME(0x00000000,        "build/muselab_icesugar/gateware/muselab_icesugar.bin")