Commit Graph

13707 Commits (866b669d6ed1d09307aa432871e3af25282c84fc)

Author SHA1 Message Date
Kevin Bracey 866b669d6e Add Kernel::get_ms_count
Give C++ access to the RTOS's absolute timebase, reducing the need to
run private Timers and similar. Allows wait_until functionality, and
makes it easier to avoid time drift.

Place it in a new header and namespace in case we want more kernel
functions in future.

Try to cover over the breaking API change potentially upcoming in
CMSIS-RTOS 2.1.1, when it reduces the tick count from 64-bit to 32-bit.
(See https://github.com/ARM-software/CMSIS_5/issues/277)

Explicitly state that ticks are milliseconds in mbed OS, despite CMSIS
RTOS 2 permitting different tick rates.

See also https://github.com/ARMmbed/mbed-os/pull/3648 (wait_until
for condition variables) and
https://github.com/ARMmbed/mbed-os/issues/5378 (EventQueue should
use RTOS tick count).
2018-02-09 14:18:44 +00:00
Mahesh Mahadevan b137307757 NXP: Add support for MIMXRT1050_EVK
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-02-09 14:18:44 +00:00
jeromecoutant 4df67ef584 STM32 SPI ASYNC - Add FIFO flush before transfer 2018-02-09 14:18:44 +00:00
jeromecoutant a52d7553c3 STM32F7 SPI - add missing HAL files
ST_INTERNAL_REF 43358
2018-02-09 14:18:44 +00:00
bcostm d6e5fac49f STM32F7: move cache initialization 2018-02-09 14:18:44 +00:00
bcostm 11f629f4de Check cache before enabling it
The mbed_sdk_init can be called either during cold boot or during
application boot after bootloader has been executed.
In case the bootloader has already enabled the cache,
is is needed to not enable it again.
2018-02-09 14:18:44 +00:00
bcostm 846bd72068 NUCLEO_F767ZI: Add bootloader support 2018-02-09 14:18:44 +00:00
bcostm a79569977f BL NUCLEO_F746ZG: change scb->vector assignment 2018-02-09 14:18:43 +00:00
bcostm e8eb8bc8f6 BL NUCLEO_F746ZG: enable bootloader 2018-02-09 14:18:43 +00:00
bcostm 43c6f5b5b2 BL STM32746xG: Update scatter/link files 2018-02-09 14:18:43 +00:00
Brendan McDonnell 85d08b157a make _sbrk() WEAK so the user can override it, e.g. to make malloc() always use external memory 2018-02-09 14:18:43 +00:00
deepikabhavnani f9ec62882d Added macro: 1. string length and 2. variable argument count 2018-02-09 14:18:43 +00:00
amq 6a3c69488f EFM32: make peripherals conditional * MCUs within a family like EFM32GG can omit some peripherals, e.g. EFM32GG230 doesn't have UART * This commit adds a check to make them compilable, relevant mainly for custom boards 2018-02-09 14:18:43 +00:00
amq aa2cb58c79 VS Code exporter: do not overwrite existing (launch|settings|tasks).json 2018-02-09 14:18:43 +00:00
Jimmy Brisson 0376483157 Correct SW4STM32 supported check 2018-02-09 14:18:43 +00:00
Jimmy Brisson e7d29c6161 Force config resolution in gnuarmeclipse exporter 2018-02-09 14:18:43 +00:00
Jimmy Brisson b5577bde75 Move region adding to mbedToolchain 2018-02-09 14:18:43 +00:00
Jimmy Brisson f94e06151a Check that boot loader config works in libs 2018-02-09 14:18:43 +00:00
Jimmy Brisson 7d20c0adac Handle target overrides that have a path correctly 2018-02-09 14:18:43 +00:00
Jimmy Brisson c2d4e9b599 Configure boot loader after scanning 2018-02-09 14:18:43 +00:00
Jimmy Brisson 3610f91c0d Enable libraries to have boot loader configuration 2018-02-09 14:18:43 +00:00
bcostm bedc73d39e STM32 serial: add missing function declaration 2018-02-09 14:18:43 +00:00
bcostm 5f6ee5f6be STM32 serial: improve index assignment in serial_init 2018-02-09 14:18:43 +00:00
bcostm 82d7f9ff54 STM32 serial: improve irq index management for L0 devices 2018-02-09 14:18:43 +00:00
bcostm e6e1441fdc STM32 serial: improve irq index management for F0 devices 2018-02-09 14:18:43 +00:00
bcostm f5e76d38f3 STM32 serial: improve irq index management for L4 devices 2018-02-09 14:18:43 +00:00
bcostm 37738fec6e STM32 serial: improve irq index management for L1 devices 2018-02-09 14:18:43 +00:00
bcostm 32eff7d5da STM32 serial: improve irq index management for F7 devices 2018-02-09 14:18:43 +00:00
bcostm 19fd049d8f STM32 serial: improve irq index management for F3 devices 2018-02-09 14:18:42 +00:00
bcostm 2aadbb80df STM32 serial: improve irq index management for F2 devices 2018-02-09 14:18:42 +00:00
bcostm d01cfb1ca8 STM32 serial: coding style 2018-02-09 14:18:42 +00:00
bcostm 7cda4dd332 STM32 serial: improve irq index management for F1 devices 2018-02-09 14:18:42 +00:00
bcostm 83157673d2 STM32 serial: use uart_name in serial_irq_set function for F4 2018-02-09 14:18:42 +00:00
bcostm fb4d9252f8 STM32 serial: fix linking error 2018-02-09 14:18:42 +00:00
bcostm 2c4d959064 STM32 serial: use uart_name instead of uart_base 2018-02-09 14:18:42 +00:00
bcostm 327a378123 STM32 serial: change serial_get_irq_n function for F4 devices 2018-02-09 14:18:42 +00:00
bcostm f67975410a STM32 serial: use get_uart_index function for F4 devices 2018-02-09 14:18:42 +00:00
bcostm 0c09ac7716 STM32 serial: add get_uart_index utility function 2018-02-09 14:18:42 +00:00
bcostm 584e6ee5da STM32 serial: move init_uart function at the end of file 2018-02-09 14:18:42 +00:00
Wilfried Chauveau 0a644d25e9 add support for the murata's module based on STM32L0 2018-02-09 14:18:42 +00:00
adustm 52eb2b7f3e Remove last code redundancy 2018-02-09 14:18:42 +00:00
adustm acea1bda7c Improve fix calling Accumulate function every time in finish function 2018-02-09 14:18:42 +00:00
adustm 143b44815d Fix MD5 link issue 2018-02-09 14:18:42 +00:00
adustm 192de3f4ec Fix #5079. Add the support of call to mbedtls_xxx_finish even if mbedtls_xxx_udate was not called since mbedtls_xxx_start 2018-02-09 14:18:42 +00:00
Wilfried Chauveau a97e4d76ed fix a silent conflict with PR #5947 2018-02-09 14:18:42 +00:00
Wilfried Chauveau 8340f5041a add support for STM32L443RC & WISE-1510 2018-02-09 14:18:42 +00:00
jeromecoutant 0e78e7ef4e STM32 : set all PinMap structures as weak
This allow custom overwrites
2018-02-09 14:18:42 +00:00
Ashok Rao 3d0c222c42 Add license info 2018-02-09 14:18:41 +00:00
Ashok Rao fb267818e3 Adding MTB ublox NINA-B1 as a new target 2018-02-09 14:18:41 +00:00
sarahmarshy d158c21676 Change exception in ArmPackManager FLM reader 2018-02-09 14:18:41 +00:00