Jimmy Brisson
4ad8ce073a
Prevent jump address conflicts in bootloader modes
2018-05-11 11:23:01 -05:00
Kimmo Vaisanen
b61912cbbe
Build mbed-os-example-lora only for lora targets
...
mbed-os-example-lora should be only compiled for targets which support lora.
2018-05-11 14:45:21 +03:00
Andrew Leech
3b79b3f65e
add `--ignore` argument to `mbed compile` & `mbed export` commands
2018-05-11 14:00:01 +10:00
Jaakko Heikkilä
5330fa8ce5
export: Remove debug print from sw4stm32
2018-05-09 09:03:17 +03: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
ceeedfd99c
Merge pull request #6805 from theotherjimmy/reorder-test-configs
...
tools: Reorder test configuration priority
2018-05-07 19:15:14 -05:00
Cruz Monrreal
53d3c4344f
Merge pull request #6781 from theotherjimmy/refactor-notify
...
tools: Refactor notification API
2018-05-07 10:48:48 -05:00
Cruz Monrreal
ab81b61e6c
Merge pull request #6657 from tsailer/exporter-codeblocks-ncs
...
add ncs36510 fib and trim generation
2018-05-07 10:40:51 -05:00
Cruz Monrreal
2ddce27a42
Merge pull request #6769 from theotherjimmy/fix-subtract-basepath
...
Move subtract basepath into the resources class
2018-05-07 10:33:36 -05:00
Cruz Monrreal
c52a8d6044
Merge pull request #6793 from theotherjimmy/fix-test-config-passing
...
tools: Pass app-config to get_config
2018-05-07 10:28:03 -05:00
Jaakko Heikkilä
03b16fc1c3
export: Fix invalid config header path in Sw4STM32
...
Removed tmp-path from config header path, when project is exported
in online compiler. Parallel build is enabled by default.
2018-05-07 15:27:25 +03:00
Jimmy Brisson
8e4ab30de7
Remove build_everything.py
...
It's not used
2018-05-04 11:48:17 -05:00
adbridge
cfe2676b30
Remove example update scripting from tools
...
The examples updating functionality has now been moved to the
mbed-release script and thus can be removed from here.
2018-05-04 13:57:18 +01:00
Jimmy Brisson
81f969e127
Reduce memory consumption and lock contension
...
29% speedup (old: 45sec, new: 35sec) on my machine
2018-05-03 13:47:58 -05:00
Martin Kojtal
e43d21d4ef
Merge pull request #6713 from theotherjimmy/arm-no-asm-inc
...
Drop include paths for ARM assembler
2018-05-03 16:31:04 +01: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
d338e672de
Apply subtract basepath to features
...
A bug, #6755 , was the result of the `subtract_basepath` function not
being applied to a resources object's children (it's features). This PR
fixes this bug by moving this functionality into the resources class.
Then, I applied the `subtract_basepath` method to the children resource
objects recursively. This has been tested on Partnerbeta and is to
upstream the fix.
2018-05-03 08:54:55 -05:00
Jimmy Brisson
33eb3ea427
Reorder test configs
...
Old order:
* --test-config
* --app-config
* test config (as defined in test_config)
* `mbed_app.json` in root.
New order:
* --test-config
* --app-config
* `mbed_app.json` in root.
* test config (as defined in test_config)~
This matches the documentation and user expectation
2018-05-03 08:47:12 -05:00
Jimmy Brisson
0579c7e572
Check call to get_config in test_api tests
2018-05-02 09:55:36 -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
111f086796
Create Mock notifier for use in tests
2018-05-01 09:10:59 -05:00
Jimmy Brisson
dc006d6aa3
Remove silent from test invocation
...
apparently I forgot earlier
2018-04-30 14:44:02 -05:00
Jimmy Brisson
d422a5aadc
Use notifier api in export
2018-04-30 14:42:33 -05:00
Jimmy Brisson
c686c6cb8b
Rework cc_verbose
2018-04-30 14:09:35 -05:00
Jimmy Brisson
bfc598d041
Use kwargs for formatting
2018-04-30 13:54:48 -05:00
Jimmy Brisson
f67592afc9
Correct non-verbose printing
2018-04-30 13:43:08 -05:00
Jimmy Brisson
b6b6866d38
Extend a local version of the asm cmd list
...
I was extending an object-local one instead of a call-local one
2018-04-30 09:34:32 -05:00
Jimmy Brisson
beb6d7802a
Cleanup extraneous spaces on empty lines
2018-04-30 09:30:32 -05:00
Jimmy Brisson
542bcebac7
Use notify API in post-build scripts
2018-04-27 14:46:35 -05:00
Jimmy Brisson
6b501b50d3
Move "[DEBUG]" behavior into terminal notifier
2018-04-27 14:23:44 -05:00
Cruz Monrreal
1f259a4064
Merge pull request #6644 from OpenNuvoton/nuvoton_fix_armc6_armv8m
...
Fix build tool with ARMC6/ARMv8M
2018-04-26 20:20:12 -05:00
Jimmy Brisson
8688af057f
Fix error/warning printing as links
2018-04-26 11:30:12 -05:00
Jimmy Brisson
0bbf1a26af
Correct build.py imports
2018-04-26 11:26:20 -05:00
Jimmy Brisson
98d4e1fd69
Use notification API in build.py
2018-04-26 11:26:14 -05:00
Jimmy Brisson
5c16cd3b39
Implement color terminal notifications
...
You can turn them on with MBED_COLOR=True
2018-04-26 11:23:20 -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
56ec4677b5
Clean up notifier API usage in compilers
2018-04-26 09:35:47 -05:00
Jimmy Brisson
de91c93108
Use new notifier API in test infra
2018-04-26 09:32:43 -05:00
Jimmy Brisson
3bd691a342
Move terminal notifier to it's own file
2018-04-26 09:04:26 -05:00
Jimmy Brisson
72beee7e90
Refactor notification logic into it's own class
2018-04-26 09:04:26 -05:00
Cruz Monrreal
b33ab748a7
Merge pull request #6540 from theotherjimmy/compile-check
...
Prevent compiling with unsupported compilers
2018-04-24 12:12:38 -05:00
Jimmy Brisson
da69f0165b
Correct test finding behavior
...
Scan resources ignores the build dir so we can't set it to something
dumb like the directory we want to scan
2018-04-24 10:07:16 -05:00
Jimmy Brisson
d8becaa652
Remove ASM include paths for ARM compiler
2018-04-23 15:23:00 -05:00
Cruz Monrreal
a27700da33
Merge pull request #6683 from ganesh-ramachandran/master
...
Add IAR export and nvstore page size fix for TMPM46B
2018-04-23 10:53:55 -05:00
Martin Kojtal
42d77ecd13
Merge pull request #6658 from theotherjimmy/lib-override-target
...
Allow library configs to override target configs
2018-04-19 17:41:34 +02:00
Ganesh Ramachandran
38c5997e4c
IAR export and page size fix for nvstore
2018-04-19 17:24:58 +05:30
Jimmy Brisson
7a6f2e485a
Use passed in target data everywhere when doing lib config
2018-04-18 09:12:49 -05:00
Jimmy Brisson
5b83f21cec
Return correct configuration dict
2018-04-18 09:09:29 -05:00
Martin Kojtal
7aa293b11a
Merge pull request #6441 from theotherjimmy/disable-deprecated-exporters
...
Disable all deprecated exporters
2018-04-18 14:24:47 +02:00
Martin Kojtal
099e54bc17
Merge pull request #6483 from deepikabhavnani/add_tz_functions
...
Add tz functions
2018-04-18 14:20:13 +02:00
Cruz Monrreal
934101ecf6
Merge pull request #6592 from cmonr/py3-tools-port
...
Updates tools to be runnable in Python 3
2018-04-17 15:55:15 -05:00
Jimmy Brisson
0e5cb66ca5
Allow library configs to override target configs
2018-04-17 15:48:55 -05:00
Jimmy Brisson
bc8b98358d
Correct exporting with cortex-M23 and M33
2018-04-17 12:02:08 -05:00
Thomas Sailer
004724d4d9
add ncs36510 fib and trim generation
2018-04-17 18:28:41 +02:00
Cruz Monrreal
1df9f7d450
Merge pull request #6637 from bcostm/add_iar_stm32l496ag
...
Add IAR export for STM32L496AG
2018-04-17 10:55:39 -05:00
Cruz Monrreal
43bf01008a
Merge pull request #6621 from theotherjimmy/elftools-realtek
...
Use pyelftools for Realtek post-build script
2018-04-17 10:55:13 -05:00
Cruz Monrreal
3afbfd66c7
Merge pull request #6580 from theotherjimmy/cleanup-get-config
...
Cleanup get_config (mbed compile --config)
2018-04-17 10:54:29 -05:00
Jimmy Brisson
a0b305b351
Use pyelftools for Realtek post-build script
2018-04-16 09:06:38 -05:00
ccli8
b81c0e5986
Fix build tool with ARMC6/ARMv8M
...
1. Add linking time preprocessor macro __DOMAIN_NS for non-secure build
2. For output .hex format, combine multiple .hex files (for multiple load regions) into one
This can help for Greentea test.
3. Fix 'None' build_dir with cmse_lib.o on Greentea test
2018-04-16 16:10:57 +08:00
bcostm
213f17aaf5
STM32L496AG: Add IAR export
2018-04-13 17:15:27 +02:00
Kimmo Vaisanen
14704c9387
Add iar export support for STM32L151CC
2018-04-13 14:03:00 +03:00
deepikabhavnani
40e2737414
Add SHA:d0a43b8a Conditional compilation
2018-04-11 11:47:46 -05:00
Cruz Monrreal II
85ce95d0ff
Modified error formatting to remove unicode character.
...
jsonschema's error.message returns either u' or ' in strings depending on the python version.
2018-04-10 15:19:34 -05:00
Cruz Monrreal II
b286838ebf
Updated python tools to be cimpliant with PEP 3113
2018-04-10 13:37:47 -05:00
Jimmy Brisson
854e436d92
Merge pull request #6481 from tsailer/exporter-codeblocks
...
Code::Blocks project file exporter
2018-04-09 10:13:43 -05:00
Jimmy Brisson
e80d9947e2
Shorten lines in get config
2018-04-09 09:29:43 -05:00
Jimmy Brisson
c3b9cbe3fd
Heed filters in macro printing
2018-04-09 09:27:09 -05:00
Jimmy Brisson
b384834db5
Print macros in a readable way
2018-04-09 09:26:11 -05:00
Jimmy Brisson
aac1099858
Simplify config param printing logic
2018-04-09 09:25:38 -05:00
Jimmy Brisson
cdb4e98df3
Remove needless _exit call
2018-04-09 09:25:18 -05:00
Jimmy Brisson
498afc97fa
Cleanup get_config imports
2018-04-09 09:23:15 -05:00
Jimmy Brisson
192a8e5094
Merge pull request #6530 from theotherjimmy/exclude-dot-files
...
Exclude files like `.main.cpp` from builds
2018-04-06 10:45:26 -05:00
Thomas Sailer
696a7f5bd5
generate .mbedignore files in bin and obj to prevent mbed compile from getting confused
2018-04-06 11:45:12 +02:00
Thomas Sailer
69d7c530f5
proper compile flags for Release target; add fib/trim files to .mbedignore so mbed compile doesn't pick them up
2018-04-06 11:44:59 +02:00
Thomas Sailer
7b7d5fcb91
exporter: properly export libraries
2018-04-06 11:42:23 +02:00
Thomas Sailer
84fe7ed5fd
skip -c, sort compiler options and file list
2018-04-06 11:41:49 +02:00
Thomas Sailer
8478ec253a
copy ncs36510addfib.py into project root, because it cannot be relied to be accessible in the template directory
2018-04-06 11:40:37 +02:00
Thomas Sailer
209310c54f
remove NCS36510 specific changes from this branch
2018-04-06 11:31:55 +02:00
Thomas Sailer
f53154a95e
some modifications from review
2018-04-06 11:31:55 +02:00
Thomas Sailer
ca86cbf565
Code::Blocks project file exporter
2018-04-06 11:31:55 +02:00
Jimmy Brisson
f34feddaa2
Error on invalid mbed_lib JSON
2018-04-05 14:34:00 -05:00
Jimmy Brisson
c0410d7bec
Add GCC_ARM support to all fake test targets
2018-04-05 10:11:51 -05:00
Jimmy Brisson
6cf2efa794
Prevent compiling with unsupported compilers
2018-04-04 14:02:13 -05:00
Jimmy Brisson
018596446e
Exclude files like `.main.cpp` from builds
2018-04-03 11:23:42 -05:00
Cruz Monrreal
4a5ac149ec
Merge pull request #6512 from theotherjimmy/export-check-rtos
...
Move Mbed 5 support check so that it affects the exporters
2018-04-03 11:06:55 -05:00
Cruz Monrreal
c8bd08f60e
Merge pull request #6043 from ithinuel/add-rak811
...
add support for the RAK811
2018-03-30 01:54:19 -05:00
Jimmy Brisson
24c7b1a61a
Move Mbed 5 support check so that it affects the exporters
2018-03-29 14:05:23 -05:00
Jimmy Brisson
c44dba3ef4
Minimize include path size in uvision export
2018-03-27 14:30:43 -05:00
Jimmy Brisson
b60729d147
Move filter dot into exporter base class
2018-03-27 14:30:36 -05:00
Wilfried Chauveau
78d73a1a63
add the target to travis build script & sw4stm32 export script.
2018-03-27 10:45:04 +01:00
Cruz Monrreal
c291b4ad32
Merge pull request #6428 from theotherjimmy/many-source-export
...
Avoid incorrect config errors on export with many --source
2018-03-26 14:25:53 -05:00
Jimmy Brisson
92c257709c
Disable all deprecated exporters
2018-03-23 09:56:10 -05:00
Jimmy Brisson
cd31272d4b
Avoid incorrect config errors on export
2018-03-23 09:28:49 -05:00
Jimmy Brisson
a27dd66f92
Correct get_config imports
2018-03-21 10:50:56 -05:00
Martin Kojtal
7125c8ad0b
Merge pull request #6344 from tung7970/fix-tools
...
armcc - remove fromelf output before regenerating one
2018-03-21 14:12:00 +01:00
Tony Wu
cca1d5581a
armcc - remove fromelf output before regenerating
...
Fix armcc recompile errors during elf2bin stage. Errors shown as follows:
Elf2Bin: mbed-os-example-wifi
Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
[ERROR] Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2018-03-20 16:01:22 +08:00
Cruz Monrreal
f6bcbfe1f0
Merge pull request #6356 from hug-dev/asm-include-flags
...
Add include search path when preprocessing assembly files for uvision and make_armc5 exports
2018-03-19 16:52:18 -05:00
Cruz Monrreal
4840e4d3e1
Merge pull request #6192 from theotherjimmy/export-py3
...
Correct syntax for mbed export in Py3
2018-03-19 11:20:37 -05:00
Cruz Monrreal
e01479cc06
Merge pull request #6216 from theotherjimmy/fix-online-realtek
...
Correct Realtek post-build script to work in the online compiler
2018-03-19 11:19:53 -05:00