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: cxxcoder/pico-uart-bridge
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Noltari/pico-uart-bridge
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 15 commits
  • 7 files changed
  • 3 contributors

Commits on Nov 4, 2022

  1. usb-descriptors: use flash ID as USB serial

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    cxxcoder authored and Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    6aa7cf2 View commit details
    Browse the repository at this point in the history
  2. pico-sdk: update to 1.4.0

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    d0925bf View commit details
    Browse the repository at this point in the history
  3. github: improve CI

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    71fd38d View commit details
    Browse the repository at this point in the history
  4. Code cleanup

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    8db03b4 View commit details
    Browse the repository at this point in the history
  5. Increase buffers and improve USB descriptors

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    3e1672f View commit details
    Browse the repository at this point in the history
  6. uart-bridge: add UART RX interrupts

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    01e7831 View commit details
    Browse the repository at this point in the history
  7. Switch UART0 to GPIO 16 (TX) & GPIO 17 (RX)

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    3aa5d05 View commit details
    Browse the repository at this point in the history
  8. uart-bridge: avoid CR/LF conversion

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    9d05ed4 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2023

  1. Switch from memcpy to memmove when copying within buffers

    In the usb_write_bytes and uart_write_bytes routines, a memcpy was previously
    used to copy untransmitted bytes to the beginning of the buffer (ud->uart_buffer
    and ud->usb_buffer, respectively). Since the source and destination regions of
    memory may potentially overlap, the use of memcpy may lead to undefined results.
    
    From the draft C89 standard:
    
        4.11.2.1 The memcpy function
    
        Synopsis
    
                 #include <string.h>
                 void *memcpy(void *s1, const void *s2, size_t n);
    
        Description
    
           The memcpy function copies n characters from the object pointed to
        by s2 into the object pointed to by s1 .  If copying takes place
        between objects that overlap, the behavior is undefined.
    
        Returns
    
           The memcpy function returns the value of s1 .
    
    By using memmove rather than memcpy in the usb_write_bytes and uart_write_bytes
    routines, the potential for undefined behavior can be avoided.
    mgduda committed Jan 29, 2023
    Configuration menu
    Copy the full SHA
    67ce071 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Merge pull request Noltari#15 from mgduda/use_memmove_fix

    Switch from memcpy to memmove when copying within buffers
    Noltari authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    ca81e5c View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. github: bump checkout to v4

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    2e3f10f View commit details
    Browse the repository at this point in the history
  2. github: bump upload-artifact to v4

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    2f05798 View commit details
    Browse the repository at this point in the history
  3. uart-bridge: restore clock speed

    Apparently, some boards do not support setting a higher CPU clock:
    Noltari#11 (comment)
    
    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    b74af3b View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. pico-sdk: update to v1.5.1

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    c8a4bc5 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. github: ci: switch to ubuntu-22.04

    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Noltari authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    9d0df32 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy