Jimmy Brisson
373e6ab4fb
Merge pull request #5242 from c1728p9/fix_low_power_timer
...
Fix LowPowerTimer and nightly builds
2017-10-03 20:08:18 -05:00
Kevin Gilbert
f8fa90209e
Remove -p as an argument flag for profile
2017-10-03 16:14:07 -05:00
Kevin Gilbert
310f833f52
Add profile argument to mbed-os example build tools to allow non-default build profiles to be passed in
2017-10-03 15:24:29 -05:00
Jimmy Brisson
0524ba40bd
Remove debug print from memap IAR impl
2017-10-03 13:46:30 -05:00
Jimmy Brisson
2291644a01
Merge pull request #5162 from NXPmicro/Support_LPC54618
...
Change LPC54608 to LPC546XX to include support for LPC54608/18/28
2017-10-03 13:23:07 -05:00
Russ Butler
d910dc5bc4
Revert #5006 - Extends test set for Ticker class
...
This commit reverts commit c1c0f1ea57
because it causes nightly builds to fail. This is because extra tests
added in tests-mbed_drivers-ticker fail on some targets, such as the
KL46Z, MAX32625MBED, MAX32630FTHR, NCS36510, NRF51 and NRF52_DK.
2017-10-03 11:44:24 -05:00
Przemyslaw Stekiel
4509165d61
Add test for Timer class.
2017-10-03 11:54:58 +02:00
Kevin Bracey
de4ced33a6
Make poll() use wait(1) rather than yield()
...
Spinning while polling is overly CPU intensive, and inconsistent with
the current blocking behaviour of UARTSerial.
Change to use Thread::wait(1) to match UARTSerial.
2017-10-03 10:56:19 +03:00
Dave Wu
d1b81b2161
Removed the custom app thread stack size.
2017-10-03 17:32:10 +11:00
Dave Wu
c196ad241d
Removed undefined spi slave related functions.
2017-10-03 15:00:42 +11:00
Dave Wu
c942171a99
- Fixed an issue where the TRNG device is read even when it is not ready;
...
- Added a configuration call in trng_init to make sure the TRNG buffering mode is disabled, so only 8-bit bytes are returned;
- Moved the TRNG device handle into the trng_t structure;
- Fixed some formatting errors in the adc driver.
2017-10-03 14:21:37 +11:00
Russ Butler
32303a9130
Fix sleep lock underflow in LowPowerTimer
...
If a LowPowerTimer is started and then goes out of scope then a
deep sleep lock underflow can occur. This is because the
the variable '_lock_deepsleep' is checked when starting the timer
but is not checked in the destructor, which unconditionally releases
the deep sleep lock.
2017-10-02 19:32:20 -05:00
Christopher Haster
e9cd239ac3
fs: Added in missing retarget definitions for ARM/IAR
...
- missing O_ flags
- missing S_IF flags
- missing system types
- missing stat structure
- exhaustive list of errno codes
2017-10-02 16:12:22 -05:00
Shrikant Tudavekar
cdd29b87a5
Add retry to handle git clone failure
...
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-02 14:39:24 -05:00
Chris Snow
82ae53a282
Simplify CRP placement.
2017-10-02 19:23:35 +01:00
Russ Butler
1a128154ca
Include doxygen from test directories
...
Turn on doxygen for tests. This allows testing functions to be
referenced, which will be used for various parts of the HAL
specification.
2017-10-02 11:42:00 -05:00
Russ Butler
f854f3e6db
Properly unlock sleep in destructor of drivers
...
Unlock sleep in CAN and SerialBase. This prevents deep sleep from
staying locked if these objects are destroyed without first clearing
the callbacks.
2017-10-02 11:35:08 -05:00
Russ Butler
87b151c8a0
Protect Ticker attach with a critical section
...
Add a critical section to attach_us so setting _function and
locking deep sleep are done atomically.
2017-10-02 11:35:05 -05:00
Russ Butler
ea468856c4
Add a test to validate locking
...
Test that DeepSleepLock and Timer lock deep sleep at the correct time
and do no leave sleep locked after they are destroted.
2017-10-02 11:35:03 -05:00
Russ Butler
f0ac234da7
Prevent DeepSleepLock from leaving sleep locked
...
Add _lock_count to DeepSleepLock and use this to prevent deep sleep
from staying locked when the DeepSleepLock objected is destroyed after
an unbalanced number of calls to lock and unlock.
2017-10-02 11:34:56 -05:00
Mahadevan Mahesh
880f106740
Change LPC54608 to LPC546XX to include support for LPC54608/18/28
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-02 11:20:27 -05:00
Tony Wu
d0de5f792e
rtl8195am - fix ARMC6 guards
...
Fix ARMC6 guard typo introduced in commit 4f3f0cc9cc
(Make Realtek link)
While at it, remove redundant ISR_STACK_SIZE assignment for ARMCC.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-10-02 23:45:47 +08:00
andreas.larsson
120c9ad56c
Moved STDIO_UART defines to targets.json for UBLOX_EVK_ODIN_W2 instead of hardcoded.
2017-10-02 17:45:41 +02:00
Jimmy Brisson
c60194fdfd
Merge pull request #5208 from jeromecoutant/PR_F7_RTC
...
STM32F7 : RTC Wake Up Timer issue
2017-10-02 10:41:31 -05:00
Jimmy Brisson
8a3abbc857
Merge pull request #5207 from nvlsianpu/fix_DigitalIn_use_gpiote_nrf5x
...
Fix: DigitalIn of nRF5x was allocating GPIOTE channel
2017-10-02 10:39:46 -05:00
Jimmy Brisson
cd8e9e6aaf
Merge pull request #5194 from c1728p9/fix_sleep
...
Ensure us_ticker is initialized before it is used
2017-10-02 10:39:24 -05:00
Jimmy Brisson
cc0b3d05aa
Merge pull request #5130 from bcostm/freeze_timer_in_debug
...
STM32: Freeze master timer on stop/breakpoint
2017-10-02 10:38:57 -05:00
Jimmy Brisson
93459011b0
Merge pull request #5105 from deepikabhavnani/m33_files
...
Cortex-M33: Add RTX5 context switcher files
2017-10-02 10:38:35 -05:00
Jimmy Brisson
b83b0b1678
Merge pull request #5098 from maciejbocianski/signal_fix
...
Doxygen comment fix for Thread class
2017-10-02 10:37:55 -05:00
Jimmy Brisson
42dc4cf612
Merge pull request #5089 from jeromecoutant/HSE_XTAL
...
STM32 : Disable HSE XTAL choice from the default clock source
2017-10-02 10:36:08 -05:00
Senthil Ramakrishnan
3e1459b691
Merging changes from ATParser got AT parser unification
2017-10-02 10:03:58 -05:00
Senthil Ramakrishnan
7ffa3ddaaf
Merging changes from ATParser towards parser unification
2017-10-02 10:03:58 -05:00
Martin Kojtal
e6b1ef508e
examples: remove eddystone ble examples
...
They are not part of the releases
2017-10-02 15:37:52 +01:00
Piotr Grygorczuk
728a3a4a76
mbed LPC1768 & Xpresso LPC1769 unified
...
Target of LPC1769 links to mbed LPC1768.
The PinNames.h has conditional compile for the pin names.
LWIP lpc17xx emac driver modified to allow LPC1769 target
2017-10-02 11:05:39 +01:00
Tony Wu
5e36d32d86
rtl8195am - remove obsolete configs
...
The following configs were no longer necessary for RTX5.
OS_TASKCNT
OS_MAINSTKSIZE
OS_CLOCK
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-10-02 14:37:05 +08:00
Dave Wu
7cf9bf5c3d
- Added definiton for i2c_reset;
...
- Removed unneeded code from i2c and serial modules.
2017-10-02 15:34:19 +11:00
Dave Wu
86639587dd
Fixed a merge error for LPC11U34_421.
2017-10-02 14:36:03 +11:00
Dave Wu
ce580dde74
Fixed issues raised in the feedback from ARM for the ADuCM4050 platform.
2017-10-02 14:28:25 +11:00
Chris Snow
fb27e71894
Implement MBED_USED
2017-09-30 19:26:11 +01:00
Chris Snow
d6404726dd
Ensure CRP is set correctly for IAR, GCC and ARM
...
CRP value can be set through a macro in mbed_app such as
"macros": [
"CRP=CRP_NONE"
]
2017-09-30 19:26:05 +01:00
Chris Snow
f8f54837cd
Linker update for bootloader support
2017-09-30 19:00:25 +01:00
Chris Snow
a08fc2bb7a
Move CRP out of startup and into CRP.c so it can be conditionally compiled
2017-09-30 19:00:25 +01:00
Chris Snow
fc503b8daf
Enable LPC1768 bootloader support
2017-09-30 19:00:25 +01:00
adbridge
31407a17ca
Move to using command strings rather than command lists.
...
Previously the script used
cmd =['git','checkout', branch]
syntax. This does not work well cross platform. The solution it to
actually use strings. E.g.
cmd = "git checkout " + branch
2017-09-29 16:17:33 +01:00
Jimmy Brisson
24418b43da
Merge pull request #5182 from theotherjimmy/test-flags-assumptions
...
tools/toolhains - Test for flag passing in constructor
2017-09-29 10:14:29 -05:00
Jimmy Brisson
b6b9daa6f5
Merge pull request #5176 from 0xc0170/fix_fire_efm32
...
EFM32: fix fire interrupt (set flags)
2017-09-29 10:14:07 -05:00
Jimmy Brisson
f5bb15f773
Merge pull request #5152 from NXPmicro/Update_RTC_HAL_driver
...
Kinetis RTC HAL: Allow writing 0 to the seconds register
2017-09-29 10:12:22 -05:00
Jimmy Brisson
3b224252ef
Merge pull request #5141 from NXPmicro/Fix_LPC54608_LEDMap
...
LPC54608: Swap LED pin connections to match naming on the board
2017-09-29 10:12:04 -05:00
Jimmy Brisson
74e592757f
Merge pull request #5078 from v2422/master
...
Enable access to kernel tick information in ISR
2017-09-29 10:10:46 -05:00
Jimmy Brisson
1a04b0a7b4
Merge pull request #5052 from mbedNoobNinja/Branch_Export
...
ds5 & e2studio export fix
2017-09-29 10:09:30 -05:00