Skip to content

Jenkinsfile updates #2656

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

Closed
wants to merge 318 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
318 commits
Select commit Hold shift + click to select a range
c721c14
Sharing greentea-client's RawSerial with utest and UNITY.
bridadan Aug 12, 2016
fdd6821
Add support for KL43Z using KSDK 2.0
mmahadevan108 Aug 5, 2016
b59c778
Add support for FRDM K66
mmahadevan108 Aug 9, 2016
ed1ee7f
[STM32F3] Add asynchronous serial
svastm Aug 11, 2016
5ece618
[STM32F3] Enable asynchronous serial
svastm Aug 11, 2016
87e2902
[STM32F3] Add tests for asynchronous serial
svastm Aug 11, 2016
c8289a3
[MAX326xx] Fixed I2C bug.
jeremybrodt Aug 16, 2016
424c075
[MAX326xx] Fixed i2c_byte_write() return value.
jeremybrodt Aug 16, 2016
2b8606b
[MAX326xx] Fixed analogout bugs.
jeremybrodt Aug 16, 2016
14b9449
[MAX326xx] Updated bit-band macros to match latest MXC convention.
jeremybrodt Aug 16, 2016
dafac63
[MAX326xx] Added missing register definitions.
jeremybrodt Aug 16, 2016
e3e64f5
[MAX326xx] Synchronizing SPI drivers.
jeremybrodt Aug 16, 2016
4fb4892
[STM32L4] Add asynchronous serial
svastm Aug 16, 2016
833fcec
[STM32L4] Enable asynchronous serial
svastm Aug 16, 2016
a8d08f3
[STM32L4] Add tests for asynchronous serial
svastm Aug 16, 2016
332aca9
Stylize utils.py
theotherjimmy Jul 27, 2016
8586b50
Format bulid_api
theotherjimmy Aug 12, 2016
feebd74
Glorify config.py (passes pylint)
theotherjimmy Aug 12, 2016
ee57b2b
Edit the English of the docstrings
theotherjimmy Aug 12, 2016
31dd5bb
Reveal cumulative attributes from Targets
theotherjimmy Aug 12, 2016
e9018cb
Format targets.py
theotherjimmy Aug 12, 2016
d39e0b7
Expand docstrings in build_api
theotherjimmy Aug 15, 2016
104f6a6
Format and add docstrings to memmap
theotherjimmy Aug 15, 2016
8e34a16
Format and document colorize
theotherjimmy Aug 15, 2016
6c34968
Format paths python module
theotherjimmy Aug 15, 2016
7dacff1
Add pylint configuration file
theotherjimmy Aug 15, 2016
5e9b9b8
Format and document libraries.py
theotherjimmy Aug 15, 2016
2037586
Format detect_targets.py
theotherjimmy Aug 15, 2016
1826bf7
Fixing issue where GCC fails to report compile errors when non-verbose
bridadan Aug 16, 2016
b36ff21
Format and document hooks.py
theotherjimmy Aug 15, 2016
4fab502
Format and document options.py
theotherjimmy Aug 15, 2016
4f041a4
Add pylint testing to Travis
theotherjimmy Aug 15, 2016
0ae377c
Fix remaining issues in targets.py
theotherjimmy Aug 15, 2016
5046a23
Made linting a recommendation and raised the bar for printing
theotherjimmy Aug 16, 2016
0c5dec5
Added more well-defined garuntees on deprecation notices in mbed
geky Aug 8, 2016
6be1ffa
Updated deprecation notices to match branch names
geky Aug 17, 2016
5484251
[TY51822r3] Added exporting support
ytsuboi Aug 17, 2016
53a7ca6
[STM32] Add ethernet and feature IPV4
svastm Aug 16, 2016
d851f43
Enable SPI1 on P6_4 ~ P6_7
komori-t Aug 17, 2016
0c97cd9
KL27Z: Update the SPI driver
mmahadevan108 Aug 17, 2016
2279a4c
Allow users to set armcc and iccarm in path.
sarahmarshy Aug 10, 2016
c5b6d4d
KL27Z: Update the ARM linker file
mmahadevan108 Aug 17, 2016
01528e0
Add entropy functions for STM32F4 and STM32F7 family
adustm Jul 26, 2016
dd587b1
Add documentation + reformat the code
adustm Jul 28, 2016
e123c6b
[RNG for STM32F4 family] fix build issue by modifying labels
adustm Aug 18, 2016
f31b8c6
Fix macros being the exact same when generating mbed_config.h
theotherjimmy Aug 18, 2016
7dd96d8
Print module information in 'table' output format
theotherjimmy Aug 18, 2016
27ef979
Fix multiple definition errors in GCC_CR build
toyowata Aug 19, 2016
21d962d
Add TOOLCHAIN_GCC_CR support
toyowata Aug 19, 2016
f0c0fb6
Fix link error
toyowata Aug 19, 2016
d542963
Unify look of argument errors
theotherjimmy Aug 4, 2016
e27b8c6
Prevent traceback
theotherjimmy Aug 4, 2016
a31cf47
HEXIWEAR: Update I2C pin mapping
mmahadevan108 Aug 19, 2016
1101f41
LWIP - fix recv blocking send on accepted sockets
c1728p9 Aug 19, 2016
985cc5a
Fix SingletonPtr problems
c1728p9 Aug 19, 2016
80f959c
Beetle: Implement sleep API
bulislaw Aug 18, 2016
d8dce4a
Fixed link to release page
seppestas Aug 22, 2016
6d219a8
Fixes issue #2508.
adbridge Aug 22, 2016
b9e9c4a
KSDK: Updated version of the SAI driver to address code-size issues
mmahadevan108 Aug 22, 2016
6f4735e
KSDK: Updated version for the flexcan driver
mmahadevan108 Aug 22, 2016
b9364e0
HEXIWEAR: Add support to create KDS projects for HEXIWEAR
mmahadevan108 Aug 22, 2016
4da7d69
Heap statistics
c1728p9 Aug 13, 2016
308c3b2
Fix cfstore_test_delete_all by removing swap
c1728p9 Aug 18, 2016
0ab08b2
Move utest handlers out of critical section
c1728p9 Aug 19, 2016
1a1fc94
Allow 'small-build' and 'big-build' to be used as options.
pan- Aug 10, 2016
516ee6d
Rename big-build option into standard-build.
pan- Aug 12, 2016
a721b5c
Improve naming of the command line option which select the c library …
pan- Aug 17, 2016
d96d87f
[STM32L1] Add asynchronous serial
svastm Aug 16, 2016
fc68647
[STM32L1] Enable asynchronous serial
svastm Aug 16, 2016
064568c
[STM32L1] Add tests for asynchronous serial
svastm Aug 16, 2016
417cba5
[NUCLEO_L011K4] build issues
jeromecoutant Aug 23, 2016
c11b99f
Make selection of c library used consistent.
pan- Aug 17, 2016
ff6582e
Fix for IOTCLT-961 for next mbed-os release candidate
Aug 23, 2016
3b88f5f
Fixed recvfrom address in ipv4 nist tests
geky Aug 23, 2016
dd55a3f
Copying JSON files to pick up config for built libraries
bridadan Aug 16, 2016
e4586cd
Added check for packet address in ipv4 nist test
geky Aug 23, 2016
9860fc0
[NUCLEO_F207ZG] Add MBED5 capability
jeromecoutant Aug 23, 2016
a9b446b
uVisor: Update to v0.20.1-alpha
AlessandroA Aug 24, 2016
9c684bd
uVisor: Minor fix in the README
AlessandroA Aug 24, 2016
1bb4f82
Fix missing wrapping of calloc_r with uVisor enabled.
niklarm Aug 24, 2016
5dfbba2
STM32F3 : fix RTOS IAR test not compiling.
jamike Aug 22, 2016
b4d3591
STM32F3 : Fix RTOS GCC_ARM test failed.
jamike Aug 24, 2016
a2ee260
Introduce uart hardware flow control configuration using mbed configu…
nvlsianpu Aug 24, 2016
14fbcf4
Fix for https://github.com/ARMmbed/mbed-os-example-client/issues/75
Aug 24, 2016
3af284c
[MAX32620HSP] Initial release.
jeremybrodt Aug 8, 2016
def72cc
[MAX32620HSP] Cleaned up analogin.
jeremybrodt Aug 24, 2016
1f25e0e
[MAX32620HSP] Removed constant structure element.
jeremybrodt Aug 24, 2016
04df99e
[MAX32620HSP] Added Deep Sleep support with USB.
jeremybrodt Aug 24, 2016
bd78720
Fix NUC472 Ethernet wrong INT status in RX_Action
cyliangtw Aug 25, 2016
462b340
Fix implicit declaration of function 'atexit'
tung7970 Aug 25, 2016
1509312
K64F/K22F: Implement HAL lp_timer API
bulislaw Aug 16, 2016
c6b1c0e
Add tests for LowPowerTimeout and lp_ticker
bulislaw Aug 17, 2016
8b4a240
Ticker: Move ticker initialisation to object creation time
bulislaw Aug 23, 2016
ffbf100
Added define guards for SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS so …
Aug 25, 2016
6001f46
[MAX32620HSP] Replaced tab with spaces.
jeremybrodt Aug 25, 2016
29374da
[MAX32620HSP] Added support to RTX files.
jeremybrodt Aug 25, 2016
92e79d1
[STM32F4] pwmout: remove printf
Aug 26, 2016
28355f8
Adding NCS36510 support in mbed-os5.1
radhika-raghavendran Aug 16, 2016
e842677
heap and stack test
radhika-raghavendran Aug 24, 2016
169a773
Adding NCS36510 support in mbed-os5.1
radhika-raghavendran Aug 16, 2016
7443d6e
heap and stack test
radhika-raghavendran Aug 24, 2016
0746263
Use GCC small build for 64K flash STM32
jeromecoutant Aug 24, 2016
ae5eb96
Rebase to replace "default_build" into "default_lib"
jeromecoutant Aug 26, 2016
08709e0
[TY51822r3] a patch for TY51822r3 to use a change of PR #2535
ytsuboi Aug 26, 2016
c97308e
Added support for cv-qualifiers in Callback class
geky Aug 18, 2016
7f1b489
Runtime dynamic memory tracing
Aug 18, 2016
a685c05
Added tests for the memory tracer
Aug 22, 2016
98e8916
Added thread safety to the tracing mechanism
Aug 23, 2016
33edbaf
Updated minor functionality of the Callback class
geky Aug 19, 2016
5a8ad3f
Split callback test into multiple tests based on types
geky Aug 25, 2016
76c0e05
rebasing with mbed-os latest
radhika-raghavendran Aug 26, 2016
8580adc
Formatting code according to ARM guidelines.
radhika-raghavendran Aug 26, 2016
7706e72
[STM32F2] Add asynchronous serial
svastm Aug 12, 2016
51adb71
[STM32F2] Enable asynchronous serial
svastm Aug 12, 2016
96d1c35
[STM32F2] Add tests for asynchronous serial
svastm Aug 12, 2016
69cdf33
Move page heap after uVisor private data.
niklarm Aug 24, 2016
1a53797
Update uVisor page allocator
meriac Aug 26, 2016
2874313
K64F: Revert to hardcoded stack pointer in RTX
AlessandroA Aug 26, 2016
ccefe91
[nsapi] Refactored dns-query to match style of the rest of the nsapi
geky Jul 27, 2016
c4d6743
[nsapi] Added support for multiple results in a dns-query
geky Aug 9, 2016
96c5dd5
[nsapi] Added IPv6 support to DNS query
geky Aug 9, 2016
65045ac
[nsapi] Removed unnecessary dns_query functions
geky Aug 15, 2016
34abf5f
[nsapi] Add support for implementation-provided DNS servers
geky Aug 15, 2016
8dd8a53
[nsapi] Adopted netconn_gethostbyname in the lwip interface
geky Aug 18, 2016
78be856
[nsapi] Restructured nsapi_dns.h to have clear separation between C/C++
geky Aug 26, 2016
5291913
Added explicit void specialization in callbacks
geky Aug 25, 2016
c5babcb
Rewrote thread deprecation notices to help migration
geky Aug 25, 2016
5436406
Check executable
sarahmarshy Aug 26, 2016
05ee3e7
[STM32F1] Add asynchronous serial
svastm Aug 11, 2016
f8d4baf
[STM32F1] Enable asynchronous serial
svastm Aug 11, 2016
7c0849f
[STM32F1] Add tests for asynchronous serial
svastm Aug 11, 2016
3f71d13
Fix failing compilation for mbed-os
Aug 29, 2016
271e0a6
Allow an empty or mal-formed config to be passed to the config system
theotherjimmy Aug 29, 2016
04e345c
Add smoke test that builds example programs with mbed-cli
theotherjimmy Aug 29, 2016
46b5769
Use json for the example to target mapping and print failures
theotherjimmy Aug 29, 2016
11bcec2
Move example tests to their own folder
theotherjimmy Aug 29, 2016
974ca82
Move to feature filter for target and toolchain detection; print pass…
theotherjimmy Aug 29, 2016
78bd6b3
Fix double free in NanostackInterface
c1728p9 Aug 29, 2016
9568c0c
lwip - Fixed handling of max sockets in socket_accept
geky Aug 29, 2016
5b6da05
nsapi - Corrected handling of errors in TCPServer accept
geky Aug 29, 2016
247cbdd
lwip - Added check for previously-bound socket
geky Aug 29, 2016
b67ba67
Use pre_main symbol instead of software_init_hook
toyowata Aug 30, 2016
f1599f1
initial github issue and PR templates
Aug 9, 2016
9f7c3a4
Move utest global serial object into a function.
pan- Aug 26, 2016
c00b796
Move global Timeout object from utest_shim in static function.
pan- Aug 26, 2016
bba3a00
Move constant definitions of non POD object into cpp file.
pan- Aug 26, 2016
747aa4d
Construct control_t from a POD struct.
pan- Aug 26, 2016
b815c6e
Enhance compatibility between control_t and base_control_t:
pan- Aug 26, 2016
8714027
Convert case_control to a POD.
pan- Aug 26, 2016
7956c42
Replace default_handlers value by a reference.
pan- Aug 26, 2016
a3dabf1
Move defaults and handlers variable into a static function.
pan- Aug 26, 2016
96deeed
Fix scope of the serial variable.
pan- Aug 26, 2016
fbeb360
Improve compatibility between base_control_t and control_t.
pan- Aug 26, 2016
63e7459
Fix a rare case of imcompatibility between base_control_t and control_t.
pan- Aug 26, 2016
d25f4ba
[STM32] clean-up DEVICE features
Jul 8, 2016
8520baa
[STM32F0] Make device.h a common file
Jul 8, 2016
2adf9f1
[STM32F1] Make device.h a common file
Jul 8, 2016
90a22c0
[STM32F3] Make device.h a common file
Jul 8, 2016
d70430e
[STM32F4] Make device.h a common file
Jul 8, 2016
ebcf1e9
[STM32F7] Make device.h a common file
Jul 8, 2016
aa2b3c6
[STM32L0] Make device.h a common file
Jul 8, 2016
a5ce7be
[STM32L1] Make device.h a common file
Jul 8, 2016
b0a9733
[STM32L4] Make device.h a common file
Jul 8, 2016
1f765aa
[STM32] Move RTC_LSI to macros instead of device_has
Aug 17, 2016
b37ece3
Set size of callback irq array to IrqCnt
c1728p9 Aug 30, 2016
05be6cd
Add a test to check for init race conditions
c1728p9 Aug 26, 2016
e59152c
Fix GCC locks for lazy object initailization
c1728p9 Aug 26, 2016
b3f1539
Removing threaded_blink test (duplicate of basic rtos test)
bridadan Aug 30, 2016
f5d63b7
Adding timing drift host test
bridadan Aug 30, 2016
7cff37b
Modifying timing tests to use timing drift host test
bridadan Aug 30, 2016
0533c6c
[NUC472] Fix heap configuration error with armcc
ccli8 Aug 31, 2016
cd4ee69
small updates
Aug 31, 2016
ce7f008
Use greentea_serial SingletonPtr.
pan- Aug 31, 2016
af647d3
Fix TCPServer constructor
svastm Aug 31, 2016
475dcf4
[HAL] Improve memory tracer
neilt6 Aug 31, 2016
05d21c3
[HAL] Fixed "intrinsic is deprecated" warnings
neilt6 Aug 31, 2016
b03d7ac
Allow command-line filtering of toolchains
theotherjimmy Aug 31, 2016
f0f1acb
Allow filtering by target as well as by features
theotherjimmy Aug 31, 2016
a370292
Use IPV6 feature for filtering mesh, client, and sockets
theotherjimmy Aug 31, 2016
9344f4c
Update Docstring
theotherjimmy Aug 31, 2016
4c15736
Use mbed-os 5 example instead of the mbed 2 one
theotherjimmy Aug 31, 2016
d4d6bce
Fixed compiler warning suppression
neilt6 Aug 31, 2016
e5429a5
Separate the import and compile steps for better integration with Jen…
theotherjimmy Aug 31, 2016
99768f4
Adding ON Semiconductor copyright notice.
radhika-raghavendran Sep 1, 2016
412875a
Reducing number of timeouts to decrease drift
bridadan Sep 1, 2016
e87634d
Consolidating timer reads to reduce drift
bridadan Sep 1, 2016
3583820
return the number of failures from the script
theotherjimmy Sep 1, 2016
6865a8c
retarget - fix uvisor header inclusion
0xc0170 Sep 2, 2016
f75746c
alloc wrappers - fix calloc wrapping for uvisor
0xc0170 Sep 2, 2016
a7d508d
Update issue_template.md
jupe Sep 2, 2016
ac87e52
Update pull_request_template.md
jupe Sep 2, 2016
8d82a72
STM32F4xx - Add support of ADC channels 16, 17, 18
bcostm Aug 23, 2016
4cf53ce
STM32F4xx - Add one more bit for channels field, declare ADC internal…
bcostm Aug 23, 2016
89d7ba0
STM32F4xx - Add ADC_TEMP/VREF/VBAT pins
bcostm Aug 24, 2016
5cdcd5e
STM32F4xx - Align STM_PIN_DATA and STM_PIN_DATA_EXT macros
bcostm Aug 24, 2016
e4eb57f
STM32F4xx - Align STM_PIN_DATA macro on ARCH_MAX too
bcostm Aug 24, 2016
7e628d4
Correctly providing directories to build_apis
bridadan Sep 2, 2016
05b50dc
[MTM_MTCONNECT04S] Added support for MTM_MTCONNECT04S
bcc6 Sep 5, 2016
7db3991
[NUCLEO_F303ZE] Add CMSIS target
jamike Jul 7, 2016
2d13e62
[NUCLEO_F303ZE]Add Hal Target
jamike Jul 7, 2016
4901aa5
[NUCLEO_F303ZE] Add RTOS support
jamike Jul 7, 2016
87a6c50
[NUCLEO_F303ZE] test / export scripts update
jamike Jul 7, 2016
e97ebf1
[NUCLEO_F303RE] fix build error
jamike Jul 7, 2016
58e8f64
STM32F2xx - Enable Serial Flow Control
bcostm Sep 5, 2016
f0cd7b4
DISCO_L476VG - Add Serial Flow Control pins + add SERIAL_FC macro
bcostm Sep 5, 2016
7ee419f
This commit contains CFSTORE fixes for the following related issues:
simonqhughes Sep 5, 2016
783466e
Restoring swap code to cfstore_test_delete_all() after being previous…
simonqhughes Sep 5, 2016
793d716
Use a SingletonPtr for the Timeout object in utest_shim.
pan- Sep 6, 2016
1e5be40
Test names not dependent on disk location of root
sarahmarshy Sep 6, 2016
78f6670
Updated USBDevice to use Callback
neilt6 Sep 6, 2016
083cad0
Updated USBHost for library changes
neilt6 Sep 6, 2016
13eed94
Refactor export subsystem
sarahmarshy Jul 20, 2016
dad128a
Update copyright
theotherjimmy Jul 26, 2016
1f781c9
Accessing progen exporters directly
sarahmarshy Jul 26, 2016
d70e60a
progen exporter template
sarahmarshy Jul 27, 2016
3327c5f
Requirements update
sarahmarshy Jul 28, 2016
23af021
Allow exporting to in-memory zip file
theotherjimmy Jul 28, 2016
c39b85d
Made exporting safer
theotherjimmy Jul 29, 2016
4016963
Reinstated the zip exporter
theotherjimmy Jul 29, 2016
e492640
Fix renaming issues in non-CI ides
theotherjimmy Aug 8, 2016
2f7876d
Create projectfiles directory when exporting
sarahmarshy Aug 18, 2016
a210a7e
Set vpath correctly when exporting to projectfiles directory
theotherjimmy Aug 22, 2016
2cf3827
Allow dict in addition to the other types of src_paths
theotherjimmy Aug 23, 2016
f340b0d
Fix some tracebacks, add zip exporter to the CLI
theotherjimmy Aug 23, 2016
89f9575
Fix include paths for fragmented projects; remove deadcode
theotherjimmy Aug 24, 2016
09dcb2a
Add repo_dirs, repo_files, lib_builds, and lib_refs to zips
theotherjimmy Aug 24, 2016
cf9e0cd
Removed projectfiles directory. debug-info default option
sarahmarshy Aug 24, 2016
34b44f5
Bump Progen version
theotherjimmy Sep 6, 2016
f385d3a
Fixing issue in timing host test and wait_us case
bridadan Sep 6, 2016
1b4e2c1
add PTEx pins as option for SPI - for SD card on Hexiwear. Amend to …
Aug 30, 2016
bd69d76
Properly handle a thread which terminates itself
c1728p9 Sep 7, 2016
ea04879
Add test case for thread self termination
c1728p9 Sep 7, 2016
ba660bc
NUCLEO_F446ZE - Enable mbed5 release version
bcostm Sep 8, 2016
8294338
Update pull_request_template.md
jupe Sep 8, 2016
d885647
Use lp_timer to count time in the deepsleep tests
svastm Sep 8, 2016
a362fbe
DELTA_DFBM_NQ620 platform porting
TsungtaWu Sep 9, 2016
4734499
[disco_f769ni] adding target
ohagendorf Aug 20, 2016
e5dfc18
[disco_f769ni] adding rtos lib
ohagendorf Aug 20, 2016
b4eca9e
[disco_f769ni] adding to build_travis
ohagendorf Aug 20, 2016
6e807dc
[disco_f769ni] adding gcc_arm exporter definitions
ohagendorf Aug 20, 2016
9ca60d0
disco_f769 some rework ...
ohagendorf Aug 31, 2016
315e61c
disco_f769 some rework ... (part II)
ohagendorf Aug 31, 2016
84aca66
disco_f769ni adding ethernet init
ohagendorf Sep 8, 2016
60b4e7d
[MAX326xx] Removed echoing of characters and carriage return.
jeremybrodt Sep 9, 2016
c34af45
Use SingletonPtr for the internal variables defaults and handlers in …
pan- Sep 9, 2016
a00730a
Tools - Fix fill section size variation
tung7970 Sep 2, 2016
684d4a7
[MTM_MTCONNECT04S] Added gcc_arm template for export.
bcc6 Sep 10, 2016
97d270c
Add test command switch for app config file
ConorPKeegan Aug 31, 2016
2bec9ea
Add app config switch to options.py and make.py
ConorPKeegan Sep 1, 2016
bc49132
Add unit tests for app_config
ConorPKeegan Sep 2, 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.
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Format]
max-line-length=80
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ python:

