Skip to content

Release mbed-os-5.1.4 and mbed lib v126 #2714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 135 commits into from
Sep 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
269778c
Heap statistics
c1728p9 Aug 13, 2016
c3e30a9
Fix cfstore_test_delete_all by removing swap
c1728p9 Aug 18, 2016
d3d974b
Move utest handlers out of critical section
c1728p9 Aug 19, 2016
4043822
Runtime dynamic memory tracing
Aug 18, 2016
4c5a902
Added tests for the memory tracer
Aug 22, 2016
794ab26
Added thread safety to the tracing mechanism
Aug 23, 2016
b3546c9
retarget - fix uvisor header inclusion
0xc0170 Sep 2, 2016
1f15556
alloc wrappers - fix calloc wrapping for uvisor
0xc0170 Sep 2, 2016
e9032d8
Unify look of argument errors
theotherjimmy Aug 4, 2016
665c48a
Prevent traceback
theotherjimmy Aug 4, 2016
7027d4e
Removing threaded_blink test (duplicate of basic rtos test)
bridadan Aug 30, 2016
88785a5
Adding timing drift host test
bridadan Aug 30, 2016
60bf70f
Modifying timing tests to use timing drift host test
bridadan Aug 30, 2016
61bd50b
Reducing number of timeouts to decrease drift
bridadan Sep 1, 2016
c7c09df
Consolidating timer reads to reduce drift
bridadan Sep 1, 2016
80918a5
Fixing issue in timing host test and wait_us case
bridadan Sep 6, 2016
50c8750
Refactor export subsystem
sarahmarshy Jul 20, 2016
727ac9f
Update copyright
theotherjimmy Jul 26, 2016
37a0edd
Accessing progen exporters directly
sarahmarshy Jul 26, 2016
2affd94
progen exporter template
sarahmarshy Jul 27, 2016
924a0b7
Requirements update
sarahmarshy Jul 28, 2016
5acec67
Allow exporting to in-memory zip file
theotherjimmy Jul 28, 2016
e88346b
Made exporting safer
theotherjimmy Jul 29, 2016
47b76a1
Reinstated the zip exporter
theotherjimmy Jul 29, 2016
d4bfca7
Fix renaming issues in non-CI ides
theotherjimmy Aug 8, 2016
4a7984a
Create projectfiles directory when exporting
sarahmarshy Aug 18, 2016
c541e1c
Set vpath correctly when exporting to projectfiles directory
theotherjimmy Aug 22, 2016
a9b5514
Allow dict in addition to the other types of src_paths
theotherjimmy Aug 23, 2016
8d42764
Fix some tracebacks, add zip exporter to the CLI
theotherjimmy Aug 23, 2016
358643c
Fix include paths for fragmented projects; remove deadcode
theotherjimmy Aug 24, 2016
5677ad0
Add repo_dirs, repo_files, lib_builds, and lib_refs to zips
theotherjimmy Aug 24, 2016
e3225ab
Removed projectfiles directory. debug-info default option
sarahmarshy Aug 24, 2016
676d6a4
Bump Progen version
theotherjimmy Sep 6, 2016
247fcc6
Add CMSIS target
jamike Jul 7, 2016
7779420
Add Hal Target
jamike Jul 7, 2016
f577f0b
Add RTOS support
jamike Jul 7, 2016
05522c9
test / export scripts update
jamike Jul 7, 2016
2ff4951
fix build error
jamike Jul 7, 2016
4b3b8c5
Added define guards for SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS so …
Aug 25, 2016
fd73280
Allow an empty or mal-formed config to be passed to the config system
theotherjimmy Aug 29, 2016
e8cf363
clean-up DEVICE features
Jul 8, 2016
a1ce300
Make device.h a common file
Jul 8, 2016
2a25183
Make device.h a common file
Jul 8, 2016
e288f10
Make device.h a common file
Jul 8, 2016
6ea6564
Make device.h a common file
Jul 8, 2016
d3e805d
Make device.h a common file
Jul 8, 2016
745d91f
Make device.h a common file
Jul 8, 2016
9b712bf
Make device.h a common file
Jul 8, 2016
2d4183d
Make device.h a common file
Jul 8, 2016
777f53a
Move RTC_LSI to macros instead of device_has
Aug 17, 2016
452fe81
Add asynchronous serial
svastm Aug 11, 2016
1212a77
Enable asynchronous serial
svastm Aug 11, 2016
864b440
Add tests for asynchronous serial
svastm Aug 11, 2016
90988aa
Add MBED5 capability
jeromecoutant Aug 23, 2016
66cf353
STM32F4xx - Add support of ADC channels 16, 17, 18
bcostm Aug 23, 2016
25a01a9
STM32F4xx - Add one more bit for channels field, declare ADC internal…
bcostm Aug 23, 2016
44dc36c
STM32F4xx - Add ADC_TEMP/VREF/VBAT pins
bcostm Aug 24, 2016
9bac8fb
STM32F4xx - Align STM_PIN_DATA and STM_PIN_DATA_EXT macros
bcostm Aug 24, 2016
f228da6
STM32F4xx - Align STM_PIN_DATA macro on ARCH_MAX too
bcostm Aug 24, 2016
ab44c42
Add a test to check for init race conditions
c1728p9 Aug 26, 2016
e47709f
Fix GCC locks for lazy object initailization
c1728p9 Aug 26, 2016
12cb657
Add smoke test that builds example programs with mbed-cli
theotherjimmy Aug 29, 2016
e951732
Use json for the example to target mapping and print failures
theotherjimmy Aug 29, 2016
b7d352d
Move example tests to their own folder
theotherjimmy Aug 29, 2016
98e64bc
Move to feature filter for target and toolchain detection; print pass…
theotherjimmy Aug 29, 2016
33f28e6
Allow command-line filtering of toolchains
theotherjimmy Aug 31, 2016
ffe5aeb
Allow filtering by target as well as by features
theotherjimmy Aug 31, 2016
3a5f541
Use IPV6 feature for filtering mesh, client, and sockets
theotherjimmy Aug 31, 2016
aa23e01
Update Docstring
theotherjimmy Aug 31, 2016
2fd68ba
Use mbed-os 5 example instead of the mbed 2 one
theotherjimmy Aug 31, 2016
72daa77
Separate the import and compile steps for better integration with Jen…
theotherjimmy Aug 31, 2016
522c178
return the number of failures from the script
theotherjimmy Sep 1, 2016
7ff0df7
Fix double free in NanostackInterface
c1728p9 Aug 29, 2016
7356670
initial github issue and PR templates
Aug 9, 2016
d46d7be
small updates
Aug 31, 2016
7e05502
Update issue_template.md
jupe Sep 2, 2016
8f30f26
Update pull_request_template.md
jupe Sep 2, 2016
d710930
Update pull_request_template.md
jupe Sep 8, 2016
abe05cc
add PTEx pins as option for SPI - for SD card on Hexiwear. Amend to r…
Aug 30, 2016
3389a35
Adding ON Semiconductor copyright notice.
radhika-raghavendran Sep 1, 2016
8cb8ee9
Correctly providing directories to build_apis
bridadan Sep 2, 2016
c5104fb
Properly handle a thread which terminates itself
c1728p9 Sep 7, 2016
d64d696
Add test case for thread self termination
c1728p9 Sep 7, 2016
085bd42
Use lp_timer to count time in the deepsleep tests
svastm Sep 8, 2016
163a934
Set size of callback irq array to IrqCnt
c1728p9 Aug 30, 2016
c23f1c0
Use pre_main symbol instead of software_init_hook
toyowata Aug 30, 2016
01c56d4
lwip - Added check for previously-bound socket
geky Aug 29, 2016
db15a26
lwip - Fixed handling of max sockets in socket_accept
geky Aug 29, 2016
5dbc396
nsapi - Corrected handling of errors in TCPServer accept
geky Aug 29, 2016
3322e4a
KSDK: Updated version of the SAI driver to address code-size issues
mmahadevan108 Aug 22, 2016
022a6ec
KSDK: Updated version for the flexcan driver
mmahadevan108 Aug 22, 2016
a05e253
adding target
ohagendorf Aug 20, 2016
85c3774
adding rtos lib
ohagendorf Aug 20, 2016
fa2ff86
adding to build_travis
ohagendorf Aug 20, 2016
5f9492b
adding gcc_arm exporter definitions
ohagendorf Aug 20, 2016
7fb952c
disco_f769 some rework ...
ohagendorf Aug 31, 2016
0241fbf
disco_f769 some rework ... (part II)
ohagendorf Aug 31, 2016
01a2940
disco_f769ni adding ethernet init
ohagendorf Sep 8, 2016
a369122
Move utest global serial object into a function.
pan- Aug 26, 2016
5a2db63
Move global Timeout object from utest_shim in static function.
pan- Aug 26, 2016
a173382
Move constant definitions of non POD object into cpp file.
pan- Aug 26, 2016
99add3e
Construct control_t from a POD struct. Replace const control_t instan…
pan- Aug 26, 2016
fdb105b
Enhance compatibility between control_t and base_control_t:
pan- Aug 26, 2016
b0bca44
Convert case_control to a POD.
pan- Aug 26, 2016
6c1a40f
Replace default_handlers value by a reference.
pan- Aug 26, 2016
6bd43b1
Move defaults and handlers variable into a static function.
pan- Aug 26, 2016
a86c4c3
Fix scope of the serial variable.
pan- Aug 26, 2016
f0fbdbd
Improve compatibility between base_control_t and control_t.
pan- Aug 26, 2016
9bc5adf
Fix a rare case of imcompatibility between base_control_t and control_t.
pan- Aug 26, 2016
3aeba87
Use greentea_serial SingletonPtr.
pan- Aug 31, 2016
8a94c85
Use a SingletonPtr for the Timeout object in utest_shim.
pan- Sep 6, 2016
fdcece8
Use SingletonPtr for the internal variables defaults and handlers in …
pan- Sep 9, 2016
f62a724
Removed echoing of characters and carriage return.
jeremybrodt Sep 9, 2016
b8f041b
DELTA_DFBM_NQ620 platform porting
TsungtaWu Sep 9, 2016
3022bff
NUCLEO_F446ZE - Enable mbed5 release version
bcostm Sep 8, 2016
ec37b59
Updated USBHost for library changes
neilt6 Sep 6, 2016
971397f
Updated USBDevice to use Callback
neilt6 Sep 6, 2016
64943bb
Test names not dependent on disk location of root
sarahmarshy Sep 6, 2016
5c04ee9
This commit contains CFSTORE fixes for the following related issues: …
simonqhughes Sep 5, 2016
c0b0ac6
Restoring swap code to cfstore_test_delete_all() after being previous…
simonqhughes Sep 5, 2016
074a7ee
DISCO_L476VG - Add Serial Flow Control pins + add SERIAL_FC macro
bcostm Sep 5, 2016
892546b
STM32F2xx - Enable Serial Flow Control
bcostm Sep 5, 2016
f9bcf7a
Added support for MTM_MTCONNECT04S
bcc6 Sep 5, 2016
d066a50
Added gcc_arm template for export.
bcc6 Sep 10, 2016
97e9a95
Fixed "intrinsic is deprecated" warnings
neilt6 Aug 31, 2016
e68b08e
Fixed compiler warning suppression
neilt6 Aug 31, 2016
b24c986
Improve memory tracer
neilt6 Aug 31, 2016
4ee629a
Fix TCPServer constructor
svastm Aug 31, 2016
8e960ad
Fix heap configuration error with armcc
ccli8 Aug 31, 2016
9d36809
Add test command switch for app config file
ConorPKeegan Aug 31, 2016
9c05d88
Add app config switch to options.py and make.py
ConorPKeegan Sep 1, 2016
cc8386d
Add unit tests for app_config
ConorPKeegan Sep 2, 2016
1d57ff7
Tools - Fix fill section size variation
tung7970 Sep 2, 2016
064037d
Fixing NCS36510 compile on Linux
bridadan Sep 13, 2016
6caef39
Release mbed-os-5.1.4 and mbed lib v126
adbridge Sep 16, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Note: This is just a template, so feel free to use/remove the unnecessary things

