Andrew Leech
2540f01d26
Handle situation when options.source_dir is None
2017-06-21 22:17:57 +10:00
Andrew Leech
bf08b108aa
Add custom_targets.json file contents to targets
...
Avoid duplication of update_target_data() code
Keep "custom_targets.json" filename definition in Targets()
2017-06-21 22:17:57 +10:00
Jimmy Brisson
2c4475cacc
Find extra targets in all source folders
2017-06-21 22:17:57 +10:00
Andrew Leech
58c52fa2e7
Recursively merge extra_targets into targets
...
Recursively merge any target configs in extra_targets.json rather than completely replacing keys at the top level
2017-06-21 22:14:07 +10:00
Andrew Leech
e6e3d08ea6
Add extra_targets.json support to build tools
...
If the file extra_targets.json exists in the working directory load it over the top of the built in targets.json for defining new and overriding built in mbed target definitions.
2017-06-21 22:14:07 +10:00
adbridge
d1f3eb6ba6
Added template file for PR commit message plus minor review changes
2017-06-21 11:50:14 +01:00
Vincent Coubard
e690ee04e0
rtos: Add missing Queue destructor.
2017-06-21 11:21:34 +01:00
Vincent Coubard
b49fbf1d91
rtos: Add missing destructor for MemoryPool objects.
2017-06-21 11:14:50 +01:00
Martin Kojtal
d121a43e37
Merge pull request #4597 from theotherjimmy/travis-upcase-asm
...
Assert that all assembly files are named correctly in travis
2017-06-21 09:50:47 +02:00
Jimmy Brisson
c7d6bbe295
Upcase all assembler file extensions
2017-06-20 14:50:08 -05:00
Jimmy Brisson
307a2ff564
Assert that assembler files are named correctly in travis
2017-06-20 14:47:41 -05:00
Mo Chen
1b63202c27
Put quotes around include files
...
This fixes a problem when the path to include files have spaces.
See https://github.com/ARMmbed/mbed-os-example-uvisor/issues/31 for an
example of this problem.
Signed-off-by: Mo Chen <mo.chen@arm.com>
2017-06-20 14:00:38 -05:00
Anna Bridge
525debc63b
Merge pull request #4567 from u-blox/ublox_odin_driver_os_5_v2.1_rc1
...
Updated u-blox ODIN-W2 driver binaries to 2.1 rc1
2017-06-20 17:09:13 +01:00
Vincent Coubard
3f388ca2a8
drivers: Mark non identity types as non copyable with the NonCopyable traits.
...
Classes changed: CAN, Ethernet, FlashIAP, I2C, InterruptIn, LowPowerTicker, LowPowerTimeout, LowPowerTimer, RawSerial, Serial, SerialBase, SPI, SPISlave, Ticker, Timeout, Timer, TimerEvent and UARTSerial.
2017-06-20 16:23:46 +01:00
Vincent Coubard
7f5b992064
drivers: Replace private copy constructor and Copy assignement operator by NonCopyable traits.
...
Modified classes are: BusIn, BusOut, BusInOut and InterruptManager.
2017-06-20 16:23:46 +01:00
Vincent Coubard
f57cc80ecc
event: Make the event queue non copyable.
2017-06-20 16:23:45 +01:00
Vincent Coubard
3119c4238d
rtos Thread: Remove private copy constructor and assignment operators in favor of the NonCopyable traits.
2017-06-20 16:23:44 +01:00
Vincent Coubard
4d5f805cde
rtos: Tag non value type as NonCopyable.
...
The types marked are: Mail, MemoryPool, Mutex, Queue, RtosTimer and Semaphore.
2017-06-20 16:23:44 +01:00
Vincent Coubard
7a1e2cfc9a
platform: Replace private copy constructor and copy assignement operator by a NonCopyable tag.
...
The class concerned by this change are: ATCmdParser, CallChain, FileBase and Stream.
2017-06-20 16:23:43 +01:00
Vincent Coubard
dcbcf64830
platform: Tag classes DirHandle, FileHandle, FileLike, FileSystemHandle, FileSystemLike, LocalFileHandle, LocalFileSystem and PlatformMutex as non copyable.
...
This avoid unwanted copy of these type which is a programming error.
2017-06-20 16:23:43 +01:00
Vincent Coubard
4f7943860a
platform: Add NonCopyable class.
...
The NonCopyable template class avoid autogeneration of copy assignement
and copy construction function for classes inheriting from it.
2017-06-20 15:49:16 +01:00
bcostm
cc47104059
DISCO_L072CZ_LRWAN1: Remove unused code
2017-06-20 16:12:32 +02:00
bcostm
e6a013fa35
DISCO_L072CZ_LRWAN1: Add usb in build_travis.py
2017-06-20 16:12:32 +02:00
bcostm
2d294495e1
DISCO_L072CZ_LRWAN1: Update HSI clock config for USB
2017-06-20 16:07:07 +02:00
bcostm
24d94c8425
DISCO_L072CZ_LRWAN1: Add USB device configuration files
2017-06-20 16:07:07 +02:00
Anna Bridge
810e16f88e
Merge pull request #4337 from u-blox/cellular_feature_br_ublox_pr1
...
Platform support for new CellularInterface in UBLOX_C027 and UBLOX_C030_U201.
2017-06-20 14:00:11 +01:00
Anna Bridge
c5e1fa70d9
Merge pull request #4242 from bcostm/dev_disco-l475-iot
...
DISCO_L475VG_IOT01A : Add new target
2017-06-20 11:41:42 +01:00
Anna Bridge
b30481d266
Merge pull request #4523 from hasnainvirk/eth_flag_lwip
...
Check Ethernet before including lwipopts_conf.h
2017-06-20 11:40:23 +01:00
Jimmy Brisson
c08864b588
Merge pull request #4444 from Archcady/lwip_issue
...
resolve lwip init twice issue
2017-06-19 18:28:49 -05:00
Jimmy Brisson
77b6127a71
Merge pull request #4579 from geky/rtos-unbreak-semaphore
...
RTOS: Fix semaphore
2017-06-19 15:32:48 -05:00
Jimmy Brisson
2e87f56a55
Merge pull request #4541 from theotherjimmy/fix-large-string
...
Fix a bug in print_large_string
2017-06-19 12:00:07 -05:00
Jimmy Brisson
b56d9f3df3
Merge pull request #4540 from theotherjimmy/export-app-config
...
Support app config option for export
2017-06-19 11:59:38 -05:00
Jimmy Brisson
1ffbdfc048
Merge pull request #4364 from mazimkhan/mbed-tls-test
...
Add C API for Greentea client
2017-06-19 11:58:47 -05:00
Jimmy Brisson
d8061216fe
Merge pull request #4563 from c1728p9/fix_stack_overflow
...
Increase background stack size to fix overflow
2017-06-19 11:04:51 -05:00
Jimmy Brisson
3f464217f1
Merge pull request #4554 from LMESTM/L476RG_ld_file
...
Fix NUCLEO_L476RG linker scripts
2017-06-19 11:04:10 -05:00
Jimmy Brisson
a6695ae5a8
Merge pull request #4504 from geky/gt-add-reserved-memory-reporting
...
greentea: Add reporting of reserved heap
2017-06-19 11:03:30 -05:00
Jimmy Brisson
e4bdedc7c2
Merge pull request #4562 from geky/fat-init-bd
...
fatfs: Fixed initialization of block device in mount/unmount functions
2017-06-19 11:02:52 -05:00
Jimmy Brisson
737a64c988
Merge pull request #4502 from LMESTM/issue_899
...
STM32: serial: clear Overrun flag if it is set when checking if readable
2017-06-19 11:00:23 -05:00
sarahmarshy
2abe6be5ba
Turn off "browse information" in Uvision template
...
"Browse information," or the indexer for MDK, causes extremely long
build times when enabled.
2017-06-19 10:44:23 -05:00
Christopher Haster
6b02ceab5d
rtos: Unbreak semaphore, trade assert for saturation with original limit
...
Before rtx 5, the max count on semaphores was UINT16_MAX, aftewards it
was decreased to 1024 with an assert on overflow.
This is especially problematic for semaphores used for signaling, since
there is no replacement currently available in C++.
2017-06-16 17:18:40 -05:00
Jimmy Brisson
bf1a69b9be
Fill out remainder of LazyDict dict compatibility
2017-06-16 15:52:30 -05:00
Jimmy Brisson
7513d4f897
Correct len and iter operators for LazyDict
2017-06-16 15:28:10 -05:00
Jimmy Brisson
27c55d5c8d
Delay relative_to and win_to_unix operations over features
2017-06-16 15:16:24 -05:00
Jimmy Brisson
85748dbd21
Delay feature scan until it's rquired
2017-06-16 14:58:58 -05:00
Jimmy Brisson
55801b619d
Improve speed of .mbedignore processing
2017-06-16 13:36:56 -05:00
Mike Fiore
1403dfc086
[XDOT_L151CC] enable HSI after waking from stop mode so ADC functions properly
2017-06-16 10:52:44 -05:00
andreas.larsson
e12efc073d
Moved u-blox ODIN-W2 cb_cert_utils.h to the correct place
2017-06-16 11:18:37 +02:00
Vincent Coubard
970ee38079
NRF52840: Adjust idle thread stack size.
...
A stack size of 256 bytes is not enough on the NRF52840, this patch
changes it to a size of 512 bytes.
2017-06-16 10:15:03 +01:00
Vincent Coubard
fd7eff202c
RTOS: Allow per target definition of OS_IDLE_THREAD_STACK_SIZE.
...
The stack required for the idle thread is highly dependent on the
target because it will call the sleep function which is target
specific.
While 256 bytes of stack is enough for most targets, others like the
NRF52840 might require more.
With this change, target maintainers can specify the idle thread stack
size in their mbed_rtx.h file.
2017-06-16 10:11:12 +01:00
adustm
e63912ff44
Check that the HASH is not busy before save and restore iHW registers
2017-06-16 11:03:50 +02:00