def METHOD_NAME(node):
    """
    `node.name` - a name of File System Node
    `node.get_path()` - a relative path
    `node.get_abspath()` - an absolute path
    """
    # do not modify node if file name does not contain "CompiletimeDefines.cpp"
    if "CompiletimeDefines.cpp" not in node.name:
        return node
    # now, we can override ANY SCons variables (CPPDEFINES, CCFLAGS, etc.,) for the specific file
    # pass SCons variables as extra keyword arguments to `env.Object()` function
    # p.s: run `pio run -t envdump` to see a list with SCons variables
    defines = env["CPPDEFINES"]
    defines.append(("SET_BUILD_BINARY_FILENAME", '\\"%s\\"' % create_binary_filename()))
    defines.append(("SET_BOARD_NAME", '\\"%s\\"' % get_board_name()))
    defines.append(("SET_BUILD_PLATFORM", '\\"%s\\"' % platform.platform()))
    defines.append(("SET_BUILD_GIT_HEAD", '\\"%s\\"' % get_git_description()))
    defines.append(("SET_BUILD_CDN_URL",  '\\"%s\\"' % get_cdn_url_prefix()))
    defines.append(("SET_BUILD_VERSION", compute_version_date()))
    defines.append(("SET_BUILD_UNIXTIME", create_build_unixtime()))
    defines.append(("SET_BUILD_TIME_RFC1123", '\\"%s\\"' % create_RFC1123_build_date()))
    return env.Object(
        node,
        CPPDEFINES=defines,
        CCFLAGS=env["CCFLAGS"]
    )