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
19 lines
559 B
Python
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" ] )
|