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

Getting the MinSizeRel build working for the ESP32 #782

Merged
merged 3 commits into from
Jun 30, 2018
Merged

Getting the MinSizeRel build working for the ESP32 #782

merged 3 commits into from
Jun 30, 2018

Conversation

MatthiasJentsch
Copy link
Contributor

Description

Changed the make file to get the MinSizeRel build working for the ESP32 target

Motivation and Context

How Has This Been Tested?

It's compiling on my machine with the configuration MinSizeRel

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Signed-off-by: Matthias Jentsch [email protected]

@nfbot
Copy link
Member

nfbot commented Jun 30, 2018

Hi @MatthiasJentsch,

I'm nanoFramework bot.
Thank you for your contribution!

A human will be reviewing it shortly. 😉

Copy link
Member

@AdrianSoundy AdrianSoundy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.
Probably could do with some tidy up of the compiler flags later on. See if any other flags needs to be set for Minimum size.
Do it more in the way the Chibios is doing it

@AdrianSoundy AdrianSoundy merged commit b841577 into nanoframework:develop Jun 30, 2018
@MatthiasJentsch MatthiasJentsch deleted the MinSizeRel branch June 30, 2018 23:06
@josesimoes josesimoes added Type: enhancement Area: Config-and-Build Series: ESP32 Everything related specifically with ESP32 series targets labels Jul 4, 2018
@@ -126,7 +126,8 @@ HRESULT Library_win_dev_adc_native_Windows_Devices_Adc_AdcController::NativeIsCh
int mode = stack.Arg1().NumericByRef().s4;

// Only support Single ended mode for now
stack.SetResult_Boolean( (mode == (int)AdcChannelMode::SingleEnded) ) ;
AdcChannelMode singleEndedMode = SingleEnded;
stack.SetResult_Boolean( (mode == (int)singleEndedMode) ) ;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MatthiasJentsch and @AdrianSoundy please keep the PR's atomic.
These changes in the ADC (despite perfectly valid for sure) are completely hidden and unrelated with the PR title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Config-and-Build Series: ESP32 Everything related specifically with ESP32 series targets Type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build breaks for ESP32 if config flavour is MinSizeRel
4 participants