### Description
- Type: Bug | Enhancement | Question
- Related issue: `#abc`
- Priority: Blocker | Major | Minor

---------------------------------------------------------------
## Bug

**Target**
K64F|??

**Toolchain:**
GCC_ARM|ARM|IAR

**Toolchain version:**

**mbed-cli version:**
(`mbed --version`)

**meed-os sha:**
(`git log -n1 --oneline`)

**DAPLink version:**

**Expected behavior**

**Actual behavior**

**Steps to reproduce**

----------------------------------------------------------------
## Enhancement

**Reason to enhance or problem with existing solution**

**Suggested enhancement**

**Pros**

**Cons**

-----------------------------------------------------------------

## Question

**How to?**
39 changes: 39 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Notes:
* Pull requests will not be accepted until the submitter has agreed to the [contributer agreement](https://github.com/ARMmbed/mbed-os/blob/master/CONTRIBUTING.md).
* This is just a template, so feel free to use/remove the unnecessary things

## Description
A few sentences describing the overall goals of the pull request's commits.


## Status
**READY/IN DEVELOPMENT/HOLD**


## Migrations
If this PR changes any APIs or behaviors, give a short description of what *API users* should do when this PR is merged.

YES | NO


## Related PRs
List related PRs against other branches:

branch | PR
------ | ------
other_pr_production | [link]()
other_pr_master | [link]()


## Todos
- [ ] Tests
- [ ] Documentation


## Deploy notes
Notes regarding the deployment of this PR. These should note any
required changes in the build environment, tools, compilers, etc.


## Steps to test or reproduce
Outline the steps to test or reproduce the PR here.
106 changes: 106 additions & 0 deletions TESTS/host_tests/timing_drift_auto.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
"""
mbed SDK
Copyright (c) 2011-2013 ARM Limited

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""

from mbed_host_tests import BaseHostTest


class TimingDriftTest(BaseHostTest):
""" This test is reading single characters from stdio
and measures time between their occurrences.
"""
__result = None

# This is calculated later: average_drift_max * number of tick events
total_drift_max = None

average_drift_max = 0.05
ticks = []
start_time = None
finish_time = None
dut_seconds_passed = None
total_time = None
total_drift = None
average_drift = None

def _callback_result(self, key, value, timestamp):
# We should not see result data in this test
self.__result = False

def _callback_end(self, key, value, timestamp):
""" {{end;%s}}} """
self.log("Received end event, timestamp: %f" % timestamp)
self.notify_complete(result=self.result(print_stats=True))


def _callback_tick(self, key, value, timestamp):
""" {{tick;%d}}} """
self.log("tick! %f" % timestamp)
self.ticks.append((key, value, timestamp))


def setup(self):
self.register_callback("end", self._callback_end)
self.register_callback('tick', self._callback_tick)


def result(self, print_stats=True):
self.dut_seconds_passed = len(self.ticks) - 1

if self.dut_seconds_passed < 1:
if print_stats:
self.log("FAIL: failed to receive at least two tick events")
self.__result = False
return self.__result

self.total_drift_max = self.dut_seconds_passed * self.average_drift_max

self.start_time = self.ticks[0][2]
self.finish_time = self.ticks[-1][2]
self.total_time = self.finish_time - self.start_time
self.total_drift = self.total_time - self.dut_seconds_passed
self.average_drift = self.total_drift / self.dut_seconds_passed

if print_stats:
self.log("Start: %f" % self.start_time)
self.log("Finish: %f" % self.finish_time)
self.log("Total time taken: %f" % self.total_time)

total_drift_ratio_string = "Total drift/Max total drift: %f/%f"
self.log(total_drift_ratio_string % (self.total_drift,
self.total_drift_max))

average_drift_ratio_string = "Average drift/Max average drift: %f/%f"
self.log(average_drift_ratio_string % (self.average_drift,
self.average_drift_max))


if abs(self.total_drift) > self.total_drift_max:
if print_stats:
self.log("FAIL: Total drift exceeded max total drift")
self.__result = False
elif self.average_drift > self.average_drift_max:
if print_stats:
self.log("FAIL: Average drift exceeded max average drift")
self.__result = False
else:
self.__result = True

return self.__result


def teardown(self):
pass
29 changes: 0 additions & 29 deletions TESTS/integration/threaded_blinky/main.cpp

This file was deleted.

8 changes: 6 additions & 2 deletions TESTS/mbed_drivers/lp_timeout/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ void lp_timeout_1s_deepsleep(void)
{
complete = false;

timestamp_t start = us_ticker_read();
/*
* We use here lp_ticker_read() instead of us_ticker_read() for start and
* end because the microseconds timer might be disable during deepsleep.
*/
timestamp_t start = lp_ticker_read();
lpt.attach(&cb_done, 1);
deepsleep();
while (!complete);
timestamp_t end = us_ticker_read();
timestamp_t end = lp_ticker_read();

/* It takes longer to wake up from deep sleep */
TEST_ASSERT_UINT32_WITHIN(LONG_TIMEOUT, 1000000, end - start);
Expand Down
Loading