mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 15:34:19 +01:00
store objcopy of these extra symbols and .map from the linker distribution will have an extra debug .zip file that could be used with the exception decoder also fixes relative paths in the build-and-copy (although, yet again loses the pio target in the gui)
50 lines
1.7 KiB
Python
50 lines
1.7 KiB
Python
# coding=utf-8
|
|
#
|
|
# Original extra_scripts.py
|
|
# Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com>
|
|
#
|
|
# ldscripts, lwip patching, updated postmortem flags and git support
|
|
# Copyright (C) 2019-2021 by Maxim Prokhorov <prokhorov dot max at outlook dot com>
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
from .build import (
|
|
firmware_destination,
|
|
app_add_builder_single_source,
|
|
app_add_target_build_and_copy,
|
|
app_add_target_build_re2c,
|
|
)
|
|
from .checks import check_env, check_cppcheck, check_printsize
|
|
from .flags import app_inject_flags
|
|
from .hooks import remove_float_support, dummy_ets_printf
|
|
from .ldscripts import ldscripts_inject_libpath
|
|
from .version import app_inject_version, app_full_version_for_env
|
|
|
|
__all__ = [
|
|
"app_add_builder_single_source",
|
|
"app_add_target_build_and_copy",
|
|
"app_add_target_build_re2c",
|
|
"app_full_version_for_env",
|
|
"app_inject_flags",
|
|
"app_inject_version",
|
|
"app_version",
|
|
"check_cppcheck",
|
|
"check_env",
|
|
"check_printsize",
|
|
"dummy_ets_printf",
|
|
"firmware_destination",
|
|
"ldscripts_inject_libpath",
|
|
"remove_float_support",
|
|
]
|