mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
STM32F4: SPI communications (#998)
* cleanup is_enumerated, rename comms and init spi * big comms refactor, building now * misra fixes * more fixes * misra try 3 * cleanup * this belongs in a separate PR * remove unneccesary file * revert llspi changes * llspi misra fix * enable SPI on F4 and setup gpio * duh * wip: spi comms * more spi wip * dynamic sector erasing * Revert "dynamic sector erasing" This reverts commit fce1215a2ede45e5e2a0e97ca23a86c1d8bfa94a. * more sectors to be erased * debugging * woah, this works * cleanup on the panda side * add sync and checksum checks, and fix recovery on errors * this seems relatively stable * add retrying * this is stabler * some endianness and endpoint fixes * builds * revert that * add that back * checksum start * start splitting up driver * spi behind flag * cleanup test * bump up timeout Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
10
.github/workflows/test.yaml
vendored
10
.github/workflows/test.yaml
vendored
@@ -40,10 +40,10 @@ jobs:
|
||||
run: eval "$BUILD"
|
||||
- name: Test python package installer
|
||||
run: ${{ env.RUN }} "cd /tmp/openpilot/panda && python setup.py install"
|
||||
- name: Build panda STM image and bootstub
|
||||
run: ${{ env.RUN }} "cd /tmp/openpilot/panda && scons"
|
||||
- name: Build pedal STM image and bootstub
|
||||
run: ${{ env.RUN }} "cd /tmp/openpilot/panda && PEDAL=1 scons"
|
||||
- name: Build panda + pedal images and bootstub
|
||||
run: ${{ env.RUN }} "cd /tmp/openpilot/panda && scons -j4"
|
||||
- name: Build panda with SPI support
|
||||
run: ${{ env.RUN }} "cd /tmp/openpilot/panda && ENABLE_SPI=1 scons -j4"
|
||||
|
||||
unit_tests:
|
||||
name: unit tests
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
- name: Build Docker image
|
||||
run: eval "$BUILD"
|
||||
- name: Run safety tests
|
||||
timeout-minutes: 3
|
||||
timeout-minutes: 4
|
||||
run: |
|
||||
${{ env.RUN }} "cd /tmp/openpilot && \
|
||||
scons -c && \
|
||||
|
||||
Reference in New Issue
Block a user