Commit Graph

12698 Commits (d1236f6a80bcf4b42c95e71b64de756c984b7b54)

Author SHA1 Message Date
adbridge d1236f6a80 Revert "Shrink RTOS classes"
This reverts commit 781c0c7105.
2017-11-21 13:31:47 +00:00
Martin Kojtal 34b61d1612
Merge pull request #5523 from ARMmbed/release-candidate
Release candidate for mbed-os-5.6.5
2017-11-20 11:38:30 +00:00
adbridge 2550c881db Update Mbed version block for patch release 2017-11-17 14:55:52 +00:00
Dave Wu 3a2de81e69 Added SystemCoreClock as an extern. 2017-11-17 14:55:51 +00:00
Dave Wu 6b55c2a862 Cleaned up some formatting issues. 2017-11-17 14:55:51 +00:00
Dave Wu 9976bc284a Added support for ADI EV-COG-AD3029LZ platform.
Fixed issues raised from ARM PR review and removed the unsupported platform.

- Fixed an issue where the TRNG is read even though it may not be ready;
- Added configuration to ensure the buffering mode is disabled so only 8-bit bytes are generated;
- Moved the TRNG device handle into the trng_t structure.

Removed undefined spi slave related functions.

- Added error checking for trng_get_bytes function;
- Added curly brackets to single line conditions for some files;
- Changed rx and tx buffers in serial module as local variables;
- Removed some unused code and some minor formatting corrections;
- Minor i2c & spi updates for github pull request;
- Added function definition for spi_master_block_write.

Added default delay and sample times for the ADC during initialization.

- Added code to clear stack variable in trng_get_bytes upon exiting the
function;
- Remove lp ticker functionality as the timer hardware does not satisfy
lp timer requirements.

Added a check for the STUCK bit before reading the RNG data register to ensure there are no hardware faults.

