Commit Graph

13882 Commits (mbed-os-5.7)

Author SHA1 Message Date
Cruz Monrreal 16bac101a6
Merge pull request #6364 from ARMmbed/release-candidate
Release candidate for mbed-os-5.7.7
2018-03-15 13:36:03 -05:00
Cruz Monrreal II bf8854e617 Update Mbed version block for patch release 2018-03-14 14:48:11 -05:00
Mahesh Mahadevan a4dbdab1ce MCUXpresso_MCUS: Apply K64F us_ticker fix across all MCU's
Applied changes from commit b6a01de070
for other MCUXpresso MCUs

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-14 14:48:10 -05:00
Ashok Rao af3f7a0357 Incorporating review comments 2018-03-14 14:48:10 -05:00
Ashok Rao be35df7b20 Adding Laird BL652 as new target 2018-03-14 14:48:10 -05:00
zzw 717cde0f87 mbed-os_ci-test-fixed_rtl8195am
fix section error, ARM compiler uses IRAM1.bss to calculate the heap size

fix conflict of _memset between Ameba's library and ARM compiler's library, use standard memset() instead of _memset() in case of ARM compiler
2018-03-14 14:48:10 -05:00
Laurence de Bruxelles 61111f0b27 Allow build profiles to omit language entries 2018-03-14 14:48:10 -05:00
Paul Thompson 2e54965500 Flip order of comparison 2018-03-14 14:48:10 -05:00
Paul Thompson 23afee9f44 Clarify intention between comparison to zero and the shift operation
Building with (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 gives this warning

../events/equeue/equeue.c: In function 'equeue_incid':
../events/equeue/equeue.c:40:17: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context]
     if (!(e->id << q->npw2)) {
2018-03-14 14:48:10 -05:00
gorazd 017c519b0e lpc546xx and lpc54114: fix clock 2018-03-14 14:48:10 -05:00
gorazd aa982d68f2 mcu_lpc546xx: move "release_versions" to children 2018-03-14 14:48:10 -05:00
daid 99d673efd4 Add support for STEVAL-3DP001V1 board, which has an STM32F401VE chip. This support is based on the NUCLEO-F401RE board. Which has the same amount of flash/ram but less pins available on the chip. 2018-03-14 14:48:10 -05:00
Keyur Hariya 73906bd416 Replace enable/disable irq with critical section enter/exit 2018-03-14 14:48:10 -05:00
Keyur Hariya 0eb02b6401 Remove automatic I2C stop after each read
Automatic stop prevents sending repeated start.
2018-03-14 14:48:10 -05:00
Keyur Hariya 6130ef410c Enable ADC scaling and enable internal channels
Increases input range by 2x(now, 0-2.4v)
2018-03-14 14:48:10 -05:00
Keyur Hariya 58b8439cad Improve us ticker performance
Improves accuracy during heavy work load.
2018-03-14 14:48:10 -05:00
Keyur Hariya ab00b4641b Improve SPI block write
Replace looping construct with actual block writes.
2018-03-14 14:48:10 -05:00
Keyur Hariya 761dcba376 Fix missing serial object for interrupts
Save serial objects when setting interrupt requests.
Improve uart interrupt handler.
2018-03-14 14:48:10 -05:00
Cruz Monrreal II e1c1e8a128 Modified underflow error text to print overflow instead. End users are more familiar with handling overflow errors, even if underflow may be technically correct 2018-03-14 14:48:10 -05:00
Jimmy Brisson c80e5e81dd Correct gcc m33 floating point handling 2018-03-14 14:48:10 -05:00
ccli8 d2a7f5deb4 Rework us_ticker and lp_ticker with one H/W timer
Originally, we use 2 H/W timers for us_ticker/lp_ticker, one for counting and the other for alarm.
With H/W timer running in continuous mode, we could use just one H/W timer for counting/alarm simultaneously.
2018-03-14 14:48:09 -05:00
Rob Meades 926f952143 Call i2c_init() before i2c_frequency() (since i2c_frequency() requires the object to be set up) and zero the I2C object before giving it to i2c_init() as i2_init() has to set up a default frequency for its timeouts to work and it will only do this if the hz field in the object was zero to begin with (otherwise you end up with a random but usually very large indeed timeout). 2018-03-14 14:48:09 -05:00
Jimmy Brisson 7a5e144e65 Work around Arm Compiler 6 stdvector perfomance cliff 2018-03-14 14:48:09 -05:00
Martin Kojtal aceee3e248 pull request: add required info
Please use these 2 sections for describing a pull request. They should be part
of every pull request.

The type specifies what is expected from the pull request and when it can be
released. For instance a feature pull request can't be expected to go to the
patch release.

Important: do not mix pull request types !

Changed also the heading type, to make it smaller.
2018-03-14 14:48:09 -05:00
Shrikant Tudavekar 42529e4713 measure the time over a longer range 2018-03-14 14:48:09 -05:00
cyliangtw 55de114133 Define SERIAL and I2C pin name for compatiblity 2018-03-14 14:48:09 -05:00
Tamas Kaman d13d6eab33 Build issue for M33 core
Fix typo in irq_armv8mml.S

Signed-off-by: Tamas Kaman <tamas.kaman@arm.com>
2018-03-14 14:48:09 -05:00
Vincent Coubard 214e687230 Platform: Improve mbed_sleep.h
* Qualify inclusion of sleep_api.h
* use standard `inline` qualification instead of the non standard `__INLINE`
2018-03-14 14:48:09 -05:00
Hugues de Valon 9f096cf4f1 Fix a bug using ELF as output extension
When overriding the OUTPUT_EXT variable in compilation configuration,
bugs appear:

* The bin variable is not None as the 'elf' string is not interned.
* When that is fixed, the function returns None instead of returning the
path of the ELF file.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-03-14 14:48:09 -05:00
Mahesh Mahadevan da9a49fd3b LPC546XX: Update SDK driver to version 2.3
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-14 14:48:09 -05:00
jeromecoutant 4eb150e6d6 STM32F1 RTC : Date read after reset
F1 is the only STM32 family where RTC date is not saved into registers
2018-03-14 14:48:09 -05:00
jeromecoutant bfb6472b2a STM32 RTC : update free function
- LSI specific implementation is removed

- Remove RTC clock disable
2018-03-14 14:48:09 -05:00
adustm 05263f121f Allow jenkins script to pass 2018-03-14 14:48:09 -05:00
adustm 44efac724d Add initial_sp value for STM32L476 and STM32L486 devices 2018-03-14 14:48:09 -05:00
adustm d9d799a5b8 Use official toolchain defines 2018-03-14 14:48:09 -05:00
adustm ce1c36cf26 Use the TWO_RAM_REGIONS in targets.json for STM32L475 / STM32L476 and STM32L486 devices 2018-03-14 14:48:09 -05:00
adustm 06308c2017 Add defined for GCC_ARM to pass heap and stack tests 2018-03-14 14:48:09 -05:00
adustm 63ed5893a1 Add support of separate memories for heap and stack region swith the use of TWO_RAM_REGIONS define 2018-03-14 14:48:09 -05:00
adustm c1d883db19 Change STM32L475/76/86 GCC_ARM linker files to have HEAP in SRAM1 and stack in SRAM2 (after the interrupt vector) 2018-03-14 14:48:09 -05:00
adustm 374b705d96 Call to specific _wrap_sbrk to support 2 region model for heap and stack 2018-03-14 14:48:09 -05:00
Ashok Rao 769a566e9f ODIN MTB LEDs Fix 2018-03-14 14:48:09 -05:00
Maciej Bocianski fd2c714019 us_ticker_irq_handler call optimization 2018-03-14 14:48:09 -05:00
Martin Kojtal d43354f506 us ticker: fix fire interrupt handling
Few targets need more than just pending IRQ set. They include some flags to be
set that are checked in IRQ handler. This is the case for targets in this
commit.
2018-03-14 14:48:09 -05:00
Filip Jagodzinski 8bfc1668f6 Tests: Drivers: TimerEvent: Add tests 2018-03-14 14:48:09 -05:00
Filip Jagodzinski 9ebdd5fc13 Drivers: TimerEvent: Update API docs 2018-03-14 14:48:08 -05:00
Fahim Alavi 5bf917acaa Support added for R410M Changes
target added r410m

Spaces removed

Trace updated
2018-03-14 14:48:08 -05:00
Christopher Haster 30d29ca0bb littlefs: Fixed handling of root as target for create operations
Before this patch, when calling lfs_mkdir or lfs_file_open with root
as the target, littlefs wouldn't find the path properly and happily
run into undefined behaviour.

The fix is to populate a directory entry for root in the lfs_dir_find
function. As an added plus, this allowed several special cases around
root to be completely dropped.
2018-03-14 14:48:08 -05:00
Christopher Haster a4e48ffd23 Revert "Added pretty bar printing for compile output"
This reverts commit 471d99c68f.
2018-03-14 14:48:08 -05:00
Marcus Chang 10550884ac Add TRNG for NRF52832
Use SoftDevice API to get random numbers when present and active,
otherwise read random numbers directly from TRNG peripheral.
2018-03-14 14:46:55 -05:00
drewcassidy 597f7245d5 move device_has to OSHCHIP specifically and define device name. These should probably move to the unified target at some point but is outside the scope of this PR 2018-03-14 14:45:25 -05:00