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: stickbreaker/arduino-esp32
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v.0.2.0
Choose a base ref
...
head repository: stickbreaker/arduino-esp32
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 15 commits
  • 9 files changed
  • 1 contributor

Commits on Mar 15, 2018

  1. v0.2.0

    stickbreaker authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    a0db0cc View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2018

  1. Create Destructor for Wire Class.

    This destructor allows reassigning either hardware peripheral to the default Wire() objects.
    sequence:
    Wire.~TwoWire();
    Wire = TwoWire(peripherial); // peripheral is either 0 or 1
    Wire.begin(sda,scl); // sda, scl are the pins to use, when using peripheral 1, YOU MUST specifiy the pins, there ARE NO DEFAULT VALUES for peripheral 1.
    stickbreaker authored Mar 16, 2018
    Configuration menu
    Copy the full SHA
    c571e1b View commit details
    Browse the repository at this point in the history
  2. Support for Wire Destructor

    These changes allow both i2c peripherals to be use, if a TwoWire() object is destroyed, the associated peripheral is reset and powered down.
    stickbreaker authored Mar 16, 2018
    Configuration menu
    Copy the full SHA
    dd0ac4b View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2018

  1. Create README.md

    stickbreaker authored Mar 18, 2018
    Configuration menu
    Copy the full SHA
    5d2e3f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec01623 View commit details
    Browse the repository at this point in the history
  3. Update README.md

    stickbreaker authored Mar 18, 2018
    Configuration menu
    Copy the full SHA
    fbb85f6 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2018

  1. Preserve Custom SDA,SCL and Frequency when calling Wire.begin()

    This change will not reset the SCL, SDA and Frequency values to their default value if `Wire.begin()` is call without any parameters.  Arduino libraries that use `Wire()` usually have a call to `Wire.begin()` inside their initialization call.  Without this change, any custom pin assignments are lost whenever `Wire.begin()` is called.
    stickbreaker authored Apr 13, 2018
    Configuration menu
    Copy the full SHA
    da6be57 View commit details
    Browse the repository at this point in the history
  2. Preserve custome SCL, SDA and Frequency when Wire.begin() called

    Changed how default parameters are interpreted.  Now calling `Wire.begin()` without parameters will reuse the current values instead of resetting them to the default values.  This change was prompted when it was found than custom pin assignments were being lost.  The standard Arduino library practice is to issue a `Wire.begin()` call inside each library that uses `Wire()`.  If a custom pin assignment was used, when these libraries were init'd, they caused a failure when they re-assigned the SDA and SCL pins.  Changing Frequency back to 100khz was not a fatal problem.
    stickbreaker authored Apr 13, 2018
    Configuration menu
    Copy the full SHA
    9b1c895 View commit details
    Browse the repository at this point in the history
  3. update version V0.2.2

    stickbreaker authored Apr 13, 2018
    Configuration menu
    Copy the full SHA
    68185a0 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #27 from stickbreaker/Wire-Destructor

    Create Destructor for Wire Class. Preserve Custom SCL, SDA across `Wire.begin()` default calls.
    stickbreaker authored Apr 13, 2018
    Configuration menu
    Copy the full SHA
    fc33cc0 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2018

  1. Fix error msg, Compiler Warning

    Time out recover was generating a confusing error message when DEBUG level was set, Clarify meaning.  Thanks to @valki2
    
    When Arduino 1.8.5 configured for maximum compiler warning, my sloppy code generates multiple errors. :grimace:  Thanks @PicoEmma
    I fixed most of the warnings, but I haven't figure out how to clear one type of them.  I use a structure to decode a peripheral memory register, the compiler reports it as an:
    >
    C:\Users\e\Documents\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-i2c.c: In function 'dumpCmdQueue':
    C:\Users\e\Documents\Arduino\hardware\espressif\esp32\cores\esp32\esp32-hal-i2c.c:399:17: warning: variable 'c' set but not used [-Wunused-but-set-variable]
       I2C_COMMAND_t c;
                     ^
    
    Chuck.
    stickbreaker authored May 20, 2018
    Configuration menu
    Copy the full SHA
    a396ffc View commit details
    Browse the repository at this point in the history
  2. Update to version V0.2.3

    esp-hal-i2c.c: 
    * fix timeout debug message @valki2
    * fix compiler warnings @PicoEmma
    * add debug level display
    stickbreaker authored May 20, 2018
    5 Configuration menu
    Copy the full SHA
    9cb06b9 View commit details
    Browse the repository at this point in the history
  3. Brain Fade,

    Did a direct file edit, and of course I failed.
    stickbreaker authored May 20, 2018
    Configuration menu
    Copy the full SHA
    88a51e1 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2018

  1. brainless blunder

    xEventGroupclearBits() does not return an error code, just the prior values of the flags.
    stickbreaker authored May 24, 2018
    Configuration menu
    Copy the full SHA
    0db1b53 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2018

  1. Remove confusing Debug message

    If Core Debug Level is at DEBUG, a confusing debug message will be emitted if the I2C transaction takes longer complete than the calculated minimum time. This original debug message was just to prove that this new i2c code could correctly handle SCL stretching or interrupt latency issues. This delay is not a problem, or an error. Usually it is caused by a higher priory interrupt starving the i2c ISR. Usually WiFi is the culprit. As long of this delay is within the configured timeout (by default 50ms, or can be set with Wire.setTimeOut(milliseconds);) no problem will occur and the transaction will successfully complete.
    Chuck.
    stickbreaker authored Jul 2, 2018
    Configuration menu
    Copy the full SHA
    2a2e699 View commit details
    Browse the repository at this point in the history
Loading