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: quizzmaster/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 Nov 19, 2018

  1. Copy the full SHA
    f12df4c View commit details
  2. Wire endTransmission() fix for issue espressif#1725 (espressif#1888)

    * removed uint8_t Wire.endTransmission(uint8_t sendStop)
    
    Having both endTransmission(bool) and endTransmission(uint8_t) creates problems.
    There is no need for endTransmission(uint8_t)
    endTransmission(1) and endTransmission(0) works with endTransmission(bool).
    Removing endTransmission(uint8_t) allows the ESP32 code to be compatible with
    all the other Arduino cores by allowing endTransmission(1) and endTranmission(0)
    to work as it does on all the other cores.
    
    * Wire library version bump for endTransmission() update
    bperrybap authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    deaf339 View commit details
  3. Fixed previous error (espressif#1908)

    yelvlab authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    825b6ea View commit details
  4. Deep-sleep example-sketches reported wrong wakeup-reason (espressif#1911

    )
    
    Incorrect values used, use the proper defines from header-files instead.
    WereCatf authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    a436825 View commit details
  5. Added a message for all event types. (espressif#1916)

    Rob de Jonge authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    9e28883 View commit details
  6. Copy the full SHA
    a3ed511 View commit details
  7. make WiFi.softAP() more robust (espressif#1925)

    * make WiFi.softAP() more robust
    
    * WiFi.softAP() revert fallback to WIFI_AUTH_OPEN
    markyad authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    14ff311 View commit details
  8. Update WString.h (espressif#1935)

    terryjmyers authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    2132d9f View commit details
  9. Update WString.cpp (espressif#1936)

    terryjmyers authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    1bc1e8c View commit details
  10. Update pins_arduino.h (espressif#1948)

    Pin definitions T8/T9 & DAC1/DAC2 Back To Front
    BBBits authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    b8c9819 View commit details
  11. Update pins_arduino.h (espressif#1949)

    Pin definitions T8/T9 & DAC1/DAC2 Back To Front (Issue espressif#1831)
    BBBits authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    f6a71da View commit details
  12. Copy the full SHA
    65c861a View commit details
  13. Added baudrate detection to esp32-hal-uart and HardwareSerial (espres…

    …sif#1961)
    
    * Added baudrate detection to esp32-hal-uart and HardwareSerial
    
    * Solved compiler warning for uartResizeRxBuffer()
    
    * Add unit to header variable name (timeout_ms)
    
    * Reverting accidentally changed files to master
    
    * Add small delay after baudrate detection
    Jeroen88 authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    233d31b View commit details
  14. Copy the full SHA
    b70737d View commit details
  15. Feature/http client (espressif#1973)

    * Pass client parameter into two new begin() functions. Set other begin() functions deprecated. Updated library version to 1.2
    
    * Added working HTTPS example on a public url with a certificate
    
    * Remove two unnecessary tests in ::disconnect()
    
    * Add a scoping block to BasicHttpsClient.ino to assure HTTPClient is destroyed before WiFiClientSecure
    
    * Added check to handle mixup of old and present api properly
    
    * Correct HTTPClient::setTimeout() to convert milliseconds to seconds. Correct WiFiClient::setTimeout() to call Stream::setTimeout() with seconds converted back to milliseconds. Remove inproper checks for _insecure.
    
    * Added small comment because it looked like the Travis build did not finish
    Jeroen88 authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    01d22c8 View commit details
  16. Feature/http update (espressif#1979)

    * Added HTTPUpdate class for downloading sketches from a server
    
    * Added HTTPUpdate class for downloading sketches from a server
    
    * Added HTTPUpdate to CMakeLists.txt
    
    * Change ESP8266 class references to ESP32 for httpUpdate.ino example
    
    * Change ESP8266 class references to ESP32 for httpUpdate.ino example. setLedPin() commented out because not all boards support LED_BUITLIN
    
    * Added check to handle mixup of old and present api properly
    
    * Correct HTTPClient::setTimeout() to convert milliseconds to seconds. Correct WiFiClient::setTimeout() to call Stream::setTimeout() with seconds converted back to milliseconds. Remove inproper checks for _insecure.
    
    * Added small comment because it looked like the Travis build did not finish
    Jeroen88 authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    b58a350 View commit details
  17. Updated table of tested locations - Enterprise wifi networks - WifiCl…

    …ientEnterprise (espressif#1980)
    
    * Updated table of tested locations
    
    * updated
    martinius96 authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    a53c9de View commit details
  18. [Feature] Boards added: Pycom LoPy & LoPy4 (espressif#1984)

    * Create pins_arduino.h
    
    * Update boards.txt
    
    Pycom LoPy + LoPy4 boards added
    
    * Create pins_arduino.h
    
    * Update pins_arduino.h
    
    bugfix antenna switch GPIO port 16 -> 21
    
    * Update pins_arduino.h
    
    * Update pins_arduino.h
    
    * Update pins_arduino.h
    
    * Update pins_arduino.h
    
    * Update pins_arduino.h
    
    * Update boards.txt
    cyberman54 authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    1fdc660 View commit details
  19. Copy the full SHA
    7b811f9 View commit details
  20. updated WifiClientEnterprise example (espressif#1988)

    * updated WifiClientEnterprise example
    
    * Update WiFiClientEnterprise.ino
    martinius96 authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    c7fa251 View commit details
  21. Update (espressif#1992)

    Added Olimex board ESP32-PoE. pins_arduino header file based on the ESP32-EVB with changed SS pin and removed BOARD_HAS_1BIT_SDMMC macro.
    Stanimir-Petev authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    f9d1b24 View commit details
  22. Copy the full SHA
    3902aa4 View commit details
  23. Copy the full SHA
    259ff80 View commit details
  24. Working example for HTTPS over Eduroam network - WifiClient secure li…

    …brary (espressif#2022)
    
    * Working example for HTTPS over Eduroam network
    
    * Update WiFiClientSecureEnterprise.ino
    martinius96 authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    5d2460c View commit details
  25. Copy the full SHA
    273196d View commit details
  26. Added ESP:: functions for sketch size (espressif#2028)

    * Added ESP:: functions for sketch size
    
    * Fixed free space name to match ESP8266
    lbernstone authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    af79e18 View commit details
  27. Fix uart TX flushing (espressif#2029)

    wait for FSM to return idle
    bertmelis authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    44ca2ee View commit details
  28. Copy the full SHA
    0d564d7 View commit details
  29. Some fixes to nghttp2 to provide basic functionality. Added the missi…

    …ng main header. Removed the asio headers which require Boost libraries. Moved http_parser into the expected location. (espressif#2068)
    lbernstone authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    c700e56 View commit details
  30. Fix Partition Calculation for min SPIFFS (espressif#2072)

    I have kept the original APPS size on purpose as 40KB SPIFFS is useless IMHO
    Luc authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    acefd4b View commit details
  31. adding D-duino-32 board/pins (espressif#2030)

    * adding d-duino-32 board/pins, fixes espressif#930
    
    * remove OLED_RST
    atanisoft authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    a300059 View commit details
  32. Allow to add custom callback in BT Serial (espressif#2081)

    This allow to catch the events when connected /disconnected,, etc...
    This also allow to get parameters of events like the remote address of connected devices, etc...
    Small change but lot of flexibility
    Luc authored and me-no-dev committed Nov 19, 2018
    Copy the full SHA
    c3ec91f View commit details

Commits on Nov 26, 2018

  1. Update IDF to a0468b2 (espressif#2108)

    * Update IDF to a0468b2
    
    * add missing ld file
    
    * Fix PIO builds and change coex policy
    me-no-dev authored Nov 26, 2018
    Copy the full SHA
    0496300 View commit details
  2. Copy the full SHA
    e609c78 View commit details
  3. Copy the full SHA
    0640964 View commit details
  4. handshake in ssl_client.cpp (espressif#2044)

    * issue espressif#2041
    
    * handshake timeout
    
    * seconds to milliseconds
    a-c-sreedhar-reddy authored and me-no-dev committed Nov 26, 2018
    Copy the full SHA
    46257c0 View commit details
  5. Copy the full SHA
    4ae64c5 View commit details
  6. Update CMakeLists.txt

    me-no-dev committed Nov 26, 2018
    Copy the full SHA
    bec6f87 View commit details

Commits on Nov 27, 2018

  1. Copy the full SHA
    dcb007a View commit details
  2. Copy the full SHA
    7e9afe8 View commit details
  3. Copy the full SHA
    e583a0e View commit details
  4. Update build-release.sh

    print out the command
    me-no-dev authored Nov 27, 2018
    Copy the full SHA
    bfde8da View commit details
  5. Update build-release.sh

    Add more debug
    me-no-dev authored Nov 27, 2018
    Copy the full SHA
    a360064 View commit details
  6. Update build-release.sh

    fix debug
    me-no-dev authored Nov 27, 2018
    Copy the full SHA
    df4eeb3 View commit details
  7. Update build-release.sh

    force correct dir
    me-no-dev authored Nov 27, 2018
    Copy the full SHA
    95d417c View commit details
  8. Copy the full SHA
    aa030e0 View commit details
  9. Some fixes found by gcc 8

    me-no-dev committed Nov 27, 2018
    Copy the full SHA
    fcd734a View commit details

Commits on Nov 28, 2018

  1. Remove F() macro's (espressif#2121)

    Jeroen88 authored and me-no-dev committed Nov 28, 2018
    Copy the full SHA
    cfe7e01 View commit details
  2. Update pins_arduino.h (espressif#2120)

    Bugfix: pin A14 was double defined; pin A15 was missing.
    cyberman54 authored and me-no-dev committed Nov 28, 2018
    Copy the full SHA
    9e1f8cc View commit details
  3. Copy the full SHA
    0cbba8a View commit details
Showing 3,114 changed files with 567,981 additions and 323,530 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