Commit Graph

15236 Commits (mbed-os-5.8)

Author SHA1 Message Date
adbridge 5bbcc4bb2c Update Mbed version block for patch release 2018-05-18 12:37:17 +01:00
Janne Kiiskila 751adc4825 NVStore - remove Thread.h include
As this include is not actually needed. Having it will cause issues
with the bootloader, as this will cause a need to get the full
CMSIS/RTOS package etc., which would bloat the bootloader size.
2018-05-18 12:37:11 +01:00
Cruz Monrreal II e76e0c29a1 Added explicit target for NVStore, per example readme 2018-05-18 12:37:11 +01:00
Qinghao Shi 81a01b87fa fix a bug in greentea-client
reset "LastChar" after "tok_close" received
fix the bug where greentea-client require a character input between K-V pairs
2018-05-18 12:37:11 +01:00
bcostm a000474b89 F3 ST CUBE V1.9.0: remove pcd patch
The Lock field is no more available in PCD structure.
2018-05-18 12:37:11 +01:00
bcostm 65e66b98a6 F3 ST CUBE V1.9.0: fix build errors with legacy macros 2018-05-18 12:37:11 +01:00
bcostm 2b80c5ff00 F3 ST CUBE V1.9.0 2018-05-18 12:37:11 +01:00
Jimmy Brisson b83ec98faf Prevent jump address conflicts in bootloader modes 2018-05-18 12:37:11 +01:00
Antti Yli-Tokola b85807a4be Update mbed-coap to version 4.4.3
Fixes error: IOTCLT-2506 [GitHub] Cannot set registration time if server does not use max age option
Improvements; Extend blockwise message transfer status to have states for sending as well.

NOTE! These are internal changes required for cloud client. This has no direct relevance to any mbed-os functionality.
2018-05-18 12:37:11 +01:00
Jaakko Heikkilä fa6db205ec export: Remove debug print from sw4stm32 2018-05-18 12:37:11 +01:00
Jaakko Heikkilä e39225fa69 export: Fix invalid config header path in Sw4STM32
Removed tmp-path from config header path, when project is exported
in online compiler. Parallel build is enabled by default.
2018-05-18 12:37:11 +01:00
David Saada 5f10f48d2f FlashIAP: Fix problem of programming source buffer not aligned to uint32_t 2018-05-18 12:37:11 +01:00
Kimmo Vaisanen bac765b554 Build mbed-os-example-lora only for lora targets
mbed-os-example-lora should be only compiled for targets which support lora.
2018-05-18 12:37:11 +01:00
Przemyslaw Stekiel 2937cd7944 NCS36510: Enable RTC support. 2018-05-18 12:37:11 +01:00
Przemyslaw Stekiel 95e4eeece1 tests-mbed_drivers-rtc: Add one second tolerance in functional tests.
Currently test assumes that 1 sec is long enough to set RTC time and read same time which has been set.
In some cases extra time for synchronisation between clock domains is needed and after setting/reading operations the read value might be different than one which has been set (+1 sec).
Additionally in some cases when lp ticker is based on RTC, the RTC implementation may use mechanism to trace elapsed seconds without modifying RTC registers. In such case it is possible that second will change immediately after setting time.

Add 1 sec tolerance (min possible) for such checks.
2018-05-18 12:37:11 +01:00
Przemyslaw Stekiel 3c375562de NCS36510: Make RTC driver to operate on seconds instead of us.
In current implementation `rtc_read` function returns number of elapsed us and `rtc_write` function sets RTC time to specified value in us.
Mbed HAL API expects that these functions operate on seconds.
Since lp ticker is also based on RTC provide mechanism to trace elapsed seconds without modifying RTC registers.
2018-05-18 12:37:11 +01:00
Marcus Chang 76e254ea85 Remove obsolete OS_IDLE_THREAD_STACK_SIZE from NRF52
Custom size is the same as the default size anyway.
2018-05-18 12:37:11 +01:00
Vincent Coubard 20692d8542 GenericSecurityManager: Fix crypto_toolbox_f4 signature.
The type exposed in the header file were not aligned to the one used in
the implementation: ble::public_key_t instead of ble::public_key_coord_t.
2018-05-18 12:37:11 +01:00
Steven Cartmell 378968f0a4 Add missing semicolon to NRF51 critical_section implementation 2018-05-18 12:37:11 +01:00
deepikabhavnani 0a3747a13b Check for NULL pointer before access 2018-05-18 12:37:11 +01:00
James Wang 7eefebbc3b mbed_wait_api: wait_ms() wait() wait_us() add "If the RTOS is present" comments 2018-05-18 12:37:11 +01:00
James Wang 7b5da6a30f accept Amanda Butler's review. change to "This function always spins to get the exact number of microseconds, which potentially affects power (such as preventing deep sleep) and multithread performance. You can avoid it by using Thread::wait()." 2018-05-18 12:37:11 +01:00
James Wang df8c2ed563 Accept Kevin Bracey's review, "wait_ms() and wait(float) always spin to get an exact number of microseconds, potentially impacting power and multi-thread performance. Again, avoided by Thread::wait()". 2018-05-18 12:37:11 +01:00
James Wang 403653b914 accept Cruz Monrreal's review 2018-05-18 12:37:11 +01:00
James Wang 880b80cca4 mbed_wait_api: add comments to warn the func will lock deep sleep 2018-05-18 12:37:11 +01:00
Vincent Coubard 196ddeeb59 BLE: Remove example section from cordio porting guide.
This section is not applicable in the public version of mbed-os.
2018-05-18 12:37:11 +01:00
Vincent Coubard 26b5b0072f BLE: Update cordio porting guide
Remove the section "Include prebuilt libraries" as it is not applicable
anymore.
2018-05-18 12:37:11 +01:00
Vincent Coubard feeb83a916 Cordio: Improve cordio H4 driver.
Ommit H4 driver definition if serial flow control is not supported.
2018-05-18 12:37:11 +01:00
Vincent Coubard 278df6938a BLE: update cordio porting guide.
Improve description of the requirements of the H4 driver.
2018-05-18 12:37:11 +01:00
Vincent Coubard ea5a7bf45b GenericGattClient: Fix discovery termination.
The procedure should be terminated whenever the server returns an error not equal
to ATTRIBUTE_NOT_FOUND. The block was effectivelly terminated but the
procedure was not. As a result the discovery was operating on already
freed memory.
2018-05-18 12:37:11 +01:00
Jimmy Brisson 627c098826 Reorder test configs
Old order:
 * --test-config
 * --app-config
 * test config (as defined in test_config)
 * `mbed_app.json` in root.

