Jimmy Brisson
49645b44d8
Clear custom-targets uppon setting new taregts.json location
2017-06-21 22:17:57 +10:00
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
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
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
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
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
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
andreas.larsson
a33f65d5f5
Updated binaries to 2.1 rc1
2017-06-16 10:44:16 +02:00
Sam Grove
226af545a4
Merge pull request #4510 from kegilbert/rearrange-odin-target-rebase
...
u-blox rearrange ODIN target
2017-06-15 11:20:48 -05:00
Sam Grove
f16ca562db
Merge pull request #4516 from theotherjimmy/filname-ci
...
Check for correct library naming in Travis CI
2017-06-15 11:20:32 -05:00
Sam Grove
109269da9c
Merge pull request #4414 from tkaman/master
...
Enable CM3DS_MPS2 target
2017-06-15 11:20:09 -05:00
Sam Grove
74b6e8cc4c
Merge pull request #4530 from bridadan/verbose_example_build
...
Enable verbose builds when running example build tests
2017-06-15 11:19:08 -05:00
Sam Grove
9787c5aff7
Merge pull request #4542 from NXPmicro/Update_K82_UART_Clock_Init
...
Issue#4528 K82F: Move the UART clock inititialization to board specif…
2017-06-15 11:18:47 -05:00
Sam Grove
d7c5be26ef
Merge pull request #4544 from theotherjimmy/export-static-files
...
Export static files from mbed export
2017-06-15 11:18:28 -05:00
Sam Grove
c3f4130e99
Merge pull request #4545 from theotherjimmy/uvision-whitelist
...
Filter support with a white list of post-bin hooks in uvision
2017-06-15 11:17:38 -05:00
Anna Bridge
a6828bbc6b
Merge pull request #4566 from 0xc0170/fix_mbed2_failures
...
Fix mbed2 failures
2017-06-15 14:54:16 +01:00
Rob Meades
fdf8a7980f
Platform support for OnboardCellular modem and u-blox cellular interface drivers. This change allows the u-blox C027 and C030 boards to use both the mbed-os OnboardCellular modem driver and the u-blox cellular interface drivers (which support both PPP and AT data modes).
2017-06-15 14:32:09 +01:00
Martin Kojtal
dad71c4268
cmsis: add core_ca9 for backward compatibility
...
cmsis 5 does not include it but as mbed 2 requires this, we will bring this file
back. This brings back few other dependencies, that we add only for cortex-a.
Once cortex-a gets cmsis5 and rtx2 support it will be updated.
2017-06-15 13:08:48 +01:00
Martin Kojtal
0f61af58a2
ncs36510: timer.h rename
...
This fixes an issue as Timer.h is mbed file, thus if this file gets included first,
causes failures.
2017-06-15 12:15:00 +01:00
Martin Kojtal
db71029eb7
targets: micronfcboard should add macros, not overwrite
2017-06-15 12:09:05 +01:00
Russ Butler
fc18250b1f
Increase background stack size to fix overflow
...
Bump the background stack size to 512 bytes to fix stack overflows on
the NRF52 and so it is the same size as it was before the switch to
RTX5.
2017-06-14 17:31:52 -05:00
Christopher Haster
d7fe4ff599
fatfs: Fixed initialization of block device in mount/unmount functions
...
At some point the "mount" parameter for "f_mount" was name "force". This
led to a bit of confusion that ended with the default mount function
never calling block device init.
This is fine, since the block device can be manually initialized, but
a better user experience is where the filesystem initializes the block
device for the user.
This is backwards compatible due to the repeatability of the block
device init functions.
2017-06-14 16:35:15 -05:00
Andreas Larsson
6a270fb348
Moved ODIN target files into STM32F439xI folder to avoid duplicate code
2017-06-14 13:21:04 -05:00
Sam Grove
ee864cdd7b
Merge pull request #4543 from c1728p9/fix_stm_nvic
...
Fix STM32 crashes on boot due to unset VTOR
2017-06-14 10:47:53 -05:00
Laurent MEUNIER
73eebaad19
NUCLEO_L476RG: FLASH size of 1MB, not 2MB
...
MBED_APP_SIZE was erroneously defined to 2MB for this target,
while it's only 1MB.
2017-06-14 16:52:08 +02:00
Laurent MEUNIER
1d802028cf
NUCLEO_L476RG: GCC_ARM ld file fix
...
Following
Merge pull request #4063 from LMESTM/17q2_L4_bootloader
the NUCLEO_L476RG binairies could not boot anymore.
The change done in #4063 was derived from work on NUCLEO_L429ZI target
which supports uvisor. The VECTORS defintiion is introduced as part of
uvisor support and requires further changes in ld file which were missing.
As uvisor is not considered yet, we remove VECTORS for now and will
introduce only when needed.
2017-06-14 16:48:29 +02:00
Jimmy Brisson
60fea42fdb
Filter supported devices with a post-bin whitelist in uvision
2017-06-13 15:55:36 -05:00
Jimmy Brisson
f81444d4f8
Export static files from mbed export
2017-06-13 13:40:30 -05:00
Russ Butler
47b78a2d17
Fix STM32 crashes on boot due to unset VTOR
...
Remove HAL_Init and related code from SystemInit and move it to
mbed_sdk_init. The function SystemInit is called early in the boot
sequence before RAM is initialized or the VTOR is setup, so it should
not be used to perform the HAL initialization.
This fixes crashes due the vector table being used before it has been
relocated.
2017-06-13 12:12:20 -05:00
Mahadevan Mahesh
ef00edf934
Issue#4528 K82F: Move the UART clock inititialization to board specific file
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-13 12:10:16 -05:00