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

Proper deepsleep as proposed upstream #4

Merged
merged 22 commits into from
Jun 7, 2017
Merged

Proper deepsleep as proposed upstream #4

merged 22 commits into from
Jun 7, 2017

Commits on Mar 27, 2017

  1. Configuration menu
    Copy the full SHA
    0ec1d9e View commit details
    Browse the repository at this point in the history
  2. esp32/machine_rtc.c Initial commit of new RTC module for esp32

    Very rough support, just enough to get machine.deepsleep() to
    work properly
    MrSurly committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    f353708 View commit details
    Browse the repository at this point in the history
  3. esp32/Makefile Updated to add esp32/machine_rtc.c

    esp32/modmachine.c Added RTC object
    esp32/modmachine.h Added RTC object
    
    Just enough code for this to work on ESP32:
    
        import machine
        rtc = machine.RTC() # Need to implement this first!
        rtc.irq(trigger=rtc.ALARM0, wake=machine.DEEPSLEEP) # syntactic sugar to match, probably a NOP
        rtc.alarm(rtc.ALARM0, 10000) # calls esp_deep_sleep_enable_timer_wakeup() in IDF
        machine.deepsleep() # calls esp_deep_sleep_start() in IDF
    MrSurly committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    2862406 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d91625 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2017

  1. esp32/machine_pin.c: Added machine_pin_get_pin_object_ptr

    esp32/machine_pin.h: Exposes machine_pin_get_pin_object_ptr
    
    New function so that the RTC wake mode configurations can
    return the current Pin(s) that they're configured for.
    MrSurly committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    7033153 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ae1e77 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7310c0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3114328 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. esp32/machine_pin.c reverted to esp32 branch version

    esp32/machine_pin.h removed
    MrSurly committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    f7be383 View commit details
    Browse the repository at this point in the history
  2. esp32/machine_rtc.c: Removed return values for deepsleep routines

    These didn't seem to add much value, expecially since
    returning Pin objects is nearly useless.
    MrSurly committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    52426c5 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. *: rebase to esp32 branch

    MrSurly committed May 11, 2017
    Configuration menu
    Copy the full SHA
    5dce80e View commit details
    Browse the repository at this point in the history
  2. exp32/machine_rtc.c

    exp32/machine_rtc.h
    exp32/modmachine.c
    
    Removed the legacy compatibility 8266 code.
    MrSurly committed May 11, 2017
    Configuration menu
    Copy the full SHA
    65017d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97e7776 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c4054b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0e53fcb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c294a03 View commit details
    Browse the repository at this point in the history
  7. esp32/machine_rtc.c: format fixes

    esp32/modmachine.c: format fixes
    MrSurly committed May 11, 2017
    Configuration menu
    Copy the full SHA
    6cc8ac9 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2017

  1. Configuration menu
    Copy the full SHA
    76d423e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ffbff7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0169bdd View commit details
    Browse the repository at this point in the history

Commits on May 23, 2017

  1. Configuration menu
    Copy the full SHA
    e04cf4c View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2017

  1. Merge branch 'esp32' into dev-deepsleep

    Conflicts:
    	esp32/modmachine.c
    	esp32/modmachine.h
    MrSurly committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    d4d1401 View commit details
    Browse the repository at this point in the history