script:
- PYTHONPATH=. python tools/test/config_test/config_test.py
- python tools/test/pylint.py
- py.test tools/test/toolchains/api.py
- python tools/build_travis.py
before_install:
Expand All @@ -17,3 +18,4 @@ install:
- sudo pip install prettytable
- sudo pip install jinja2
- sudo pip install pytest
- sudo pip install pylint
14 changes: 8 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ def targets = [

// Map toolchains to compiler labels on Jenkins
def toolchains = [
//ARM: "armcc",
ARM: "armcc",
//IAR: "iar_arm",
GCC_ARM: "arm-none-eabi-gcc"
]

// Create a map of predefined build steps
stage "generate build steps for parallel execution"
def parallelSteps = mbed.createParalleSteps("mbed-os", targets, toolchains)

// Run build steps parallel, map as paramater
stage "build all targets"
mbed.compile(parallelSteps)

// Run testapps, mbed-os commit hash or master as parameter
stage "run mbed-os testapps"
mbed.runTestApps("${env.GIT_REVISION}")
def testApps = [
"mbed-os-cliapp",
"mbed-client-testapp"
]

// buildTestApps accepts array of test application names and a mbed-os commit hash as parameters
mbed.buildTestApps(testApps, "${env.GIT_REVISION}")
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mbed OS accelerates the process of creating a connected product by providing a p

Our current release series is mbed OS 5.1:

- [Release Note](https://docs.mbed.com/docs/mbed-os-release-notes/en/latest/5_1/release)
- [Release Note](https://docs.mbed.com/docs/mbed-os-release-notes/en/latest/5_1/release/)

## Getting Started for Developers

Expand All @@ -20,4 +20,4 @@ We have a getting started guide for developers using mbed OS in applications:

We have a getting started guide for contributors working on mbed OS:

- Have a look in the docs directory
- Have a look in the docs directory
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.

Loading