Damien George
d53c3b6ade
unix/variants: Remove variant suffix from executable filename.
The executable now lives in the build directory, and since the build
directory already contains the variant name there is no need to also add
it to the executable.
Signed-off-by: Damien George <damien@micropython.org>
2 years ago
Damien George
dea1ba3309
tools/metrics.py: Add mimxrt and renesas-ra to list of available ports.
Signed-off-by: Damien George <damien@micropython.org>
2 years ago
Damien George
b74dc546fc
tools/metrics.py: Add rp2 port to table of ports that can be built.
Signed-off-by: Damien George <damien@micropython.org>
4 years ago
Damien George
d35f12f5ca
tools/metrics.py: Fix esp32 output filename due to move to CMake.
Signed-off-by: Damien George <damien@micropython.org>
4 years ago
Damien George
17dc86369f
tools/metrics.py: Use OrderedDict when reading build log.
So that the output (eg of the diff command) always has the lines in the
same order.
5 years ago
Damien George
1cc24cd39a
tools/metrics.py: Don't build mpy-cross if not needed by any ports.
To save build time.
5 years ago
Damien George
a4423570e2
tools/metrics.py: Add option to diff to error if delta above threshold.
Useful for things like CI where the size check is automated.
5 years ago
Damien George
554c01fc25
tools/metrics.py: Use check_call instead of run to error out on error.
5 years ago
Damien George
69661f3343
all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
5 years ago
Damien George
a11e306227
tools: Add metrics.py script to build and compute port sizes/metrics.
5 years ago