Files
charge-controller-firmware/linker_flags_newlib-nano.py
T
hogthrob 987a6d8894 Increase Efficiency: Use MPPT mode more often (#49)
The dcdc_control now better controls which mode (boost vs. buck) is being
used when: If configured in Buck mode, boost mode is never used.

The _dcdc_control function now "knows" if it is in boost or buck mode (dcdc_dir)

The no load condition now uses the dcdc transfer power as measure, not the out current
which is not reflecting the "no dcdc load" condition correctly if a load is connected
2019-10-01 14:40:16 +02:00

19 lines
559 B
Python

# Custom settings, as referred to as "extra_script" in platformio.ini
#
# See http://docs.platformio.org/en/latest/projectconf.html#extra-script
# and https://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#extra-linker-flags-without-wl-prefix
#
# We are setting the required linker flags for use of newlib-nano
Import("env")
env.Append(
LINKFLAGS=[
"-Wl,-u,_printf_float",
"--specs=nano.specs",
"--specs=nosys.specs"
])
env.Append( CXXFLAGS=[ "-Wno-register" ] )