def METHOD_NAME():
    global c
    global link
    global asm
    global utils
    asm.assembler = asm.GccAssembler(root + "cross/arm_cortex/bin/arm-none-eabi-")
    c.compiler = c.GccCompiler(root + "cross/arm_cortex/bin/arm-none-eabi-")
    link.linker = link.GccLinker(root + "cross/arm_cortex/bin/arm-none-eabi-")
    c.flags.extend(["-mcpu=cortex-m0", "-mthumb", "-ffunction-sections", "-fdata-sections", "-fno-builtin-fprintf", "-fno-builtin-printf"])
    c.defines["LPC11XX"] = 1
    link.local_flags.extend(["-mcpu=cortex-m0", "-mthumb", "-nostartfiles", "-nostdlib", "-Wl,--gc-sections"])
    link.local_flags.extend(["-Tflash.lds", "-L" + root + "Projects/lpc11xx/core", root + "Projects/lpc11xx/core/" + emk.build_dir + "/board_cstartup.o"])
    link.local_syslibs += ["gcc"]
    link.depdirs += [root + "Projects/lpc11xx/stdlib"]
    def do_objcopy(produces, requires):
        utils.call(root + "cross/arm_cortex/bin/arm-none-eabi-objcopy", "-O", "binary", requires[0], produces[0])
    def handle_exe(path):
        emk.depend(path, root + "Projects/lpc11xx/core/" + emk.build_dir + "/board_cstartup.o")
        emk.rule(do_objcopy, path + ".bin", path, cwd_safe=True, ex_safe=True)
        emk.autobuild(path + ".bin")
    link.exe_funcs.append(handle_exe)
    link.strip = True
    emk.recurse(root + "Projects/lpc11xx/core")