New order:
 * --test-config
 * --app-config
 * `mbed_app.json` in root.
 * test config (as defined in test_config)~

This matches the documentation and user expectation
2018-05-18 12:37:11 +01:00
Paul Thompson 8fe8f0e04f Drop locking around TX and RX. The DMA channels are independent of each other 2018-05-18 12:37:11 +01:00
Martin Kojtal 2f20739766 issue template: add tools version + name request 2018-05-18 12:37:11 +01:00
Martin Kojtal 72a825bc9a issue template: fix order (same as in PR template) 2018-05-18 12:37:11 +01:00
Amanda Butler bf25bb7fe8 Copy edit issue_template.md
Make minor copy edits for grammar.
2018-05-18 12:37:11 +01:00
Martin Kojtal 337a91b9a5 Issue template: match with PR template
Add same notes about the list of available issue types
2018-05-18 12:37:11 +01:00
Sam Grove bc4f4ede99 Update the issue template to reduce clutter
Lots of issues filed didnt take the time to remove the boilerplate
text and give the details needed. This format mimics the update to
pull requests but inverts type and description.
2018-05-18 12:37:11 +01:00
ccli8 43cd9c9651 Add MBED_CONF_APP_TIMER/IDLE_THREAD_STACK_SIZE to configure timer/idle thread stack size by application 2018-05-18 12:37:11 +01:00
ccli8 cad43c783a Change back default size of timer thread stack
Configuration for changing this size is kept.
2018-05-18 12:37:11 +01:00
ccli8 82d882ce0c Enlarge timer thread stack size for Cortex-M23/M33 2018-05-18 12:37:11 +01:00
Jimmy Brisson d8e0817968 Apply subtract basepath to features
A bug, #6755, was the result of the `subtract_basepath` function not
being applied to a resources object's children (it's features). This PR
fixes this bug by moving this functionality into the resources class.
Then, I applied the `subtract_basepath` method to the children resource
objects recursively. This has been tested on Partnerbeta and is to
upstream the fix.
2018-05-18 12:37:11 +01:00
deepikabhavnani 1ce79ee76c Updating HEAP size
IAR 7.8 does not support dynamic heap, and some test/addition of new
feature fail on this device because of less static RAM memory.
Reducing the heap memory size for the same reason.
2018-05-18 12:37:11 +01:00
Jimmy Brisson 7c10f8d4cf Check call to get_config in test_api tests 2018-05-18 12:37:11 +01:00
Jimmy Brisson f82ed24927 Pass app config to get config
This corrects a bug which would manifest as --app-config not having
much of an affect on test builds (not the first libary bulid)
2018-05-18 12:37:11 +01:00
ccli8 57c11ad46e Fix compile error with DirectSerial in serial-less build 2018-05-18 12:37:11 +01:00
Cruz Monrreal ae6c7c60f9
Merge pull request #6818 from ARMmbed/release-candidate
Release candidate for mbed-os-5.8.4
2018-05-07 10:57:26 -05:00
adbridge 09132ce8ce Update Mbed version block for patch release 2018-05-04 12:22:31 +01:00
Jimmy Brisson 5a320b837f Extend a local version of the asm cmd list
I was extending an object-local one instead of a call-local one
2018-05-04 12:22:29 +01:00
Jimmy Brisson f38f1269b1 Cleanup extraneous spaces on empty lines 2018-05-04 12:22:29 +01:00
Jimmy Brisson 54c6e65d37 Use rel path for the ONLY arm asm include statement 2018-05-04 12:22:29 +01:00