Jimmy Brisson
91e77f16cd
Import FireRef before using it
2018-07-16 14:12:00 -05:00
Jimmy Brisson
545553b6bc
Rewrite test detection to avoid relying on "inc_dirs"
2018-07-16 14:11:08 -05:00
Jimmy Brisson
8166889885
Compute inc_dirs from headers
2018-07-16 14:11:08 -05:00
Jimmy Brisson
001c2d3b3b
Revisit Mbed 2 building
...
It's much cleaner now
2018-07-16 14:11:08 -05:00
Jimmy Brisson
7a26cd8da8
Use paths in linking
2018-07-16 14:11:08 -05:00
Jimmy Brisson
de913e1ea2
Improve resources API to include more use cases
2018-07-16 14:11:08 -05:00
Jimmy Brisson
06f3fca6cf
Correct the _only_ detect_duplicates call
2018-07-16 14:11:08 -05:00
Jimmy Brisson
9326386daf
Switch to Resources in build_api and tests
2018-07-16 14:11:08 -05:00
Jimmy Brisson
361fc65f08
Allow missing toolchain parameter to get_config
2018-07-16 14:11:08 -05:00
Jimmy Brisson
4c7cf21feb
Require notifier in resources
2018-07-16 14:10:21 -05:00
Jimmy Brisson
7c42302854
Update test builder to use new resources
2018-07-16 14:10:21 -05:00
Jimmy Brisson
87146cd66a
Cleanup and reduced scanning
2018-07-16 14:10:21 -05:00
Jimmy Brisson
519e338667
Rework export resource scanning
2018-07-16 14:10:21 -05:00
Jimmy Brisson
2d8cf737e4
Move resource scanning into it's own module
2018-07-16 14:10:21 -05:00
Jimmy Brisson
6d42bd31c6
Tools: Correct release version "parsing" for py3
2018-07-11 09:46:03 -05:00
Cruz Monrreal
fab08498f8
Merge pull request #7277 from theotherjimmy/error-on-unknown-config
...
Tools: Persist config errors until validation occurs
2018-07-05 10:36:35 -05:00
jeromecoutant
e17b1df13d
build_api.py : add comment about separate_names
2018-06-29 09:30:07 +02:00
Jimmy Brisson
2a9923f86e
Skip invalid undefined errors
2018-06-28 10:26:00 -05:00
Cruz Monrreal
8baa8c5997
Merge pull request #7353 from jeromecoutant/PR_BUILDOS2
...
build_api script : separate PeripheralPins.o
2018-06-28 10:08:42 -05:00
jeromecoutant
eba9fb1f8f
build_api script : separate PeripheralPins.o
2018-06-27 17:15:37 +02:00
Jimmy Brisson
6f54a8fdd7
Check version of Mbed CLI compile
2018-06-18 14:03:09 -05:00
Cruz Monrreal
80dde0b953
Merge pull request #7092 from cmonr/py3-in-windows
...
Additional fixes for running Python 3 in Windows
2018-06-04 21:45:55 -05:00
Cruz Monrreal II
f689ace3e3
Removed extraneous file open
2018-06-04 12:02:49 -05:00
Cruz Monrreal
78d9c4f330
Merge pull request #6582 from theotherjimmy/memap-flamegraph
...
Implement zoomable html-flamegraph memap output
2018-06-04 10:48:08 -05:00
Cruz Monrreal II
cdbae994d1
Modified IntelHex tofile parameter to use path.
...
Py3 open(...) returns a BufferedReader instead of a file.
2018-06-04 09:21:43 -05:00
Cruz Monrreal
0fd5447ff7
Merge pull request #6885 from theotherjimmy/fix-startaddr-conflict
...
BL mode: Prevent jump address conflicts
2018-05-14 16:16:34 -05:00
Jimmy Brisson
4ad8ce073a
Prevent jump address conflicts in bootloader modes
2018-05-11 11:23:01 -05:00
Andrew Leech
3b79b3f65e
add `--ignore` argument to `mbed compile` & `mbed export` commands
2018-05-11 14:00:01 +10:00
Andrew Leech
badd753466
mbed test: add argument `--ignore` to allow passing in extra mbedignore args
...
In particular this allows ignoring a project main.cpp file when running unit tests
2018-05-09 10:02:02 +10:00
Cruz Monrreal
53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
...
tools: Refactor notification API
2018-05-07 10:48:48 -05:00
Jimmy Brisson
c186c3ce86
Use mocked notifier for individual tests
...
That way we separate the collection of notifications from everything else
2018-05-03 10:06:47 -05:00
Jimmy Brisson
0f7e900417
Pass app config to get config
...
This corrects a bug which would manifest as --app-config not having
much of an affect on test builds (not the first libary bulid)
2018-05-02 09:38:44 -05:00
Jimmy Brisson
fcf7dbf4c6
Use notification API in BL modes
2018-04-26 09:54:01 -05:00
Jimmy Brisson
85e33b4143
Eliminate silent option from build_project
...
It's now all handled by the notifier
2018-04-26 09:40:30 -05:00
Jimmy Brisson
72beee7e90
Refactor notification logic into it's own class
2018-04-26 09:04:26 -05:00
Jimmy Brisson
bfceb1050d
Implement zoomable html-flamegraph memap output
2018-04-09 16:33:32 -05:00
Jimmy Brisson
6cf2efa794
Prevent compiling with unsupported compilers
2018-04-04 14:02:13 -05:00
Jimmy Brisson
24c7b1a61a
Move Mbed 5 support check so that it affects the exporters
2018-03-29 14:05:23 -05:00
Laurence de Bruxelles
ce6bd9defc
Allow build profiles to omit language entries
2018-03-05 15:21:08 +00:00
Anna Bridge
8f5b857747
Merge pull request #5950 from theotherjimmy/header-config
...
Reserve and Render header in managed BL mode
2018-03-01 16:25:18 +00:00
Christopher Haster
011e018f52
Revert "Added pretty bar printing for compile output"
...
This reverts commit 471d99c68f
.
2018-02-22 22:07:22 -06:00
Jimmy Brisson
9f99330be6
Allow overriding offsets with "app_offset" and "header_offset"
2018-02-20 11:45:32 -06:00
Jimmy Brisson
deca33ff81
Calculate digests with header up to their start address
2018-02-20 11:45:32 -06:00
Jimmy Brisson
5b2d7a27d2
Require endianness specification for ints > 8 bits
2018-02-20 11:45:32 -06:00
Jimmy Brisson
4c47f21cac
Fill header in application
2018-02-20 11:45:32 -06:00
Tero Jääskö
faabde13a1
tools: build: fix handing of "--stats-depth"
...
The introduction of pretty-bar had broken the handling of
"mbed compile"'s "--stats-depth" argument. No matter what one gave
as parameter to it, the result output is just using the default 2.
Fix the logic in build_api.
2018-02-13 15:35:01 +02:00
Cruz Monrreal
c679dee286
Merge pull request #5848 from theotherjimmy/compile-py3
...
Python2+3: mbed compile, mbed test --compile, python unit tests
2018-02-07 15:48:18 -06:00
Jimmy Brisson
c93a2bfa4c
Python2+3: Use absolute import where possible
2018-02-05 11:07:37 -06:00
Jimmy Brisson
68737f2762
Python2+3: Things import
2018-02-05 11:03:44 -06:00
Jimmy Brisson
c09142e82c
Don't bother padding hex files for managed bl
2018-02-02 15:44:32 -06:00