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

TR3FIR-347 usb tbk #3452

Open
wants to merge 99 commits into
base: main
Choose a base branch
from

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    dec5950 View commit details
    Browse the repository at this point in the history
  2. ci: Disable doctest to prevent failures from cargo test

    Not all example code can be fully compiled. This avoids errors being
    thrown by the CI server from this known issue.
    DavidZemon authored and TaylorCarpenter committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    062e6e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    a3155ad View commit details
    Browse the repository at this point in the history
  2. Add TSC support

    Currently there is a substantial amount hard coded to make things work with our setup.
    It will be generalized later
    TaylorCarpenter committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    7b69066 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ddafaa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8e3c0c View commit details
    Browse the repository at this point in the history
  5. Take references only

    TaylorCarpenter committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    3d357a0 View commit details
    Browse the repository at this point in the history
  6. don't require mutable reference for EXTI waiting

    Requires removing implementation of embedded-hal, otherwise it creates a recursive loop
    TaylorCarpenter committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    79f506a View commit details
    Browse the repository at this point in the history
  7. update version

    TaylorCarpenter committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    23a9adf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fbd56ba View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    de44b50 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

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

Commits on Apr 8, 2024

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

Commits on May 3, 2024

  1. [TR3FIR-141] Merge branch 'main' into pull_upstream2

    Resolved conflicts by keeping Taylor's changes (sometimes with modifications).
    mattcaron-token committed May 3, 2024
    Configuration menu
    Copy the full SHA
    00d3ef6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5512d01 View commit details
    Browse the repository at this point in the history
  3. [TR3FIR-141] Update TSC to not use sealed types.

    These don't exist anymore.
    mattcaron-token committed May 3, 2024
    Configuration menu
    Copy the full SHA
    8ea456a View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    b75ca66 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'token-main' into update_embassy

    Merging after Taylor's merge.
    mattcaron-token committed May 9, 2024
    Configuration menu
    Copy the full SHA
    b8d8a02 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into update_embassy

    We did another upstream sync after the original. Merge that so we get
    those new pieces too.
    mattcaron-token committed May 9, 2024
    Configuration menu
    Copy the full SHA
    88b7a5a View commit details
    Browse the repository at this point in the history
  4. [TR3FIR-141] Flip dependencies back to using artifactory.

    Now that I've gotten it all working, go back to using artifactory instead of paths.
    mattcaron-token committed May 9, 2024
    Configuration menu
    Copy the full SHA
    b50fa13 View commit details
    Browse the repository at this point in the history
  5. [TR3FIR-141] Re-fix double tick count.

    This was something that Taylor fixed in
    20faa0a and I had noticed when
    resolving the conflict, but I accepted the wrong side.
    mattcaron-token committed May 9, 2024
    Configuration menu
    Copy the full SHA
    041883e View commit details
    Browse the repository at this point in the history
  6. Merge pull request #5 from tokenize-inc/update_embassy

    [TR3FIR-141] Update embassy to latest
    mattcaron-token authored May 9, 2024
    Configuration menu
    Copy the full SHA
    3d69805 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    d102d06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e886d9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    daad424 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fec772d View commit details
    Browse the repository at this point in the history
  5. [TR3FIR-141] Bump the embassy-boot-stm32 version number.

    I missed this with my other number bumps and the bootloader needs it.
    mattcaron-token committed May 13, 2024
    Configuration menu
    Copy the full SHA
    a42ba43 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #6 from tokenize-inc/chore/TR3FIR-141-update_versi…

    …on_number
    
    [TR3FIR-141] update version number
    mattcaron-token authored May 13, 2024
    Configuration menu
    Copy the full SHA
    5ac75f2 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    41706af View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from tokenize-inc/update-hci-dep

    use internal hci package
    TaylorCarpenter authored May 15, 2024
    Configuration menu
    Copy the full SHA
    cde498f View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

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