- Removed .mbedignore to work around some exporter issues;
- Added #includes to some of the driver data C files for them to build on their own.
2017-11-17 14:55:51 +00:00
Jenny Plunkett e1e3453f89 Removed special config for K64F 2017-11-17 14:55:51 +00:00
Jenny Plunkett 4dc8ae5435 Updated if statements for conciseness 2017-11-17 14:55:51 +00:00
Jenny Plunkett 6abc761916 Updated get_test_config function returns comment 2017-11-17 14:55:51 +00:00
Jenny Plunkett 4a5ad4ee3e Use ethernet as default config if target has LWIP feature 2017-11-17 14:55:51 +00:00
Steven Cooreman 8657958d51 Apply feedback by @Patater 2017-11-17 14:55:51 +00:00
Steven Cooreman c6a6585591 Cosmetic fix 2017-11-17 14:55:51 +00:00
stcoorem c5ac3ee529 Applied @yanesca and @andresag01 comments (#4825) 2017-11-17 14:55:51 +00:00
Steven Cooreman 843d5c1d0b Apply feedback from @RonEld
* Use _C flags at compile time in SHA to avoid compiling in unconfigured features
* Don't define ECP_SHORTWEIERSTRASS since it is part of the application's configuration
2017-11-17 14:55:50 +00:00
Steven Cooreman 704a0dc2a1 cryptographic acceleration support
Initial commit of mbed TLS hardware acceleration drivers for Silicon Labs parts
2017-11-17 14:55:50 +00:00
Maciej Bocianski bc38af85b0 Extends test set for Ticker class (round 2) 2017-11-17 14:55:50 +00:00
Przemyslaw Stekiel 7efa2f78b9 Provide fix for Issue #5468.
Issue: https://github.com/ARMmbed/mbed-os/issues/5468
Increased DELTA value for Timer and Low Power Timer tests.
2017-11-17 14:55:50 +00:00
Przemyslaw Stekiel 329dfc5ead Move Timer test, modify ASERT macros, fix comments.
Move Timer test to TESTS/mbed_drivers/ directory which is more suitable.
Fix few comments which are incorrect.
Use more relevant ASERT macros.
2017-11-17 14:55:50 +00:00
Przemyslaw Stekiel 1886e8b954 Provide fix for Timer and LowPowerTimer tests (time accumulation).
LowPoterTimer test gives sometimes failed result while testing measured time accumulation. The check which verifies if total number of elapsed milliseconds is valid fails. Test assumes that delta value equal to 1 ms is sufficient for all test cases, which is not true since in case where time measurement is performed few times in sequence the measurement error also accumulates and 1 ms might be not enough. To solve this problem delta value for milliseconds tests must be updated.
2017-11-17 14:55:50 +00:00
Vincent Coubard 948f47282a BLE: Fix assertion in Battery service. 2017-11-17 14:55:49 +00:00
Amanda Butler b2b24807c3 Copy edit BatteryService.h
Make minor copy edits, mostly for active voice and U.S. spelling.
2017-11-17 14:55:49 +00:00
Vincent Coubard dba0135a44 BLE: Update BatteryService documentation. 2017-11-17 14:55:49 +00:00
bcostm 1b6e1ab0c5 DISCO_L072CZ: remove dead code 2017-11-17 14:55:49 +00:00
bcostm 4be1146f00 DISCO_L072CZ: add comment in clock_source config 2017-11-17 14:55:49 +00:00
bcostm f2155a3212 DISCO_L072CZ: align SetSysClock_PLL_HSE() with SetSysClock_PLL_HSI() 2017-11-17 14:55:49 +00:00
Andrzej Puzdrowski 1e7d12a9e5 Fix bug for issue 5462, initial pin value not retained
For api usage like DigitalOut led(LED1, 1) the hal function gpio_write()
sets the output before f. gpio_mode() is called. gpio_mode() clears the
output as it take never writen parameters (gpio_cfg_t.init_hight).

This patch use internal hardware register of GPIO output instedad of above paramiter latch
for retaining proper writen state.
2017-11-17 14:55:49 +00:00
bcostm 21fcb756aa STM32: fix error with CAN_3 not defined 2017-11-17 14:55:49 +00:00
bcostm b3406e3389 STM32: fix compilation error with STM32F1 2017-11-17 14:55:49 +00:00
bcostm 061edef904 STM32: Use CAN3_BASE + typos 2017-11-17 14:55:49 +00:00
bcostm e56598cfa8 STM32: Add support of CAN3 on STM32F413/F767 2017-11-17 14:55:49 +00:00
adbridge 2ff12b4569 Remove mbed-cloud-client-example-internal. 2017-11-17 14:55:49 +00:00
Laurent MEUNIER 23a162971b STM32: HAL smartcard, fix memory corruption in Receive
Re-casting with tmp the uint8_t* pData pointer to uint16_t* brings a
memory corruption and typically can corrupt the size parameter. This
is fixed with this commit.

STM32 Internal ticket reference : 39116
2017-11-17 14:55:49 +00:00
cyliangtw 6923d0d3e7 fix TRUE/FALSE redefinition 2017-11-17 14:55:49 +00:00
Sarah Marsh 337a506f89 Limit size of equeue for sigio net test 2017-11-17 14:55:49 +00:00
Marcus Chang 5ca88696d6 Reorganize defines for firmware updates on Realtek RTL8195AM
Moved defines, typedefs and function prototypes from ota_api.c to
ota_api.h so that these can be included in applications.
2017-11-17 14:55:49 +00:00
Yuguo Zou dbbe22704b Remove lines to improve readability 2017-11-17 14:55:49 +00:00
Yuguo Zou 9c416ae3fb Update HAL library to fix lockup issue 2017-11-17 14:55:49 +00:00
Yuguo Zou d56959acf5 Update HAL code to resolve ticker lockup issue 2017-11-17 14:55:48 +00:00
Tony Wu 44fc3313d1 rtl8195am - fix us_ticker interrupt handling
TIMER2_7_IRQ is shared among several timer sources, including
us_ticker. Raising TIMER2_7_IRQ pending bit will trigger the timer
interrupt, but the timer interrupt handler will not know which timer
source this interrupt is for. This patch sets timer load value to one
tick and force us_ticker to fire almost "immediately".

TIMER2_7_IRQ is handled through a common interrupt handler, and
is automatically cleared. Therefore, there is no need to clear IRQ.

The underlying timer HAL treats load value as micro-seconds and does
conversion internally. Therefore, simply pass micro-seconds to timer
HAL without converting to tick first.

Signed-off-by: Tony Wu <tung7970@gmail.com>
2017-11-17 14:55:48 +00:00
johnny de51bcaac8 Add support for RedBear's BLE Nano 2
Cribbed from 4bf42f2e20

I'm not sure if if there are any copyright issues here with what is
effectively a set of config files. A few folks have been bugging me (and
the redbear folks) for these changes, so I wanted them somewhere
centralized.
2017-11-17 14:55:48 +00:00
Dave Wu 5408dae639 - Removed .mbedignore due to an issue with the eclipse exporter not picking up the ignored files; - Added #includes in BSP data C files so they can be built on their own without mbedignore; 2017-11-17 14:55:48 +00:00
Dave Wu f53e037f1f Added a check for the STUCK bit before reading the RNG data register to ensure there are no hardware faults. 2017-11-17 14:55:48 +00:00
dave.wu@analog.com 41c6084a1e - Added code to clear temporary variable on the stack before exiting the trng_get_bytes; - Removed lp ticker as it does not satisfy the requirements of the lp timer. 2017-11-17 14:55:48 +00:00
Dave Wu c4220ece9b Added default delay and sample times for the ADC during initialization. 2017-11-17 14:55:47 +00:00
Dave Wu a85563bcc5 - Cleaned up some formatting issues; - Fixed a build error in spi_master_block_write; - Some clean up in serai_api. 2017-11-17 14:55:47 +00:00
Dave Wu 46eae9f862 Added curly brackets for the single line if else statement. 2017-11-17 14:55:47 +00:00
Dave Wu 477c728b61 - Added error checking for trng_get_bytes function; - Added curly brackets to single line conditions in gpio_qpi.c and gpio_irq_api.c; - Changed rx and tx buffers in serial module as local variables; - Minor i2c & spi updates for github pull request; - Added function definition for spi_master_block_write. 2017-11-17 14:55:47 +00:00
Dave Wu 1a0470f869 Removed the custom app thread stack size. 2017-11-17 14:55:47 +00:00
Dave Wu 78d8379a82 Removed undefined spi slave related functions. 2017-11-17 14:55:47 +00:00
Dave Wu aa6872523e - 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-11-17 14:55:47 +00:00