Skip to content
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

Nanostack release for Mbed OS 5.12 #9838

Merged
merged 20 commits into from Feb 27, 2019

Conversation

Projects
None yet
8 participants
@artokin
Copy link
Contributor

commented Feb 25, 2019

Description

Nanostack release for Mbed OS 5.12

Following libraries updated using using git subtree:

  • features/nanostack/sal-stack-nanostack to v10.1.0
  • features/nanostack/coap-service
  • features/nanostack/sal-stack-nanostack-eventloop
  • features/frameworks/mbed-trace
  • features/frameworks/nanostack-libservice
  • features/frameworks/mbed-client-randlib

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

  • Initial version of Wi-SUN mesh stack
  • Improvements and bug fixes to Thread and 6LoWPAN ND protocol stacks

artokin added some commits Feb 25, 2019

Merge commit '99c2f61463ded19baa49346f6210f9eb3e62161f'
* commit '99c2f61463ded19baa49346f6210f9eb3e62161f':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 778c4db..b8b664b
Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes …
…from 778c4db..b8b664b

b8b664b (via Mbed OS) Require dependencies from nanostack mbed_lib.json (#41)
213dbf8 Remove references to yotta (#39)
3344181 minar_hal_timer.cpp: Change license header from ARM to APACHE-2.0

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: b8b664b163e0f281187f988d5e0628d9f6cd7add
Squashed 'features/frameworks/nanostack-libservice/' changes from 1d4…
…c358..dd98c37

dd98c37 Merge pull request #85 from ARMmbed/sync_with_MbedOS
8418f4c (via Mbed OS) Add missing mbed_lib.json for frameworks and nanostack
eb0692e Merge pull request #84 from ARMmbed/nslist_iar7
7ce58bf Support C++03 compilers that cannot return properly-typed pointers.
2775dce Merge pull request #83 from ARMmbed/IOTTHD-3187
fef3c6d Remove references to yotta
a953636 Avoid memcmp(x, NULL, 0)
1de4b47 (split) Fix C++11 build with Arm Compiler 6 (#79)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: dd98c37c363acd0b6547ca59adc735ee52b2a7b1
Merge commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed'
* commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 1d4c358..dd98c37
Squashed 'features/frameworks/mbed-trace/' changes from 7a1bd34..0a4f6be
0a4f6be astyle validation (#89)
f43f52d add mention about mbed-os.lib generation and ignore example folder (#88)
3f48e87 .tmp_data_ptr = 0 added (#55)
9697f63 doc update + mbed-os 5 example application (#84)
891508b CI improvements - introduce Jenkinsfile (#87)

git-subtree-dir: features/frameworks/mbed-trace
git-subtree-split: 0a4f6be43da09feb2e55eae0697546bcc23d0a23
Merge commit '14ff147a610d775c157ffc48b4e4521d0a6493f0'
* commit '14ff147a610d775c157ffc48b4e4521d0a6493f0':
  Squashed 'features/frameworks/mbed-trace/' changes from 7a1bd34..0a4f6be
Squashed 'features/frameworks/mbed-client-randlib/' changes from 3955…
…b95..bec82e2

bec82e2 Merge pull request #12 from ARMmbed/sync_with_MbedOS
7a85429 (via Mbed OS) Add missing mbed_lib.json for frameworks and nanostack
a493a52 (via Mbed OS) Remove unused yotta module metadata

git-subtree-dir: features/frameworks/mbed-client-randlib
git-subtree-split: bec82e21f05df2f99c14ebb9b2bee2a129d33cdc
Merge commit '42813b3daa401ec351c72a080cfcd1f6817e004c'
* commit '42813b3daa401ec351c72a080cfcd1f6817e004c':
  Squashed 'features/frameworks/mbed-client-randlib/' changes from 3955b95..bec82e2
Squashed 'features/nanostack/coap-service/' changes from c45afcd..227…
…cc3d

227cc3d Merge pull request #120 from ARMmbed/sync_with_mbedos_2
88894d1 Follow Mbed OS coding style
f3db9a17 (via Mbed OS) Add mbedtls platform setup and teardown to modules
5feb8dd Merge pull request #119 from ARMmbed/sync_with_MbedOS
10d5054 (via Mbed OS) Add missing mbed_lib.json for frameworks and nanostack
a344676 Remove references to yotta (#118)
610afda Remove excess tracing (#117)
53382d6 Merge pull request #116 from ARMmbed/IOTTHD-1608
15889cb Use Mbed OS coding style
d6eff5c Clarify function signature
587e8de Update message prevalidation API
46f86d4 Add API to set callback for CoAP msg prevalidation (#115)
0eb6630 Merge pull request #114 from ARMmbed/sync_with_mbed_os
f75732b (split) Add unit tests for TLSSocket and TLSSocketWrapper

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 227cc3da82a8f5cab92c6975aa9623766808489b
Merge commit 'e046a96f8bd369720d4bf65dd4441ad19ebe22e7'
* commit 'e046a96f8bd369720d4bf65dd4441ad19ebe22e7':
  Squashed 'features/nanostack/coap-service/' changes from c45afcd..227cc3d
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 513a3…
…8e..c5ee9e4

c5ee9e4 Remove content from unit tests
f7ca82a Merge branch 'release_internal' into release_external
b400a6a Fix for pr #1984 (#1987)
30d25bc Fix compiler warnings (#1986)
d46d7b3 Prioritise thread control messages  (#1984)
e59dbd8 Update domain address lifetime (#1985)
8a5cb75 Merge pull request #1980 from ARMmbed/sync_with_MbedOS
bd6feab Update coding style
ff14e80 (via Mbed OS) nanostack: icmpv6: fix build warning
f5e3423 (via Mbed OS) Require dependencies from nanostack mbed_lib.json
3aec837 Restore ws_management_api.h to the latest version
cd7ae3f (via Mbed OS) Review changes corrected
4f23008 (via Mbed OS) This is a initial version of Wi-Sun interface implementation. To get Wi-Sun mesh network working, also nanostack with Wi-Sun support is needed. ws_empty_functions.c and ws_management_api.h are temporary included here, so that wisun_tasklet will compiled without problems. They will replaced with the official versions with next nanostack release.
e029444 Merge pull request #1981 from ARMmbed/iotthd-3111
d7e8aea Path control size from 5->7.
a5fe76f randomise challenge tlv for parent request retries. (#1977)
a1c8277 Merge pull request #1978 from ARMmbed/IOTTHD-3219
62f8b41 Fix compiler warnings
1ec7a84 Fix issues found by coverity
5fe7120 Merge pull request #1974 from ARMmbed/iotthd-3100
51358f9 Removed Unncessary debug print.
136d1b1 Merge pull request #1973 from ARMmbed/IOTTHD-3018
4e557ae DHCPv6 update:
85b33e1 Update BBR prefix assignment (#1972)
899b2c5 DHCPv6 client and server update:
9009eaf Update copyright year to test files
6a56318 Update copyright year to Nanostack files
a83472e Added Wi-Sun certificate and security test interfaces
7f4ebf1 Corrected compiler warnings
52e4c3f Added supplicant PAE NVM storage
92df57b Added key data access functions to key storage
5972bc3 Merge pull request #1959 from ARMmbed/ws_eapol_ie_update
98af118 Merge pull request #1965 from ARMmbed/IOTTHD-3193
fc76d1e Merge pull request #1963 from ARMmbed/rename_socket_h
ba3a649 Added WS flagging to EAP header parser
048f14a Rename address.h
5739b4a Fixed aro registration error
887d931 Rename socket.h to ns_socket.h
7ebaa8e Add Nanostack configuration for WS (#1961)
ed87161 Code style fix.
e20028a Fix compiler warnings (#1957)
b86f885 EAPOL data flow IE update
65472de Fixed Function protype typo.
f539287 Added support for write/READ  EA-IE header IE Element's
ce72b55 Merge pull request #1958 from ARMmbed/tls_conf_err
1e8b18c Added handling for mbed TLS configuration error
bdfea40 WS: Use common channel number calc function
4802aae Merge pull request #1930 from ARMmbed/IOTTHD-3027
2b8c846 PAE BR address write/read interface
9777ad1 Remove yotta references (#1954)
af8890b Merge pull request #1949 from ARMmbed/eapol_eap_and_tls
c546d4f WS: Fixed EU domain channel numbers in neighbor class
cff6f0b WS: Missing return value fix
ebcdba5 Changed EAP-TLS identity to anonymous
34d2f15 Corrected defects and coding style
79c7157 WS: Default domain config update
0724863 Merge branch 'master' into IOTTHD-3027
65ccc41 WS: RF config set in own functions
76d235e MAC: Fixed virtual driver warnings
88641c1 Updates to PAEs and other security protocols
f57138f Security key storage and certificate info updates
b7177c5 TLS security protocol and mbed TLS security protocol library
9c9e3c9 EAP-TLS protocol implementation
9c5fc92 WS: Fixed code style
acce0dd Added empty function for test
4b28192 Added support for ARO registration failure
9d251fa Added empty function fr new interface
61f520f Added api to configure network size parameters
4d26258 Flagged mbed TLS KW header and corrected bool definitions
3d903fa Corrected NIST AES KW flagging
2f4e099 Removed temporary KW functions and corrected ut and style
6481549 Added GKH MIC validation and encryption
cc3ce58 Moved 4WH functions to library and added constants
650771c Added unit test to NIST AES KW library
6a82e7d added parent priority handling. (#1942)
7b7f1c1 Merge pull request #1945 from ARMmbed/fix_synch_parent_warn
38b28e2 Fix coverity error (#1943)
c4afedc thread_mle_message_handler: fix build warning (#1940)
a5be64a Follow Mbed OS coding style (#1941)
6298cef Sync mbed_lib.json with Mbed OS (#1935)
afe3ec6 Added Wi-Sun flagging to eapol helper
28d10d6 Merge pull request #1901 from ARMmbed/kmp_pae_init
3f56121 Disabled EAPOL flags
97f07a9 Tuned EAPOL timers for small networks
6e063b6 added Wi-SUN neighbor table management to Wi-SUN
7f4c61d Corrected KMP api start on authenticator
91ca2e6 Corrected KMP timer active check and security protocol address get
65d983f If mbedtls NIST AES KW is not enabled defined it as null algorithm
16dbe27 Added unit test stub for PAE controller
a524936 Moved EAPOL relay port and IP address configuration to bootstrap
68fa4f6 Added extra debug info flags to new security libraries
c4411ea Removed extra memory frees from KMP socket and eapol if and fixed KMP comments
8088a86 Added and fixed security protocols comments
cc32457 Modified PAEs to use protocol core timer function call
03469f3 Modified PAE entities to be bound to interface
369c8a0 Added 4WH integrity protection and encryption
ebae1d5 Added HMAC-SHA1, IEEE 802.11 PRF and NIST AES KW libraries
2d50887 Corrected Wi-SUN security component initializations
8a8b6ef Added configuration flags for supplicant and authenticator PAEs and EAPOL relay
3868ff1 PAE and security protocols timer support
c61066a Corrected GKH to set eapol-KEY message group key negotation bit correctly
dfe52d9 Added 4WH,GKH and EAP-TLS module and modified kmp service
782f3fb Relay message flow optimization
bbd6ee1 Integrate EAPOL new  encode and decode functionality
1802ee7 EAPOL message parser and write helper function.
da15653 EAPOL relay and KMP changes
fad633f EAPOL relay
cc97054 Unicast Shedule update
a099524 EAPOL authtentication start fix
3f32a7a Fix valgrind uninitilaized data use.
6e9f6a4 Corrected memory errors and some compiler warnings
c5f1af3 Initial EAPOL changes
e48aa79 WS: Use Tack in Ack wait time
59a65ea Change FHSS timing defaults
be06ecb FHSS WS: Fixed synch parent warning
a3aa38b Thread extension commission updates (#1870)
3e89d0a Multicast registrations update (#1931)
e18055a MAC: Update symbol rate when RF configuration changed
9eada28 WS: Store RF configuration
35145a3 MAC: RF configuration delivery implemented
d6b2bbc Merge pull request #1928 from ARMmbed/IOTTHD-3028
80683e2 MAC/WS: Implemented Ack wait duration set
0e9ead2 Remove excess tracing (#1927)
ae210cd Merge pull request #1923 from ARMmbed/IOTTHD-3080
17fad47 Merge pull request #1924 from ARMmbed/IOTTHD-1608
6fd6bd5 Update thread neighbor table initialisation (#1926)
c09d38a Merge pull request #1925 from ARMmbed/fix_protocol_if_fhss
9ac5301 MAC MLME: Removed BEA TX trace which was causing stack overflow
5dee7b1 FHSS: Use debug callback in TX/RX slot switch
f779fad WS/Protocol: Fixed getting interface pointer using FHSS api
4177fa4 Prevalidate CoAP msg source address
5451b1a FHSS unit tests: Updated timestamp callback
a2997b1 FHSS: Removed debug trace which was causing crash
3b6a921 FHSS: Debug callback update
ec1c41d FHSS: Use given TX time in synch calculation
f0c0f66 MAC: Write FHSS synch info with tx time
78ea0eb FHSS: Debug callbacks added
c4ef759 MAC: Write FHSS synch info before calling PHY TX function
9cca341 FHSS: Use timestamp delivered by MAC
be46564 Add CoAP message validation
883eb46 Add callback for CoAP message prevalidation (#1918)
59bbe31 Merge pull request #1917 from ARMmbed/IOTTHD-3029
ac4a76e Fixed promiscuous/sniffer mode
bc2fb64 FHSS WS: time convert to support negative values
7dce509 FHSS WS: Clock drift compensation implemented
ac7c90a Fix Thread resolution client initialisation (#1915)
b744186 Set the default unicast channel function as Direct Hash
612c4b5 Update DHCP to follow Wi-SUN specification
eeb5168 IPv6 route metrics update (#1912)
1debcca Fix compilation warnings noticed in mbed-os (#1909)
0a18231 Change ARO routes to be direct route instead of on-link
7fb321e Merge pull request #1906 from ARMmbed/parent_update_fix
b5afc35 Fixed missing broadcast synch information loose with default zeroes.
3dbc874 Add missing closing bracket
0d746f0 Changed Wi-SUN HW type to match specification
2804bf4 Enabled roaming and routing between multiple Wi-SUN BR

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: c5ee9e4e6682c4e4c23845f7b13c02d259162c36
Merge commit '780e9afb8f3b8f09e66573e7d4ba096dd9a87dd7'
  Nanostack v10.1.0 for Mbed OS 5.12

* commit '780e9afb8f3b8f09e66573e7d4ba096dd9a87dd7':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 513a38e..c5ee9e4
Squashed 'features/frameworks/mbed-trace/' changes from 0a4f6be..642a459
642a459 Cleanup for Mbed OS release

git-subtree-dir: features/frameworks/mbed-trace
git-subtree-split: 642a459a3932753dbb724cc695fdba5e923231db
Merge commit '12a2437b39d1ecccb0cfeee4d69e071af03b84de'
* commit '12a2437b39d1ecccb0cfeee4d69e071af03b84de':
  Squashed 'features/frameworks/mbed-trace/' changes from 0a4f6be..642a459
Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes …
…from b8b664b..7745556

7745556 Fix post-event state change for user events

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: 7745556bcce16b50923a7d774a161312418c1e6d
Merge commit '7a7888227901179597fffc163a23dd15c8d055a9'
* commit '7a7888227901179597fffc163a23dd15c8d055a9':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from b8b664b..7745556

@ciarmcom ciarmcom requested review from ARMmbed/mbed-os-maintainers Feb 25, 2019

@ciarmcom

This comment has been minimized.

Copy link
Member

commented Feb 25, 2019

@cmonr

This comment has been minimized.

Copy link
Contributor

commented Feb 25, 2019

@artokin Mind populating the Release Notes?

@mikter

mikter approved these changes Feb 26, 2019

@0xc0170 0xc0170 added needs: CI and removed needs: review labels Feb 26, 2019

artokin added some commits Feb 26, 2019

Squashed 'features/nanostack/sal-stack-nanostack/' changes from c5ee9…
…e4..2cd155b

2cd155b Merge branch 'release_internal' into release_external
8ba8ff4 Fix issues found by coverity
0c5c459 Fix NUCLEO_F401RE compilation issue

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 2cd155b37f338c913eaa3b977ca83b49fca33840
Merge commit '514ed9930160b041a598b922a3b69789e2fb6fcf'
* commit '514ed9930160b041a598b922a3b69789e2fb6fcf':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from c5ee9e4..2cd155b
@artokin

This comment has been minimized.

Copy link
Contributor Author

commented Feb 26, 2019

A commit added to fix compilation issue with NUCLEO_F401RE and solve issues found by coverity

@cmonr

This comment has been minimized.

Copy link
Contributor

commented Feb 26, 2019

CI started

@mbed-ci

This comment has been minimized.

Copy link

commented Feb 27, 2019

Test run: FAILED

Summary: 2 of 8 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARM
  • jenkins-ci/mbed-os-ci_build-IAR8
@cmonr

This comment has been minimized.

Copy link
Contributor

commented Feb 27, 2019

@artokin Please review the build failures.

@cmonr cmonr added needs: work and removed needs: CI labels Feb 27, 2019

artokin added some commits Feb 27, 2019

Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2cd15…
…5b..76da6a5

76da6a5 Merge branch 'release_internal' into release_external
d1e0074 Fix Mbed-OS test compilation error

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 76da6a594e77ad5138ec0700855f204045968b01
Merge commit 'b182455f1947ff8fa48f37ad5fde17d89d67efa5'
* commit 'b182455f1947ff8fa48f37ad5fde17d89d67efa5':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2cd155b..76da6a5
@artokin

This comment has been minimized.

Copy link
Contributor Author

commented Feb 27, 2019

Mbed OS tests build failed due improper flagging, a fix commit added.

@0xc0170 0xc0170 added needs: CI and removed needs: work labels Feb 27, 2019

@0xc0170

This comment has been minimized.

Copy link
Member

commented Feb 27, 2019

CI restarted

@mbed-ci

This comment has been minimized.

Copy link

commented Feb 27, 2019

Test run: SUCCESS

Summary: 12 of 12 test jobs passed
Build number : 2
Build artifacts

@0xc0170 0xc0170 added ready for merge and removed needs: CI labels Feb 27, 2019

@0xc0170 0xc0170 merged commit 7027eac into ARMmbed:master Feb 27, 2019

27 checks passed

continuous-integration/jenkins/pr-head This commit looks good
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
jenkins-ci/build-ARM Success
Details
jenkins-ci/build-ARMC6 Success
Details
jenkins-ci/build-GCC_ARM Success
Details
jenkins-ci/build-IAR8 Success
Details
jenkins-ci/cloud-client-test Success
Details
jenkins-ci/dynamic-memory-usage RTOS ROM(+0 bytes) RAM(+0 bytes)
Details
jenkins-ci/exporter Success
Details
jenkins-ci/greentea-test Success
Details
jenkins-ci/mbed2-build-ARM Success
Details
jenkins-ci/mbed2-build-GCC_ARM Success
Details
jenkins-ci/mbed2-build-IAR8 Success
Details
jenkins-ci/unittests Success
Details
travis-ci/astyle Local astyle testing has passed
Details
travis-ci/docs Local docs testing has passed
Details
travis-ci/doxy-spellcheck Local doxy-spellcheck testing has passed
Details
travis-ci/events Passed, runtime is 9120 cycles
Details
travis-ci/gitattributestest Local gitattributestest testing has passed
Details
travis-ci/include_check Local include_check testing has passed
Details
travis-ci/licence_check Local licence_check testing has passed
Details
travis-ci/littlefs Passed, code size is 8408B
Details
travis-ci/psa-autogen Local psa-autogen testing has passed
Details
travis-ci/tools-py2.7 Local tools-py2.7 testing has passed
Details
travis-ci/tools-py3.5 Local tools-py3.5 testing has passed
Details
travis-ci/tools-py3.6 Local tools-py3.6 testing has passed
Details
travis-ci/tools-py3.7 Local tools-py3.7 testing has passed
Details

@artokin artokin deleted the artokin:nanostack_for_mbed_os_5_12 branch Feb 27, 2019

@artokin artokin referenced this pull request Feb 28, 2019

Merged

Add Wi-SUN introduction #969

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.