Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: acevest/arduino-esp32
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: espressif/arduino-esp32
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Feb 18, 2019

  1. Copy the full SHA
    628b8f0 View commit details

Commits on Feb 19, 2019

  1. Copy the full SHA
    5af0336 View commit details

Commits on Mar 3, 2019

  1. Copy the full SHA
    f3c1a91 View commit details
  2. Copy the full SHA
    84e458a View commit details
  3. return macaddress (espressif#2477)

    * WiFi.macaddress() returns mac address
    
    * change description
    
    * return macaddress when WiFi mode is WIFI_MODE_NULL
    a-c-sreedhar-reddy authored and me-no-dev committed Mar 3, 2019
    Copy the full SHA
    2ceab7c View commit details
  4. Copy the full SHA
    dffda0b View commit details
  5. Copy the full SHA
    ff85f3e View commit details
  6. Default pin remap for wESP32 (espressif#2508)

    * Add default pin mapping for Serial1 and Serial2
    
    * Default pin remap on wESP32
    
    Improved default pin mapping for I2C0 and UART1 to avoid issues
    with programming.
    SDA0 was on IO2 but IO2 needs to be pulled low on reset to enable
    serial programming, which conflicts with I2C pull-ups.
    RX1 was on IO12, idle UART level is high which conflicts with
    IO12 needing to be low on reset to select correct 3.3V flash
    voltage.
    New mappings:
    SDA0 on IO15
    RX1 on IO13
    TX1 on IO12
    xorbit authored and me-no-dev committed Mar 3, 2019
    Copy the full SHA
    cebd870 View commit details
  7. Adding debug flag to PIO build script (espressif#2510)

    Adding the -g3 flag that was omitted in the PIO build script but is present in Arduino IDE build scripts. This flag restores the ability to get line numbers from stack traces for elf files generated in PlatformIO IDE.
    atanisoft authored and me-no-dev committed Mar 3, 2019
    Copy the full SHA
    cb0a939 View commit details
  8. Frog Board ESP32 definition (espressif#2515)

    * Added board definition
    
    Signed-off-by: Roman Hosek <roman.hosek@iotbakery.com>
    
    * fix typo
    
    * variant + pin definition
    hosek authored and me-no-dev committed Mar 3, 2019
    Copy the full SHA
    566f659 View commit details
  9. Update IDF to ebdcbe8c6 (espressif#2539)

    - ESP-Face to 2937054
    - ESP32-Camera to 113629b
    me-no-dev authored Mar 3, 2019
    Copy the full SHA
    7df50a9 View commit details

Commits on Apr 9, 2019

  1. Copy the full SHA
    d5f71ce View commit details
  2. Copy the full SHA
    e28dce7 View commit details
  3. Added ESP32-CAM board (espressif#2572)

    Niek authored and me-no-dev committed Apr 9, 2019
    Copy the full SHA
    1db72a2 View commit details
  4. Added rmtDeinit to header. Fixes espressif#2585 (espressif#2587)

    * Added rmtDeinit to header. Fixes espressif#2585
    
    * oops.  missing ;
    lbernstone authored and me-no-dev committed Apr 9, 2019
    Copy the full SHA
    8e8c503 View commit details
  5. Add support for ffat on 4MB ESP32 Dev Module and mhetesp32minikit boa…

    …rd. (espressif#2588)
    
    * Update boards.txt
    
    Add menu items for ffat on mhetesp32minikit board.
    
    * Add partition table.
    
    * Added ffat partition for 4MB ESP32 Dev Module.
    
    * Added comment about partitioning schemes.
    CelliesProjects authored and me-no-dev committed Apr 9, 2019
    Copy the full SHA
    4930853 View commit details
  6. Copy the full SHA
    8091c2c View commit details
  7. Copy the full SHA
    67ee7c3 View commit details
  8. Copy the full SHA
    dd64980 View commit details
  9. Copy the full SHA
    92220b7 View commit details

Commits on Apr 10, 2019

  1. Added 2 ffat partition schemes for 4MB modules + improved description…

    …s. (espressif#2623)
    
    * Added 2 ffat partition schemes for 4MB modules + improved descriptions.
    
    Existing format options were unclear on how much spiffs you were
    getting. Also add missing 1MB App/3MB Spiffs split.
    This addresses espressif#1799
    
    This makes it very clear what each option gives you, and also adds 2 options
    to get ffat on 4MB chips..
    
    * Added link to ffat howto.
    marcmerlin authored and me-no-dev committed Apr 10, 2019
    Copy the full SHA
    53a4bf3 View commit details
  2. update getLocalTime(). (espressif#2629)

    * update getLocalTime().
    
    * change count to millis in getLocalTime
    
    * timeout logic.
    a-c-sreedhar-reddy authored and me-no-dev committed Apr 10, 2019
    Copy the full SHA
    0906bf5 View commit details
  3. Reset retry counter upon successful write (espressif#2638)

    Currently  WiFiClient::write is unable to send messages over 25Kb, because of the hard-coded retry limit of 10, that is getting decremented on every successful send. Since we cannot send more than 2*MTU bytes in one go, and have only 10 retries, write() is limited to approximately 25Kb. Technically it is not a bug, as it correctly returns the number of sent bytes and the caller can set up futher retries. But not all libs are aware of this behavior, for example, WebServer is not.
    I suggest improving current behavior by resetting retry counter every time we had a successful write, so the limit of 10 retries will apply to Failed writes only, and will not apply to Successful writes. This will allow to write() blobs of arbitrary sizes.
    dyarkovoy authored and me-no-dev committed Apr 10, 2019
    Copy the full SHA
    a0c975d View commit details
  4. Hide log_v behind conditional define, reduce excessive logging (espre…

    …ssif#2641)
    
    @cyberman54 from espressif#2250 recommended reducing unnecessary logging.
    stickbreaker authored and me-no-dev committed Apr 10, 2019
    Copy the full SHA
    9150803 View commit details
  5. overload Preferences.getBytes similar to nvs so you can get size of t… (

    espressif#2498)
    
    * overload Preferences.getBytes similar to nvs so you can get size of the array.
    
    * Cleaner implentation, with a separate function to get length.  Added an example
    lbernstone authored and me-no-dev committed Apr 10, 2019
    Copy the full SHA
    da8b7c1 View commit details

Commits on Apr 11, 2019

  1. Also show how space is allocated for the default partitions (espressi…

    …f#2649)
    
    Make all the partitions descriptions consistent, they now all show what space allocation you get.
    marcmerlin authored and me-no-dev committed Apr 11, 2019
    Copy the full SHA
    6744565 View commit details
  2. Fix AsyncUDP receive memory leak (espressif#2607)

    If _handler is set, pbuf_free is not called. ~AsyncUDPPacket() calls pbuf_free once but only after calling pbuf_ref in it's constructor. The refcount never reaches zero and the memory allocated for pbuf is never released.
    jweigelt authored and me-no-dev committed Apr 11, 2019
    Copy the full SHA
    a87b2ec View commit details
  3. File with more than 32,767 characters (espressif#2566)

    Jean Marc BRUNO authored and me-no-dev committed Apr 11, 2019
    Copy the full SHA
    e0beac8 View commit details

Commits on Apr 12, 2019

  1. Alternative Improve _uploadReadByte (espressif#2656)

    * add opportunity for more than one retry to _uploadReadByte
    
    * an alternative timeout-based method to making _uploadReadByte more resilient
    
    * move timing variables in the correct scope
    
    * implement and use client.getTimeout instead of hard-coded timeout in _uploadReadByte
    
    * add missing return
    
    * some refactoring to address respecting the timeout in a potentially deadlocked connection
    
    * fix spelling in comment
    
    * address review comments; move impl to cpp file for getTimeout, and remove local variable for currentMillis
    
    * remove redundant cast
    
    * need to check for timeout outside the inner while as well
    
    * update WebUpdate example to print something in unexpected callback condition
    
    * update log_e messages per review comments
    vicatcu authored and me-no-dev committed Apr 12, 2019
    Copy the full SHA
    25c0b52 View commit details
  2. Properly allocate string and remove warning (espressif#2652)

    * Properly allocate string and remove warning
    
    The former way generates the following warning:
    ISO C++ forbids converting a string constant to 'char*'
    
    This change makes a character array the size of the string with null ending. It's clearer and gets rid of the warning.
    
    * Better way
    
    Since this is technically immutable, the type should reflect this too.
    Arsham Skrenes authored and me-no-dev committed Apr 12, 2019
    Copy the full SHA
    1412606 View commit details
  3. Set ESP-IDF to 3.2 (espressif#2662)

    * Set IDF to v3.2
    
    * Remove BLE submodule
    
    * Add BLE lib source
    
    * Update Camera example to support OV3660
    me-no-dev authored Apr 12, 2019
    Copy the full SHA
    7b5cd47 View commit details
  4. replace with strerror (espressif#2663)

    vicatcu authored and me-no-dev committed Apr 12, 2019
    Copy the full SHA
    1efcd21 View commit details
  5. Copy the full SHA
    6dab3f6 View commit details

Commits on Apr 13, 2019

  1. Add board "SparkFun LoRa Gateway 1-Channel". (espressif#2664)

    * Add board "SparkFun LoRa Gateway 1-Channel".
    
    * Extend boards.txt.
    
    Source: https://learn.sparkfun.com/tutorials/sparkfun-lora-gateway-1-channel-hookup-guide/all
    jdieg0 authored and me-no-dev committed Apr 13, 2019
    Copy the full SHA
    33d4186 View commit details
  2. Copy the full SHA
    d922557 View commit details
  3. Copy the full SHA
    fa74767 View commit details
  4. Add missing definitions

    me-no-dev committed Apr 13, 2019
    Copy the full SHA
    c600929 View commit details
  5. Copy the full SHA
    ea043cd View commit details
  6. Update esp32-camera driver

    me-no-dev committed Apr 13, 2019
    Copy the full SHA
    ef07a84 View commit details

Commits on Apr 15, 2019

  1. Copy the full SHA
    582e643 View commit details
  2. Copy the full SHA
    af23d0b View commit details
  3. Refactored use of LOG_X(LOG_TAG, ...) to log_x(...) (espressif#2672)

    * Replaced ARDUINO_VARIANT with const char
    
    * Fixed missing return value
    
    * Added quotes around defined value in macro (Issue espressif#2193)
    
    * Change logging from Error to Verbose when not found and default available
    
    * Move Enter and Exit logging to Verbose Level
    
    * Refactored LOG_X() into log_x()
    Bascy authored and me-no-dev committed Apr 15, 2019
    Copy the full SHA
    01d7ea7 View commit details
  4. Copy the full SHA
    3d6e4e1 View commit details
  5. Copy the full SHA
    9a9ff62 View commit details

Commits on Apr 16, 2019

  1. Add LGPL 2.1 License

    me-no-dev committed Apr 16, 2019
    Copy the full SHA
    6bf1048 View commit details

Commits on Apr 17, 2019

  1. Fix indentation

    ivankravets authored Apr 17, 2019
    Copy the full SHA
    f8eebb5 View commit details

Commits on Apr 22, 2019

  1. Add optional support for CORS headers (espressif#2688)

    * add support for CORS headers
    
    * remove accidental function impl
    
    * rename setCORS to enableCORS, and add aliased function enableCrossOrigin
    vicatcu authored and me-no-dev committed Apr 22, 2019
    Copy the full SHA
    672e4fa View commit details
  2. Copy the full SHA
    a28cf00 View commit details

Commits on Apr 23, 2019

  1. Update ALKS board (espressif#2694)

    cleveHEX authored and me-no-dev committed Apr 23, 2019
    Copy the full SHA
    606446a View commit details
  2. Copy the full SHA
    119ece2 View commit details
Showing 3,487 changed files with 550,415 additions and 384,570 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
246 changes: 246 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
# Clang format version: 18.1.3
---
BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCaseColons: false
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: Both
BraceWrapping:
AfterCaseLabel: true
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Always
BreakAfterJavaFieldAnnotations: false
BreakArrays: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BreakBeforeConceptDeclarations: Always
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
ColumnLimit: 160
CommentPragmas: ""
CompactNamespaces: false
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: ^"(llvm|llvm-c|clang|clang-c)/
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: ^(<|"(gtest|gmock|isl|json)/)
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: .*
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: ""
IncludeIsMainSourceRegex: ""
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: true
IndentExternBlock: NoIndent
IndentGotoLabels: false
IndentPPDirectives: None
IndentRequiresClause: false
IndentWidth: 2
IndentWrappedFunctionNames: true
InsertBraces: true
InsertNewlineAtEOF: true
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtEOF: false
KeepEmptyLinesAtTheStartOfBlocks: true
LambdaBodyIndentation: Signature
Language: Cpp
LineEnding: LF
MacroBlockBegin: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PPIndentWidth: -1
PackConstructorInitializers: BinPack
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments: false
RemoveBracesLLVM: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes: Never
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDeclarationName: false
AfterFunctionDefinitionName: false
AfterIfMacros: true
AfterOverloadedOperator: true
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: Never
SpacesInContainerLiterals: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
InConditionalStatements: false
InCStyleCasts: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 2
UseTab: Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:
- BOOST_PP_STRINGIZE
- CF_SWIFT_NAME
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
BracedInitializerIndentWidth: 2
8 changes: 8 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[codespell]
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check/.codespellrc
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
ignore-words-list = ba,licence,ot,dout,als,exten,emac
skip = ./.git,./.licenses,__pycache__,.clang-format,.codespellrc,.editorconfig,.flake8,.prettierignore,.yamllint.yml,.gitignore,boards.txt,platform.txt,programmers.txt
builtin = clear,informal,en-GB_to_en-US
check-filenames =
check-hidden =
60 changes: 60 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/general/.editorconfig
# See: https://editorconfig.org/
# The formatting style defined in this file is the official standardized style to be used in all Arduino Tooling
# projects and should not be modified.
# Note: indent style for each file type is defined even when it matches the universal config in order to make it clear
# that this type has an official style.

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{adoc,asc,asciidoc}]
indent_size = 2
indent_style = space

[*.{bash,sh}]
indent_size = 4
indent_style = space

[*.{c,cc,cp,cpp,cxx,h,hh,hpp,hxx,ii,inl,ino,ixx,pde,tpl,tpp,txx}]
indent_size = 2
indent_style = space

[*.{go,mod}]
indent_style = tab

[*.java]
indent_size = 2
indent_style = space

[*.{js,jsx,json,jsonc,json5,ts,tsx}]
indent_size = 2
indent_style = space

[*.{md,mdx,mkdn,mdown,markdown}]
indent_size = unset
indent_style = space

[*.proto]
indent_size = 2
indent_style = space

[*.py]
indent_size = 4
indent_style = space

[*.svg]
indent_size = 2
indent_style = space

[*.{yaml,yml}]
indent_size = 2
indent_style = space

[{.gitconfig,.gitmodules}]
indent_style = tab
10 changes: 10 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-python/.flake8
# See: https://flake8.pycqa.org/en/latest/user/configuration.html

[flake8]
doctests = True
# W503 and W504 are mutually exclusive. PEP 8 recommends line break before.
ignore = W503,E203
max-complexity = 20
max-line-length = 120
select = E,W,F,C,N
Loading