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

Sunnypilot escc new rebased sync trying to unify #28

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on Jun 7, 2024

  1. Refactor escc_tx_hook function in Hyundai safety code

    The commented-out `escc_tx_hook` function in Hyundai ESCC safety code has been refactored and is now in use again, replacing the formerly used `alloutput_tx_hook`. Debugging functionality has been preserved and conditions for when the function is unused have also been handled. The resulting code is now cleaner and more efficient.
    
    Add ESCC firmware and build files, and safety mode for Hyundai ESCC
    
    This commit introduces ESCC firmware and the corresponding build files. We have also defined a new safety mode for Hyundai ESCC. The necessary scripts for flashing and recovery have been added, alongside the gitignore file for the ESCC board. Additionally, we have implemented new message processing and forwarding logic to handle ESCC specific messages in main and safety files.
    sunnyhaibin authored and devtekve committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    a84f548 View commit details
    Browse the repository at this point in the history
  2. Add send_escc_msg call in case blocks

    The send_escc_msg function is now called within the individual case blocks for SCC11, SCC12, and FCA11, enhancing code readability. Before, it was called on any message that the radar sends, but this strategy was inefficient as it was piggybacking on their frequencies.
    devtekve committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    7998723 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2024

  1. Remove unnecessary send_escc_msg calls in Hyundai safety code

    The updates in the code remove redundant send_escc_msg calls in the Hyundai safety code. We don't really need to send the FCA or AEB data through the ESCC packet because we don't block it at all. So we don't really need to "package" it anymore on the ESCC message
    devtekve committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    db5201c View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Merge branch 'refs/heads/master-priv' into sunnypilot-escc-new-rebase…

    …d-sync-trying-to-unify
    devtekve committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    23a2591 View commit details
    Browse the repository at this point in the history
  2. Add ESCC build option and refine ESCC specific code

    Introduce --escc option in SCons to conditionally build ESCC firmware. Update build_project to support CPPDEFINES and modify main.c to handle ESCC-specific safety modes and behaviors more cleanly.
    devtekve committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    c47be62 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6ffa71e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9722f7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    53f63e7 View commit details
    Browse the repository at this point in the history
  2. Add initial README for ESCC board

    This commit introduces a new README for the ESCC board detailing the pinout configurations and connections between the Molex connector and IONIQ harness and radar components. The documentation provides a clear, structured guide to assist with proper wiring and setup.
    devtekve committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    b18df16 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

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