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

sync: add OnceFunc(), OnceValue(), and OnceValues() functions as needed for Windows using Go 1.21 #3837

Closed
wants to merge 9 commits into from

Commits on Jul 8, 2023

  1. all: Go 1.21 support

    aykevl committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    be3c8d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1fe8e61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a05e61 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f10f2d View commit details
    Browse the repository at this point in the history
  5. compiler: improve panic message when a runtime call is unavailable

    This should not happen under normal circumstances. It can still happen
    when there is a mismatch between TinyGo version and the associated
    runtime, or while developing the compiler package.
    aykevl committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    97fea1c View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. machine.UART refactor (#3832)

    * add gosched calls to UART
    
    * add UART.flush() stubs for all supported architectures
    
    * add comment un uart.go on flush functionality
    
    * uart.writeByte as base of UART usage
    
    * fix NXP having duplicate WriteByte
    
    * fix writeByte not returning error on some platforms
    
    * add flush method for fe310 device
    
    * check for error in WriteByte call to writeByte
    soypat authored and deadprogram committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    9ecaddd View commit details
    Browse the repository at this point in the history
  2. nrf: add I2C timeout

    This commit adds I2C timeouts for nrf51 and nrf52 (but not yet for
    others like nrf52840).
    
    Tested on the PineTime, where I now got a timeout instead of hanging and
    resetting due to a watchdog reset.
    aykevl authored and deadprogram committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    ccd9ab7 View commit details
    Browse the repository at this point in the history
  3. rp2040:add NoPin support

    soypat authored and deadprogram committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    54bed76 View commit details
    Browse the repository at this point in the history
  4. sync: add implementation from upstream Go for OnceFunc, OnceValue, an…

    …d OnceValues
    
    Signed-off-by: deadprogram <[email protected]>
    deadprogram committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    2a83b1f View commit details
    Browse the repository at this point in the history