-
Notifications
You must be signed in to change notification settings - Fork 3k
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
UNO_91H: fix MPU compilation issue #9274
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@caixue1102 Fill in also description and PR type in the first comment. This does not disable MPU but is adding EMAC support for a target?
TESTS/network/emac/main.cpp
Outdated
@@ -35,7 +35,8 @@ | |||
!defined(TARGET_MTB_ADV_WISE_1530) && \ | |||
!defined(TARGET_MTB_USI_WM_BN_BM_22) && \ | |||
!defined(TARGET_MTB_MXCHIP_EMW3166) && \ | |||
!defined(TARGET_MTB_UBLOX_ODIN_W2) | |||
!defined(TARGET_MTB_UBLOX_ODIN_W2) && \ | |||
!defined(TARGET_UNO_91H) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you align this line
|
||
|
||
/* Interface implementation */ | ||
//WiFiInterface::WiFiInterface(EMAC &emac, OnboardNetworkStack &stack) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove dead code
@@ -0,0 +1,165 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add license header please
@@ -0,0 +1,333 @@ | |||
#include <stdlib.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license header missing
{ | ||
/* Drop this packet */ | ||
LWIP_DEBUGF(NETIF_DEBUG, ("low_level_input pbuf_alloc fail, rxlen:%d\n", len)); | ||
//LINK_STATS_INC(link.memerr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please clean-up files (no commented out code)
81371e0
to
838bd9e
Compare
@caixue1102 Can you edit the first commit to introduce this changes please? Why |
@0xc0170 UNO_91H didn't support MPU,if set __MPU_PRESENT to 1 will introduce compilation error. Thanks! |
Please read https://os.mbed.com/docs/v5.11/contributing/workflow.html (Guidelines for GitHub pull requests). Will be helpful for the following contributions (how to describe you changes in Github and commit messages). Ideally, the fix would contain a new paragraph stating |
The Travis failures are caused by an issue fixed on master a few hours ago, and this change should be propagated here via rebase. We can start CI only after travis is fixed, could you please rebase this PR? |
6cae63f
to
aedeaf9
Compare
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Disable MPU as it's not valid configuration for this target UNO target
Pull request type
Reviewers