Jimmy Brisson
4aef073327
Export, nb: Use same path for cpp as the rest of the tools
...
### Description
The netbeans exporter was being inconsistant with it's invocation of
the C pre-processor on the linker script: the C pre-processor was always
invoked from `$PATH` where as the rest of the tools were invoked as
configured by the tools. This changes the invocation of CPP to match the
rest of the tools: heed the conifguration.
Fixes https://github.com/ARMmbed/mbed-cli/issues/663
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 10:55:36 -05:00
Jimmy Brisson
d8b7b3a24a
Tools, memap: Silence warnings that we handled correctly
...
### Description
Memap will create a bunch of warnings about "Unknown object name" when
parsing a map file created for the RZ_A1H and the GR_Peach. Theses
warnings are sperious; the information in these sections does not belong
to an object file. This PR silences these warnings.
Fixes #6258
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 10:33:33 -05:00
Jimmy Brisson
7a97f480f8
Tools: Ensure vtor reserved bits are all 0
...
### Description
The VTOR reserves the lowest 7 bits. This PR changes the round up
behavoir of the application offset to make sure that the address used
for the in-flash vector table always ends in 7 0's.
Fixes #7392
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-27 10:04:19 -05:00
Juhani Puurula
e94d7d0e3f
Enabled trace, added KW24D default driver
2018-09-27 15:34:34 +03:00
Juhani Puurula
dd488f7fff
Renamed MAC tester config
2018-09-27 15:08:57 +03:00
Juhani Puurula
ad0cc2f352
Added nanostack mac tester and testcases
2018-09-27 15:08:56 +03:00
bcostm
5c34602d6b
NUCLEO_L4R5ZI: remove IAR exporter
...
The STM32L4R5ZI device has been added in IAR V8.20.1
Remove the IAR exporter until IAR V8 is supported on mbed.
2018-09-27 12:03:08 +02:00
bcostm
236396b442
NUCLEO_L4R5ZI: update iar and sw4stm32 exporters
2018-09-27 12:03:07 +02:00
Cruz Monrreal II
f5e6f16307
Enabled the removal of a trailing slash when sourcing examples from examples.json
2018-09-26 14:21:10 -05:00
Cruz Monrreal
d522880581
Removed trailing slashes in NFC examples URL
...
This apparently breaks the examples.py script.
2018-09-26 14:07:43 -05:00
Cruz Monrreal
2c870e737a
Restricted nfc example to two targets
2018-09-26 10:19:11 -05:00
Martin Kojtal
eaa5102358
Merge pull request #8014 from M-ichae-l/realtek-rtl8195am-lib-updates
...
realtek rtl8195am lib updates
2018-09-26 13:09:28 +02:00
Jimmy Brisson
f8f5bc40f6
Tools: Don't traceback on missing linker script
...
### Description
The `mbed compile` would traceback when no linker script is found.
This PR changes that behavior to make that into a NotSupportedException,
which has decent user behavior.
Fixes #7723
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-25 12:52:25 -05:00
Jimmy Brisson
f6310a00c3
Convert to a set in win2unix
2018-09-25 12:31:33 -05:00
adbridge
8ce2e5ac1d
Add back examples updated for mbed-os-5.10
...
While feature changes were being added to mbed-os a number of
examples were removed from this list due to incompatibility issues.
This PR adds those examples back in:
Filesystem,
Blockdevice,
Mesh-minimal,
Bootloader.
This PR also adds in the new NFC example.
2018-09-25 15:24:30 +01:00
Cruz Monrreal
caa4279244
Merge pull request #8023 from SiliconLabs/hotfix/nanostack-default-interface
...
Hotfix for PR #7778 on Silicon Labs targets
2018-09-21 12:50:43 -05:00
Cruz Monrreal
8f7c0ae18d
Merge pull request #8181 from OPpuolitaival/py3_support
...
Py3 support
2018-09-20 18:13:44 -05:00
Kevin Bracey
0e7eda0749
Remove IAR assembler macros containing quotes
...
IAR assembler 7.80 has some problems handling difficult macros, leading
to immediate exit with return value -11.
In particular, a URL string has been causing problems, presumably due to
the "//" resembling a comment.
A previous escaping workaround in 0d97803
seemed to work, but the crash
has still been seen with a particular target.
Previous creation of the extended command line file for the IAR
assembler was stripping quotes from macros. This rendered the resulting
definitions for string-containing macros incorrect, which means that we
can assume no assembler code is currently relying on them.
Therefore, as a precautionary measure to avoid the crash, simply remove
all macros containing strings when creating them for IAR. This
apparently clears the crashes seen during testing of
https://github.com/ARMmbed/mbed-os/pull/8023
2018-09-20 15:51:51 +03:00
Olli-Pekka Puolitaival
822fd37a97
Move exception earlier
2018-09-20 10:55:30 +03:00
Martin Kojtal
81d0948c09
Merge pull request #8025 from deepikabhavnani/flag_update
...
Align to CMSIS defines for Non-Secure
2018-09-19 14:18:41 +02:00
Olli-Pekka Puolitaival
f5ad414cca
Check that TEST_APPS folder exists
2018-09-19 14:18:07 +03:00
Olli-Pekka Puolitaival
b8b11f0c8b
Move exception in two lines that traceback looks better
2018-09-19 14:11:40 +03:00
Olli-Pekka Puolitaival
55336b034d
Py3 support back. Reverted accidentially in icetea changes rebase
2018-09-19 13:59:28 +03:00
Steven
736fc2a363
Supply default test config for TB_SENSE_1 as well
2018-09-19 12:30:21 +02:00
Steven
9a0fc98bdc
Hotfix for PR #7778
...
TB_SENSE_12 would have been left behind by the changes in #7778 . This commit implements the changes in mbed to allow targets to provide a default network interface for Silicon Labs targets.
2018-09-19 12:30:21 +02:00
Martin Kojtal
0f1075cbd8
Merge pull request #8104 from theotherjimmy/mbed-dm-help
...
`mbed dm`: Remove references to internal script from help
2018-09-19 11:21:15 +02:00
Andrew Leech
340f0a6a57
Ensure target bootloader settings can be overridden in mbed_app.json
...
Values like `target.mbed_rom_start` were being replaced by None and then ignored.
2018-09-19 15:35:13 +10:00
bcostm
4d55e1b449
STM32: add missing IAR exporters
2018-09-18 14:57:09 +02:00
Jammu Kekkonen
49572d570a
Change update file format to binary to all targets
...
- Change the default file format to binary for all targets, even though some targets need hex as app format, updater always needs bin for now
- Unify the file name generation from generator side and usage side for the update bin
2018-09-18 12:13:29 +03:00
Cruz Monrreal
3da606e586
Merge pull request #8017 from TTornblom/master
...
IAR: Fix for #7662 , only massage the error decode URL for the IAR .xcl
2018-09-17 19:46:12 -05:00
Cruz Monrreal
7a0c9a640e
Merge pull request #8137 from OPpuolitaival/icetea_hw_restriction
...
Icetea hw restriction
2018-09-17 10:06:55 -05:00
Martin Kojtal
40e9f41b4b
Merge pull request #7821 from klaas019/master
...
Add license files for MTS bootloaders
2018-09-17 14:22:53 +02:00
Cruz Monrreal
77e073038d
Merge pull request #8063 from theotherjimmy/mbed-dm-api-key
...
`mbed dm`: Accept api key and host on the command line
2018-09-14 14:44:29 -05:00
Olli-Pekka Puolitaival
ed18665807
Fix icetea run in case that user has different boards connected same time
2018-09-14 16:29:09 +03:00
Olli-Pekka Puolitaival
1981728be9
Fix tests
2018-09-14 13:57:08 +03:00
Olli-Pekka Puolitaival
cd628a77a2
Include run_icetea unittests also in pytest run
2018-09-14 13:49:41 +03:00
Russ Butler
ab50681c33
Rename device option STCLK_OFF_DURING_SLEEP
...
Rename STCLK_OFF_DURING_SLEEP to SYSTICK_CLK_OFF_DURING_SLEEP to avoid
confusion with the STmicroelectronics.
2018-09-12 14:40:25 -05:00
Jimmy Brisson
4f1c1d90e5
`mbed dm`: Remove references to internal script from help
...
### Description
Now that we are delegating the help text to `device_managment.py`,
it should print out help as if it's invoked with `mbed device-management`.
This PR changes the argument parser and the help text to do just that.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-12 11:05:42 -05:00
Brendan Moran
989f3947c3
Remove trailing reference to user.full_name
2018-09-11 18:42:17 +01:00
Brendan Moran
f8cd593c6e
BUGFIX: Remove account management API calls
...
Developer API keys don't have the privileges required to get information about their owners. To correct for this, remove user name reporting and use the API key `owner_id` directly.
Fixes: IOTAUTH-1686
2018-09-11 12:10:58 +01:00
Jimmy Brisson
e67a2c7692
`mbed dm`: Accept api key and host on the command line
...
### Description
`mbed dm` will now accept the Pelion Device Management API Key and
Host on the command line with the following switches:
* `-a`, `--api-key` accepts the API Key
* `-S` (note capitol), `--server-address` accepts the Host
This is consistant with manifest tool parameters
Resolves https://github.com/ARMmbed/mbed-cli/issues/745
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-09-10 11:49:06 -05:00
deepikabhavnani
ff80e298d2
Align to CMSIS defines for Non-secure
...
CMSIS updated the __DOMAIN_NS define to DOMAIN_NS. Update the define
in existing code for non-secure part.
2018-09-10 09:25:27 -05:00
Cruz Monrreal
76827c3704
Merge pull request #7971 from JammuKekkonen/fix_softdevice_memory_reservation_for_nrf52dk
...
Fix memory reservation for Softdevice in NRF52_DK
2018-09-07 11:46:58 -05:00
Russ Butler
1ead033423
Add framework for configuring boot stack size
...
Add the target config option "boot-stack-size" which is passed to the
linker as the define "MBED_BOOT_STACK_SIZE" so the linker can
adjust the stack accordingly. On mbed 2 the boot stack becomes the
main stack after boot. On mbed 5 the boot stack becomes the
ISR stack after boot. Because of these different uses the stack size
for mbed 2 is set to 4K by default while on mbed 5 it is set to 1k.
Additionally, the NRF5X family requires a larger interrupt stack size
due to the softdevice so the size is increased to 2k on mbed 5 builds.
2018-09-07 16:31:49 +01:00
Cruz Monrreal
48c149b227
Merge pull request #7720 from jeromecoutant/PR_PRETTYTABLE
...
python scripts : table print with github policy
2018-09-06 22:29:30 -05:00
Cruz Monrreal
27f3fd92f5
Merge pull request #7939 from theotherjimmy/fix-embitz-ld-assign
...
Export, Embitz: Avoid assigning `self.resources.linker_script`
2018-09-06 15:23:17 -05:00
TTornblom
0d97803ad8
IAR: Fix for #7662 , only massage the error decode URL for the IAR .xcl
...
file.
2018-09-06 12:16:15 +02:00
zzw
b06553fa25
rtl8195am lib updates
...
1, rtl8195am lib updates. Preparation for the low power features.
2018-09-06 14:28:34 +08:00
Janne Kiiskila
f1795e3418
IOTCORE-389 - bring back legacy alignment for Arm C6
...
Quite a few of the scatter files are not (yet) aligned to 8-byte
boundaries and therefore the removal of legacy alignment feature
(which is under deprecation warning, but it actually not YET
deprecated) broke quite a few builds to this error:
Error: L6244E: Exec region RW_IRAM1 address (0x200001ac) not aligned on a 8 byte boundary.
We must bring this option now back to fix the builds.
This option to ld (--legacyalign) can only be removed once all of
the scatter files have been fixed.
2018-09-06 01:04:38 +03:00
rklaassen
58667e67d9
Added ARM Permissive Binary License to MTS bootloaders
2018-09-04 16:05:14 -05:00
Martin Kojtal
1eab0723ba
Merge pull request #7745 from OPpuolitaival/icetea
...
Icetea support
2018-09-02 07:19:22 +02:00
Seppo Takalo
0456085567
Disable mesh networking on tests by default
...
Testing a mesh requires proper environment.
2018-09-01 12:40:42 -05:00
Seppo Takalo
1ef04796ee
On KW24D and NCS36510 default to smaller Nanostack configuration
...
These boards do not fit the full Nanostack, so we need to select
6LoWPAN-ND as a default.
2018-09-01 12:37:46 -05:00
Seppo Takalo
56dda01368
TEMPORARY Skip building of examples that rely on drivers.
2018-09-01 12:37:31 -05:00
Cruz Monrreal
993c897b55
Merge pull request #7774 from yossi2le/sd-spif-to-mbed-os
...
Add default block device support (SD, SPIF and FLASHIAP)
2018-09-01 11:15:13 -05:00
Cruz Monrreal
00b7700be2
Merge pull request #7875 from c1728p9/feature_CMSIS_5_0b521765
...
Update CMSIS to 5.4.0
2018-08-31 11:31:37 -05:00
Jammu Kekkonen
1a9999708e
Fix memory reservation for Softdevice in NRF52_DK
2018-08-31 14:13:55 +03:00
Olli-Pekka Puolitaival
a58aa58730
Remove MAC tester related code
2018-08-31 11:59:11 +03:00
Jarno Lamsa
2edc5f0bfc
Readme and help fixes
2018-08-31 11:56:52 +03:00
Olli-Pekka Puolitaival
4e38f73067
Fix after rebase
2018-08-31 11:56:52 +03:00
Olli-Pekka Puolitaival
b4822c8631
Fix typo
2018-08-31 11:55:43 +03:00
Olli-Pekka Puolitaival
449ef92b4d
Update licenses
2018-08-31 11:55:43 +03:00
Seppo Takalo
a5088962e4
Use NanostackRfPhy::get_default_instance() for finding the driver ( #2 )
2018-08-31 11:55:42 +03:00
Juhani Puurula
5eb3456b6e
Added test config for mac tester
2018-08-31 11:55:42 +03:00
Olli-Pekka Puolitaival
ccf4416c70
Move test_suite.json ignore in project level
2018-08-31 11:54:40 +03:00
Olli-Pekka Puolitaival
bf1781b005
Remove autoformatting
2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival
3b3bed2406
Small fixes based on github comments
2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival
e27a26eb9d
Icetea support
2018-08-31 11:51:57 +03:00
Cruz Monrreal
b6f0ee2a72
Merge pull request #7844 from theotherjimmy/fw-update-integration
...
Implement device management subcommand
2018-08-30 22:40:52 -05:00
Cruz Monrreal
06a98e7dcf
Merge pull request #7778 from SeppoTakalo/provide_default_mesh
...
Fix MeshInterface::get_default_instance()
2018-08-30 16:11:00 -05:00
Jimmy Brisson
2516737acb
SImplify linkerscirpt usage
...
Avoids assigning to things that we can't assign
2018-08-30 08:41:15 -05:00
Seppo Takalo
4989650854
Don't provide default interface on NCS36510, won't fit testcases on IAR
2018-08-30 11:04:25 +03:00
Yossi Levy
ff82bb8a0b
Remove of mbed-os-example-mesh-minimal and mbed-os-example-bootloader from the compilation list. Those should be fixed and then set back in the example list
2018-08-29 15:09:36 +03:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Cruz Monrreal
2e081dc7d0
Merge pull request #7644 from theotherjimmy/components
...
Tools: Scan for "components"
2018-08-28 17:55:01 -05:00
Jenny Plunkett
7977fd8edf
Fix typos
2018-08-28 13:25:06 -05:00
Jenny Plunkett
a8b60f5a98
Added LPC1769 template file for MCUXpresso
2018-08-28 13:20:25 -05:00
Jenny Plunkett
5cb1ecd143
Remove reference to "mBed"
...
Removed another reference to "mBed"
Another "mBed"
2018-08-28 13:05:07 -05:00
Cruz Monrreal
14319adf7a
Merge pull request #7792 from deepikabhavnani/fix_m33
...
Build tool fixes for Musca support
2018-08-28 10:09:28 -05:00
Seppo Takalo
7e23c229a3
Add 6LoWPAN and Thread test configuration
2018-08-28 11:29:59 +03:00
Jimmy Brisson
e695a34f23
Add mbedignore behavior to test finding
2018-08-27 11:20:08 -05:00
Jimmy Brisson
ff05e3ebd5
Refactor mbedignore behaivor into an object
2018-08-27 11:16:07 -05:00
Jimmy Brisson
4ef12ccdbc
Culumative attirbutes always exist
2018-08-27 11:12:02 -05:00
Jimmy Brisson
88a5b263f0
Add tests from labeled directories
2018-08-27 11:12:02 -05:00
Jimmy Brisson
419761913a
Add `COMPONENT_` defines
2018-08-27 11:12:02 -05:00
Jimmy Brisson
a87d907268
Use labels keys instead of magic list
2018-08-27 11:12:01 -05:00
Jimmy Brisson
79ee1b8e02
Add "components"
2018-08-27 11:12:01 -05:00
Cruz Monrreal
543d6c2ecf
Merge pull request #7569 from theotherjimmy/uvision-armc6
...
Tools: Add Uvision6 exporter
2018-08-27 10:28:38 -05:00
Martin Kojtal
2dfd3beb62
Merge pull request #7758 from phyokyaw/master
...
Include user defined static lib files in the Linker object files paths
2018-08-27 10:38:40 +02:00
Russ Butler
a62b312d0b
Add details to importer script docs
...
Add an example showing how to run the importer and a note to indicate
that it must be run from the mbed-os directory.
2018-08-25 20:40:36 -05:00
Russ Butler
a2a0ea70e2
Update cmsis_importer in prep for CMSIS 5.4.0
...
Reference the correct commits to pull in and remove commits related to
uVisor since these are no longer needed. Also add the missing file
cmsis_os1.c to cmsis_importer.json.
Below is detailed information on each commit added to cmsis_importer.json
CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility
4360b7bbf8
CMSIS/RTX: Patch RTX so irq_cm4f.s files work with no FPU targets
cc2e0517e1
CMSIS/RTX: Allow overwriting mutex ops for ARMC
b88254809e
CMSIS/RTX: Pre-processor defines used for assembly
287121ffdc
CMSIS/RTX: Fix using FALSE/TRUE with preprocesor
1752803626
CMSIS/RTX: Reintroduce arm_math.h
6a6e3ac0eb
fixup
2018-08-25 20:40:35 -05:00
Cruz Monrreal
2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
...
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Cruz Monrreal
5ffcc01be1
Merge pull request #7812 from mikaleppanen/greentea_def_interf
...
Update greentea tests to use default interface
2018-08-24 19:31:00 -05:00
Cruz Monrreal
02c03204a6
Merge pull request #7714 from brianesquilona/feature_bootloader
...
Add BOOTLOADER feature
2018-08-24 19:30:21 -05:00
Cruz Monrreal
ce43f8b9d6
Merge pull request #7673 from bridadan/allow_memap_script_to_execute_alone
...
Fixing import paths of memap.py when excuted as a script
2018-08-24 19:30:05 -05:00
Jimmy Brisson
c8f1e1f854
Escape quotes in uvision project file defines
2018-08-24 14:00:52 -05:00
Martin Kojtal
812c6d5c88
Merge pull request #7783 from maciejbocianski/feature-qspi_merging
...
merge QSPI feature branch
2018-08-24 10:50:18 +02:00
Cruz Monrreal II
09239e3073
Modified version mismatch msg to be warning instead of error
2018-08-23 22:13:00 -05:00
Cruz Monrreal
6c4d64c520
Merge pull request #7846 from theotherjimmy/gcc-distcc
...
Tools: Use Distcc when it's configured
2018-08-23 10:06:33 -05:00
Deepika
ed58ff0405
Disabling DSP and FPU for Cortex-M33
...
Change shared by @Gabor Kertesz
Hard-fault on Musca was because of enabled floating point instructions,
disabling DSP and FPU.
2018-08-23 09:06:20 -05:00
Jimmy Brisson
a7ddea78d7
Remove firmware header from update image
2018-08-22 09:08:12 -05:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
jeromecoutant
43258a8ff4
STM32 : add all QSPI pins in available targets
2018-08-22 15:02:08 +02:00
Martin Kojtal
d719c9e1a6
Merge pull request #7762 from kaidokert/master
...
Add combined hex target to CMake
2018-08-22 14:05:53 +02:00
Jimmy Brisson
09ea2a3df9
Tools: Use Distcc when specified
2018-08-21 11:38:31 -05:00
Jimmy Brisson
a6163cb14f
Clean up formatting of device_management.py
2018-08-21 10:51:26 -05:00
Jimmy Brisson
93309cd134
Extend init to maybe create and always DL dev cert
2018-08-21 10:51:26 -05:00
Jimmy Brisson
563ee0d871
Implement device management subcommand
2018-08-21 10:51:26 -05:00
Jimmy Brisson
ebb016e270
Create a "device-management" subcommand
2018-08-21 10:51:26 -05:00
Brian Esquilona
4db8a106bf
Added BOOTLOADER feature, copy bootloader binaries and LICENSE into mbed OS repository for supported targets
2018-08-21 10:09:28 -05:00
Mika Leppänen
9e73e80926
Updated greentea test configurations to use default interface
...
Created one configuration .json file for boards with internal
wifi (HeapBlockDeviceAndWifiInterface.json). Removed dedicated
Odin, Wiced and Realtek wifi configuration files. Removed Odin
ethernet configuration file and replaced that with general
ethernet configuration.
2018-08-21 10:55:49 +03:00
Brian Daniels
b5a187ddb3
Fixing import paths of memap.py when excuted as a script
2018-08-20 09:03:29 -05:00
deepikabhavnani
37a5646372
Remove deprecated linker options
...
Resolved below warnings
Warning: L3912W: Option 'legacyalign' is deprecated.
Warning: L3912W: Option 'no_strict_wchar_size' is deprecated.
Warning: L3912W: Option 'no_strict_enum_size' is deprecated.
2018-08-16 18:14:14 -05:00
Cruz Monrreal
ed57c8cb13
Merge pull request #7797 from OPpuolitaival/fix_target_name
...
Fix target_name variable in some use cases
2018-08-16 16:18:19 -05:00
deepikabhavnani
63664520c0
Arch and CPU options for linker and Clang are different for Cortex-M33
...
As per the link below, options for clang and armlink are diferrent for Cortex-M33
armlink --cpu 8-M.Main --import-cmse-lib-out importlib_v1.o
armclang -march=armv8-m.main -mcmse
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0773h/pge1452794854109.html
2018-08-16 13:35:03 -05:00
Cruz Monrreal
354d55503f
Merge pull request #7769 from OPpuolitaival/build_data_py3
...
Fix build_data functionality with python 3
2018-08-16 09:07:49 -05:00
Cruz Monrreal
90163bb838
Merge pull request #7590 from theotherjimmy/differential-memap
...
Tools: Differential Memap
2018-08-15 15:49:25 -05:00
deepikabhavnani
beab422045
-mcpu option not needed for v8M devices
...
-mcpu option if set for v8M CPU;s it will add DSP feature as default
which is optional. Hence setting just the architecture for Cortex-M23
and Cortex-M33
2018-08-15 13:52:15 -05:00
Olli-Pekka Puolitaival
1fbced1b46
Fix target_name variable in some use cases
2018-08-15 12:28:48 +03:00
deepikabhavnani
08b4e34825
Fix build and typo issues with M33 build
2018-08-14 11:44:29 -05:00
Olli-Pekka Puolitaival
2059fed945
Fix building with python 3
2018-08-13 12:46:43 +03:00
Olli-Pekka Puolitaival
72a0bd4374
Print stack trace in case of verbose
2018-08-13 12:46:31 +03:00
Olli-Pekka Puolitaival
6107769239
Fix build_data functionality with python 3
2018-08-13 12:15:21 +03:00
Phyo Kyaw
87304f8812
Updated to include user defined static lib files in the Linker object files path.
...
### Description
This is to fix linker not finding symbols declared in object files inside static library files.
For this case throwing:-
> rm-none-eabi-g++: error: unrecognized command line option '--wrap=main'; did you mean '--warn-main'?
For this case to include libmbed.a which contains
mbed_alloc_wrappers.o:
U __real__calloc_r
U __real__free_r
U __real__malloc_r
U __real__memalign_r
U __real__realloc_r
00000000 T __wrap__calloc_r
00000000 T __wrap__free_r
00000000 T __wrap__malloc_r
00000000 T __wrap__memalign_r
00000000 T __wrap__realloc_r
00000000 T free_wrapper
00000000 T malloc_wrapper
00000000 T mbed_stats_heap_get
U memset
This patch also changed the library order to system and then user.
-lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -lmbed
Resolves : #7155
### Pull request type
[ x ] Fix
[ ] Refactor
[ ] Target update
[ ] Feature
[ ] Breaking change
2018-08-13 09:19:47 +01:00
kert
17276275fc
Add combined hex target to CMake
2018-08-11 10:56:29 -07:00
Martin Kojtal
2a824a1ceb
Merge pull request #7559 from theotherjimmy/make-armc6-v8m
...
Export: Support Make + ArmC6 + v8m
2018-08-10 10:03:34 +02:00
Cruz Monrreal
e923bbdbfb
Merge pull request #7722 from theotherjimmy/fix-arm-small-lib
...
Fix Microlib compatibility for -t ARM
2018-08-09 15:56:18 -05:00
Jimmy Brisson
a6c85ee5f4
Add asm defines to template
2018-08-08 10:43:33 -05:00
Jimmy Brisson
0924d6618e
Fix a few flag-related things
2018-08-08 09:52:49 -05:00
Jimmy Brisson
1eb47934eb
Fix "pare error in Defines" uvision error
2018-08-08 09:24:50 -05:00
Jimmy Brisson
9f00a9be70
Fix python3 compatibility of exporter base class
2018-08-08 09:07:58 -05:00
Jimmy Brisson
c51467ee91
Flake8 of uvision exporter python code
2018-08-08 09:07:45 -05:00
Jimmy Brisson
11702d16b5
Enable uvision export for NS cores
2018-08-08 09:07:45 -05:00
Jimmy Brisson
5e9ac75c4f
Remove -MMD and debug print
2018-08-08 09:07:45 -05:00
Jimmy Brisson
0a175fe0f5
Use relative path to detect config header and remove -std options
2018-08-08 09:07:45 -05:00
Jimmy Brisson
bafced4099
Correct check for in-template flags
...
It was named and used as if it were positive logic, and written with
negative logic. This changes the name and usage to negative logic.
2018-08-08 09:07:45 -05:00
Jimmy Brisson
fa1bf57a4d
Enable export to uvision5 + armc6
2018-08-08 09:07:38 -05:00
Cruz Monrreal
95c623359e
Merge pull request #7640 from 0xc0170/fix_iar_definition_duplicate
...
iar: remove nxp duplicate definitions
2018-08-08 07:36:49 -05:00
Jimmy Brisson
7db537acf6
Fix Microlib compatibility for -t ARM
...
Missing from common flags:
* `-D__MICROLIB`
* `--library_type=microlib`
This patch adds them
2018-08-07 13:21:03 -05:00
Martin Kojtal
129ef46c7f
iar: MK22F use xx12 Freescale for 7.80.x
...
This fixes the failure for IAR regarding floating point.
2018-08-07 15:30:52 +01:00
jeromecoutant
a42c73df1b
python scripts : table print with github policy
2018-08-07 15:14:27 +02:00
Martin Kojtal
6f6a516b66
iar: kl43 - use nxp MCU definition
2018-08-03 12:19:20 +01:00
Martin Kojtal
eb5b117d98
frdm-k22f: fix IAR definition
...
Based on the https://www.keil.com/boards2/nxp/frdm_k22f/ - it contains xxx12 MCU.
However IAR 7.80 has only xxx5 version, thus leaving NXP added version as xxx5.
2018-08-03 12:17:50 +01:00
Jimmy Brisson
58180dbafe
Use shell escaping instead of quoting
...
OSs don't agree on what the quote chars mean
2018-08-02 09:09:07 -05:00
Jimmy Brisson
6adac922db
Revert "Disable make_armc6 on v8m"
...
This reverts commit a2427998f9
.
2018-08-02 09:02:06 -05:00
Jimmy Brisson
77d2a36d2a
Quote Makefile CLI parameters
2018-08-02 09:02:06 -05:00
Jimmy Brisson
289d494894
Use last linker script found
2018-08-02 09:02:06 -05:00
Jimmy Brisson
c777bd6f5c
Migrate all flags into the FLAGS variables
2018-08-02 09:02:06 -05:00
Cruz Monrreal
4cab24f696
Merge pull request #7623 from theotherjimmy/reduce-includes
...
Tools: Omit include path parents when they're scan rules
2018-08-01 13:58:20 -05:00
Jimmy Brisson
fb42bb0439
Stabilize macro ordering in mbed_config.h
2018-07-30 11:05:32 -05:00
Jimmy Brisson
28064f1319
Use hash to determine changes to command files
2018-07-30 10:41:58 -05:00
Martin Kojtal
80d58e5572
iar: remove nxp duplicate definitions
...
Fixes #7634
2018-07-30 11:49:47 +01:00
Jimmy Brisson
fc97d77b0d
Remove file before moving over it
...
Windows is dumb sometimes
2018-07-27 10:06:11 -05:00
Jimmy Brisson
4da77916d5
Reduce include paths further
...
by 0.45% for Mbed Cloud Client
2018-07-27 09:43:30 -05:00
Cruz Monrreal
639285a0e2
Merge pull request #7608 from theotherjimmy/fix-make
...
Tools: Correct `win_to_unix` path handling
2018-07-26 15:53:23 -05:00
Cruz Monrreal
8755e56fd6
Merge pull request #7567 from theotherjimmy/managed-update-image
...
Tools: Generate update images with managed bl mode
2018-07-26 10:51:40 -05:00
Cruz Monrreal
dcd358f3e7
Merge pull request #7558 from theotherjimmy/tc-arm-v8m
...
Tools: Select compiler based on arch version
2018-07-26 10:27:21 -05:00
Jimmy Brisson
35498dc54c
Correct abspath handling
2018-07-26 10:19:23 -05:00
Jimmy Brisson
f9c6f21f2e
Correct path handling after calls to `win_to_unix`
2018-07-26 09:51:18 -05:00
Jimmy Brisson
76078f6a50
Include `-t ARM` support for v8m, armc6 targets
2018-07-25 11:48:14 -05:00
Jimmy Brisson
8be6a03a4b
Correct test_api usage of build_project
2018-07-25 11:29:59 -05:00
Jimmy Brisson
ac14e37a77
Correct result usage in reporting infra
2018-07-25 10:04:18 -05:00
Jimmy Brisson
c2642a1c9a
Add delta to subtotals
2018-07-24 14:09:55 -05:00
Jimmy Brisson
0e622ded63
Include removed modules in table calulation
2018-07-24 13:55:11 -05:00
Jimmy Brisson
814dbdbe3e
Don't trackback on no prior build
2018-07-24 13:42:09 -05:00
Jimmy Brisson
3eea82209e
Create a setting for comparing against a fixed build
2018-07-24 11:50:23 -05:00
Jimmy Brisson
7f2eee564c
Impl differential memap
2018-07-24 11:40:43 -05:00
Cruz Monrreal
25bb200586
Merge pull request #7480 from klaas019/master
...
Add MTS Dragonfly bootloader back after accidental removal from pr #7131
2018-07-23 10:12:31 -05:00
Cruz Monrreal
057138c2a0
Merge pull request #7536 from ganesh-ramachandran/master
...
Add Support for Toshiba TMPM3H6
2018-07-20 12:38:25 -05:00
Jimmy Brisson
24df8f89bf
Correct MockNotifier construction in test
2018-07-20 11:43:56 -05:00
Jimmy Brisson
69203d30f1
Create update images with managed bl mode
2018-07-20 10:53:00 -05:00
Jimmy Brisson
3f684113b0
Warn with ARMC6 and not v8m
2018-07-20 10:12:56 -05:00
Cruz Monrreal
4bcca894ae
Merge pull request #7061 from TTornblom/master
...
Tools: Include configuration in ASM
2018-07-20 08:02:44 -05:00
Jimmy Brisson
ae033da12f
Use mapping of core->arch ver. for tc picking
2018-07-19 10:55:35 -05:00
Jimmy Brisson
c030c6a52b
Use `-t ARM` for v8m targets
...
And pick the correct compiler
2018-07-19 10:48:35 -05:00
klaas019
b368ec8f21
Add MTS Dragonfly bootloader back after accidental removal from pr #7131
2018-07-19 10:19:39 -05:00
Jimmy Brisson
14c2eff8ee
Re-indent IAR ewp temptate
2018-07-19 10:19:31 -05:00
Jimmy Brisson
d6b0f80438
Condense exported IAR project file
2018-07-19 10:18:34 -05:00
Ganesh Ramachandran
bfcfe9cc4b
Added Support for Toshiba TMPM3H6
2018-07-19 16:31:11 +05:30
Cruz Monrreal II
a070e350ec
Removed extra ARMc6 instance in unique mapping
2018-07-18 14:10:42 -05:00
Cruz Monrreal
e9e1ff997d
Merge pull request #7302 from OpenNuvoton/nuvoton_m2351_v1.1
...
Support Nuvoton's NUMAKER_PFM_M2351 target
2018-07-18 08:49:55 -05:00
Cruz Monrreal
b30ac55edd
Merge pull request #7396 from theotherjimmy/mbed-2-matrix
...
Tools: Show Mbed-2-only targets in mbed compile -S
2018-07-18 08:49:09 -05:00
Jimmy Brisson
a2427998f9
Disable make_armc6 on v8m
2018-07-17 15:56:11 -05:00
Jimmy Brisson
750a2ace64
Use paths explicitly in copy from mbed libs
2018-07-16 14:12:00 -05:00
Jimmy Brisson
447acd0360
Make release errors very visible
2018-07-16 14:12:00 -05:00
Jimmy Brisson
91e77f16cd
Import FireRef before using it
2018-07-16 14:12:00 -05:00
Jimmy Brisson
28800fbdde
Fix broken tests
2018-07-16 14:12:00 -05:00
Jimmy Brisson
c641fd7459
Sort every list we have
2018-07-16 14:12:00 -05:00
Jimmy Brisson
5c27da7046
Correct scatter shebang rewriting in Make
2018-07-16 14:12:00 -05:00
Jimmy Brisson
3b7a5bb35e
Filter libraries by extension in exporters
2018-07-16 14:11:09 -05:00
Jimmy Brisson
62538e3bce
Filter archives for the arm linker
...
the other compilers can do it for themselves
2018-07-16 14:11:09 -05:00
Jimmy Brisson
b2395a7786
Simplify get_config toolchain handling
2018-07-16 14:11:09 -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
a4cc32067d
Add get_file_paths res API and use it
2018-07-16 14:11:08 -05:00
Jimmy Brisson
28dbbd6b3b
Correct path usage in linking
2018-07-16 14:11:08 -05:00
Jimmy Brisson
d8ddfdc5a5
Populate lib_dirs
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
c50d8a26dd
Correct win2unix typo
2018-07-16 14:11:08 -05:00
Jimmy Brisson
6a87510192
Correct several exporter uses of file_basepath with a dedupe
2018-07-16 14:11:08 -05:00