Commits on May 21, 2024

  1. Merge pull request #8 from tokenize-inc/TR3FIR-168-embassy-dont-initi…

    …alize-other
    
    Don't enable PLL if not given config
    TaylorCarpenter authored May 21, 2024
    Configuration menu
    Copy the full SHA
    2fa76b0 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. build(stm32): Reference local embassy projects

    This is largely a reversion of
    b50fa13, but with the caveat that we
    can have BOTH path and registry in the dependency line. So, what we
    should have done originally was just add `registry = "artifactory"`,
    not replace it.
    DavidZemon authored and mattcaron-token committed May 22, 2024
    Configuration menu
    Copy the full SHA
    77ac254 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #9 from tokenize-inc/feat/fix-cargo-madness

    build: Reference local embassy projects
    mattcaron-token authored May 22, 2024
    Configuration menu
    Copy the full SHA
    4300fb5 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. [TR3FIR-149] Update embassy-stm32-wpan to use the latest stm32wb-hci

    Note: This is the only embassy crate which uses stm32wb-hci.
    mattcaron-token committed May 23, 2024
    Configuration menu
    Copy the full SHA
    4a30923 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #10 from tokenize-inc/feat/TR3FIR-149-set_ble_phy

    [TR3FIR-149] Update embassy-stm32-wpan to use the latest stm32wb-hci
    mattcaron-token authored May 23, 2024
    Configuration menu
    Copy the full SHA
    ce3d401 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    d2ef8f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efb112b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46b9d2e View commit details
    Browse the repository at this point in the history
  4. Fixes

    grochowski-withintent committed May 27, 2024
    Configuration menu
    Copy the full SHA
    9987eba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3afd974 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Working temp

    grochowski-withintent committed May 28, 2024
    Configuration menu
    Copy the full SHA
    a65878c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. WIP

    grochowski-withintent committed May 29, 2024
    Configuration menu
    Copy the full SHA
    b60f69a View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    7608a05 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7e784f View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

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

Commits on Jun 4, 2024

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

Commits on Jun 6, 2024

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

Commits on Jun 7, 2024

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

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    a0c636f View commit details
    Browse the repository at this point in the history
  2. Bump stm32wb-hci version

    lukasz-zajac committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    35949ae View commit details
    Browse the repository at this point in the history
  3. Merge pull request #12 from tokenize-inc/bump-stm32wb-hci

    Bump stm32wb-hci version
    lukasz-zajac authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    b460ce8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4dbaa9a View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    d783db0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f40458 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f0f5ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a24d826 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    c8249b4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #11 from tokenize-inc/tr3fir-155-finalize-AES-drivers

    [TR3-FIR-155] Finalize AES HW accelerator drivers for embassy
    grochowski-withintent authored Jun 12, 2024
    Configuration menu
    Copy the full SHA
    f1f086c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4176cff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa8cf5b View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Merge pull request #13 from tokenize-inc/aes-fixes

    Fix AES IV setup; fix embassy-stm32 version in neighbour crates
    grochowski-withintent authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    a5629f7 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    7862258 View commit details
    Browse the repository at this point in the history
  2. [TR3FIR-197] Remove homegrown TSC driver.

    Now that there's an upstream driver (in
    `embassy-stm32/src/tsc/mod.rs`), we'll use that and port in any
    changes needed.
    mattcaron-token committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    3962205 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

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

Commits on Jun 26, 2024

  1. Merge pull request #14 from tokenize-inc/TR3FIR-197-update_embassy

    [TR3FIR-197] update embassy
    mattcaron-token authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    d778382 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    250e1fe View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15 from tokenize-inc/chore/TR3FIR-197-missed_a_co…

    …uple_version_updates
    
    [TR3FIR-197] I missed a couple dependency version updates for embassy-boot-stm32.
    mattcaron-token authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c329901 View commit details
    Browse the repository at this point in the history
  4. TR3FIR-197 Add SOP document for how to update embassy.

    This practice should end the issues we have with version confusion
    after updating.
    mattcaron-token committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    142d2c0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #16 from tokenize-inc/TR3FIR-197-add_readme_sop_doc

    TR3FIR-197 Add SOP document for how to update embassy.
    mattcaron-token authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ac24702 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

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

