David Walters
aafe61414e
Edited get_interface_version info for clarity
2017-09-15 15:49:08 +01:00
David Walters
256ab6114a
Fixed mount_point example usage
2017-09-15 15:30:34 +01:00
David Walters
e4b55dd6a0
Removed get_mounted_details_txt from test_api.py
...
Fixed minor typos in test_api.py
Added get_interface_version to detect_targets
2017-09-15 10:15:24 +01:00
David Walters
7ff57c4671
Changed DAPLink version to interface version.
2017-09-12 10:46:07 +01:00
David Walters
d43a847667
Added additional DAPLink version info for `mbed detect` command`
2017-09-11 16:54:32 +01:00
Jimmy Brisson
3f2e986256
Merge pull request #5012 from LMESTM/issue5004_ticker_16b
...
STM32_us_ticker_16b: keep code to cope with past event
2017-09-09 12:09:25 -05:00
Jimmy Brisson
e0bc631a0a
Merge pull request #4991 from c1728p9/tickless
...
Add tickless to some mbed-os devices
2017-09-08 14:30:39 -05:00
Jimmy Brisson
e5638b7272
Merge pull request #5055 from 0xc0170/fix_ssltravis
...
Travis: fix the latest breakage - use group:
2017-09-08 13:40:33 -05:00
Jimmy Brisson
a108adf396
Merge pull request #4916 from JojoS62/add_MCUXpresso_exporter
...
Add mcuxpresso exporter
2017-09-08 09:44:25 -05:00
Martin Kojtal
42a6dd00d8
Travis: fix the latest breakage - use group:
...
See https://blog.travis-ci.com/2017-08-29-trusty-image-updates
2017-09-08 13:50:56 +01:00
Russ Butler
48a0489955
Enable tickless for a subset of devices
...
Enable tickless on nrf5x devices and the NCS36510.
2017-09-07 21:35:07 -05:00
Russ Butler
72f07ec4d9
Make room on stm32f07 for tickless
...
Decrease the interrupt stack from 2k down to 1k so there is enough
ram to build all the tests with tickless enabled. In general, targets
should not need an interrupt stack greater than 1k with mbed-os.
2017-09-07 21:35:06 -05:00
Russ Butler
c3eae587eb
Add tickless support for devices without SysTick
...
Some Cortex-M0 devices, such as the nrf51, don't have the SysTick.
Instead, these targets use a software interrupt to simulate SysTick.
Add the hooks in the tickless code to support these devices. Targets
which do not have SysTick should now define NO_SYSTICK in targets.json
and implement mbed_get_m0_tick_irqn to add os suport.
This patch also removes os tick handling from the existing devices
(nrf51) since this is now handled in common code.
2017-09-07 21:35:04 -05:00
Russ Butler
e44d94fa1e
Add initial support for tickless RTX
...
Add support for tickless by replacing RTX's SysTick timer code with
with code which uses an mbed timer along with suspending and
resuming the kernel in the idle loop. Tickless is enabled on a
per-target basis by defining the macro MBED_TICKLESS.
2017-09-07 21:34:57 -05:00
Jimmy Brisson
e12f116ec1
Merge pull request #4912 from 0xc0170/dev_sleep_drivers
...
Add sleep manager API
2017-09-07 18:26:49 -05:00
Martin Kojtal
f6c34a2303
SerialBase and CAN: fix Callbacks comparision
...
As Callback currently does not have fully functional comparision (see #5017 ),
we workaround by doing null check.
2017-09-07 15:35:08 +01:00
Martin Kojtal
39f31c3195
idle loop: add deepsleep locks
...
For backward compability, we invoke just sleep mode. Adding critical section to complete
lock/unlock deepsleep section.
2017-09-07 15:35:07 +01:00
Martin Kojtal
c5a41d83c2
test: add sleep manager tests
...
This commits contains two tests:
- race condition
- deep sleep locking/unlocking
2017-09-07 15:35:07 +01:00
Martin Kojtal
bc704427e2
platform: add DeepSleepLock
...
RAII object for disabling, then restoring the deep sleep mode
2017-09-07 15:35:06 +01:00
Martin Kojtal
5b33d2583d
drivers: fix attach sleep locking
...
attach/detach can be multiple invoked. Therefore lock/unlock deep sleep
only for the very first time it is invoked (when callbacks
are actually changed).
2017-09-07 15:35:06 +01:00
Martin Kojtal
e57f0bcd26
Drivers: locking sleep fix for attach/detach
...
As attach provides API to change a callback, lock/unlock should
only happen if we are doing the first/last callback (start-stop).
2017-09-07 15:35:05 +01:00
Martin Kojtal
e6d8a9a8a4
Drivers with interrupts: adding sleep deep locking
...
Any driver with attach or async API should be considered for deep sleep.
Add locking to those that require in most cases
high-frequency clocks:
- CAN
- I2C
- SPI
- Serial
- Ticker/Timeout/Timer
2017-09-07 15:35:05 +01:00
Martin Kojtal
fcdb04351f
Sleep: add deepsleep locks for !DEVICE_SLEEP
...
If a target do not support sleep (no DEVICE_SLEEP defined),
we provide empty deep sleep locking.
2017-09-07 15:35:04 +01:00
Martin Kojtal
cb4e9b32a2
Sleep HAL: add sleep manager API
...
Sleep manager provides API to lock/unlock deepsleep. This API allows a user to
control deep sleep.
This API should be done via atomic operations (to be IRQ/thread safe).
2017-09-07 15:34:47 +01:00
Martin Kojtal
814eaa99fe
Merge pull request #5030 from chrissnow/uVision-LDFlags
...
Export uVision linker flags so that bootloader projects build correctly
2017-09-07 12:46:35 +01:00
Martin Kojtal
8dfb491bb1
Merge pull request #4958 from soramame21/master
...
Add bootloader support for DISCO_L476VG
2017-09-07 12:46:08 +01:00
Jimmy Brisson
22b183a42b
Merge pull request #5037 from 0xc0170/fix_arch_pro_heap
...
Revert "Adjusting Stack size Allocation (IAR, LPC176x)"
2017-09-06 20:31:46 -05:00
Jimmy Brisson
a3bb8e370b
Allow eclipse to fail for mysteriously in build
2017-09-06 17:38:58 -05:00
Jimmy Brisson
9d51b1afa8
Add imports for build
2017-09-06 16:58:40 -05:00
Jimmy Brisson
7457bbbc5c
Merge pull request #4665 from Archcady/enable_sdram
...
Enable sdram usage of REALTEK_RTL8195AM
2017-09-06 14:26:34 -05:00
Jimmy Brisson
5bcd97a2bc
Merge pull request #4984 from theotherjimmy/unify-unit-tests
...
Unify mbed OS tools testing style with what's used in mbed-ls, htrun, greentea
2017-09-06 14:26:14 -05:00
Jimmy Brisson
9b85155aa7
Merge pull request #4881 from betzw/betzw_freeze_github_wb
...
[STM32F401xE] Freeze master timer on stop/breakpoint
2017-09-06 14:25:47 -05:00
Jimmy Brisson
124480213c
Merge pull request #4776 from c1728p9/rtx_usage
...
Remove use of internal RTX types
2017-09-06 14:25:17 -05:00
Martin Kojtal
bb26bd6d2d
Revert "Adjusting Stack size Allocation (IAR, LPC176x)"
...
This reverts commit fce2ca2122
.
2017-09-06 13:56:27 +01:00
Jimmy Brisson
6bf7718c8d
Correct travis coverage reporting
2017-09-05 16:16:30 -05:00
Chris Snow
e783e98066
Export linker flags so that bootloader projects build correctly
2017-09-05 22:03:29 +01:00
Jimmy Brisson
9d0e8abb11
Rename and simplify config test target names
2017-09-05 15:21:08 -05:00
Jimmy Brisson
399b6acfb1
Clean up json
...
Wipe out all blank lines in json:
find tools/test -name 'test_data.json' | xargs sed -i -e '/^$/d'
Move all start braces back a space:
find tools/test -name 'test_data.json' | xargs sed -i -e "s/^ {/{/"
2017-09-05 14:39:48 -05:00
Jimmy Brisson
b0501bd846
Post coverage details on coveralls and link to them in readme
2017-09-05 14:32:50 -05:00
Jimmy Brisson
4a937fe15e
Linting and correcting comments
2017-09-05 13:30:16 -05:00
Jimmy Brisson
2f2da779cb
Merge pull request #4924 from hasnainvirk/iar_fix_c027
...
Adjust Stack size Allocation (IAR, LPC176x)
2017-09-05 11:20:44 -05:00
Jimmy Brisson
5f9d984a22
Merge pull request #5013 from janjongboom/mts_printf
...
MTS targets: Don't use any printf() calls when NDEBUG is defined
2017-09-05 11:19:42 -05:00
Jimmy Brisson
84a28adc09
Merge pull request #4997 from kjbracey-arm/lwip_debug
...
Correct LWIP_DEBUG definition
2017-09-05 11:19:13 -05:00
Jimmy Brisson
857819f5d2
Merge pull request #4996 from kjbracey-arm/k64f_emac_1thread
...
Reduce K64F Ethernet driver to 1 thread
2017-09-05 11:18:44 -05:00
Jimmy Brisson
34d41c5068
Merge pull request #4995 from kegilbert/odin-led-remap
...
Add LED color remapping definitions to Odin target
2017-09-05 11:17:42 -05:00
Jimmy Brisson
9f3801bc25
Merge pull request #4992 from akosthekiss/ble-doc-fixes
...
Fix BLE API docs
2017-09-05 11:17:16 -05:00
Jimmy Brisson
e009d9f7be
Merge pull request #4975 from LMESTM/STM32_SPI3W
...
Stm32 spi 3 wires mode support
2017-09-05 11:16:53 -05:00
Jimmy Brisson
81437732dd
Merge pull request #4945 from maciejbocianski/mail_tests
...
Extends test set for Mail class
2017-09-05 11:16:27 -05:00
Jimmy Brisson
94fb4a3aad
Merge pull request #4929 from bcostm/adc_sampletime_vrefint
...
STM32F4: Increase ADC sample time for VREF
2017-09-05 11:15:53 -05:00
Yuguo Zou
67f1ee5343
Resolve including directory issue in GCC linker script for Ameba
...
Should not make assumption of specific directory when include .h from
linker script
2017-09-05 19:11:38 +08:00