Commits on Jul 9, 2024

  1. Merge pull request #18 from tokenize-inc/TR3FIR-237-fix-broken-aes-ccm

    ## Overview
    This change fixes AES CCM breaking our First Time Setup procedure.
    Turns out it was down to resetting the peripheral too rarely, since we have only been doing it on the creation of the `Aes` struct, not on creation of every algorithm instance (`AesCcm` struct).
    ## Changes
    Add `rcc::enable_and_reset` call while constructing new `AesCcm` instance.
    ## Commits
    [TR3FIR-237] Fix AES CCM breaking authentication
    grochowski-withintent authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    b3b7a90 View commit details
    Browse the repository at this point in the history
  2. fix: [TR3FIR-238] replace coreid detection values with shifted ones

    - Replace core matching values with shifted ones
    - Change magic values for cores to named constants
    - add defmt derived impl for HSEM error
    - Bump embassy-stm32 version to 0.1003.2
    mszustakiewicz-i committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    e60477a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #17 from tokenize-inc/TR3FIR-238-HSEM-panics-on-CP…

    …UID-check
    
    fix: [TR3FIR-238] Replace coreid detection values with shifted ones
    
    - Replace core matching values with shifted ones
    - Change magic values for cores to named constants
    - add a derived implementation of `defmt` for the HSEM error
    - Bump embassy-stm32 version to 0.1003.2
    mszustakiewicz-i authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    659ce40 View commit details
    Browse the repository at this point in the history
  4. [TR3FIR-198] Add function to send the flash erase activity command.

    Needed for proper arbitration of flash access between the two CPUs.
    mattcaron-token committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    a3c654a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #19 from tokenize-inc/feat/TR3FIR-198-add_flash_co…

    …ntrol
    
    [TR3FIR-198] add flash control
    mattcaron-token authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    a31e57d View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. [TR3FIR-275] Merge branch 'main' into chore/TR3FIR-275-update_embassy

    I've kept our inversion of the rust-toolchain .toml files, but I'm not
    sure why we did this.
    mattcaron-token committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    5b418fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c17ce6f View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. [TR3FIR-275] Remove artifactory registry entries.

    Not needed now that we're using submodules.
    
    Notable exceptions are stm32wb-hci and stm32-metapac, because those
    are consumed, not published.
    mattcaron-token committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    4e88999 View commit details
    Browse the repository at this point in the history
  2. [TR3FIR-275] Remove Token README.

    It is now incorrect.
    mattcaron-token committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    7a40279 View commit details
    Browse the repository at this point in the history
  3. [TR3FIR-275] Suppress a warning.

    It was annoying me.
    mattcaron-token committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    00d53ec View commit details
    Browse the repository at this point in the history
  4. [TR3FIR-275] Change deprecated config directive.

    No more:
    
    "warning:
    /home/matt/workspace/code/halo/embassy/embassy-boot/Cargo.toml:
    `default_features` is deprecated in favor of `default-features` and
    will not work in the 2024 edition (in the `ed25519-dalek` dependency)"
    mattcaron-token committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    bbdce13 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Merge pull request #22 from tokenize-inc/chore/TR3FIR-275-update_embassy

    [TR3FIR-275] update embassy
    mattcaron-token authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    e6d8d92 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Implemented PKA module

    Work in progres, there is a problem with exponent.
    
    Fix modular exponent
    
    Add finished PKA implementation with RSA operations
    
    Fix constexpression calculations
    
    Replace bytemuck with custom data conversion
    Piotr Krygier authored and RafalUlko committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    117e820 View commit details
    Browse the repository at this point in the history
  2. [TR3FIR-217] Refactor PKA and remove RSA struct

    [TR3FIR-217] Remove RSA struct from PKA driver
    
    [TR3FIR-217] Add padding for PKA RAM writes
    
    [TR3FIR-217] Fix modulus padding in PKA mod exp method
    
    [TR3FIR-217] Fix modular exp in PKA
    
    [TR3FIR-217] Fix Mongtomery param in PKA
    RafalUlko committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a2090a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Merge pull request #20 from tokenize-inc/pka_implement

    [TR3FIR-217] Add PKA controller with RSA functionalities
    lukasz-zajac authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    9e481f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

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

Commits on Aug 20, 2024

  1. Merge pull request #23 from tokenize-inc/docs/TR3FIR-336-document_tok…

    …en_changes_to_embassy
    
    [TR3FIR-336] DOCS Document Token changes to baseline embassy.
    Alessandro Gasbarroni authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    3ec8efc View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. [TR3FIR-345] Bump stm32wb-hci version

    New version fixes handling of the
    `ACI_L2CAP_CONNECTION_UPDATE_RESP_EVENT` event and in turn gets rid
    of the `BadLength` errors.
    lukasz-zajac committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    af79435 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #24 from tokenize-inc/TR3FIR-345-l2cap-connection-…

    …update-response-evt-parsing
    
    [TR3FIR-345] Bump stm32wb-hci version
    lukasz-zajac authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    cab40fd View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    124f251 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84cc9bd View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. [TR3FIR-440] Bump stm32wb-hci version

    This version fixes incorrect parsing of pairing success event
    lukasz-zajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    78106a0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #26 from tokenize-inc/TR3FIR-440

    [TR3FIR-440] Bump stm32wb-hci version
    lukasz-zajac authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    edf56f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. [TR3FIR-449] Bump stm32wb-hci version

    New version fixes parsing of indication and notification events
    lukasz-zajac committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    715c100 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Merge pull request #27 from tokenize-inc/TR3FIR-449

    [TR3FIR-449] Bump stm32wb-hci version
    lukasz-zajac authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c614253 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

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