panda/board/pedal
Willem Melching ad9ecefe65
Switch panda to scons builder (#635)
* add scons builder

* cleanup 1

* remove building from python code

* add pedal build

* fixup flags

* add EON flag

* change github actions to scons

* fixup automated tests

* move flashing scripts

* fix indent

* remove version.mk

* fix not in git

* fix linker script filename

* untested pedal flashing scripts

* add release option

* better asserts

* swap condition

* enable usb and fix flash script

* usb flash is not supported

* use button to enable dfu mode

* no usb because misra

* remove sleep
2021-03-24 14:44:32 +01:00
..
.gitignore Pedal: only one firmware (#164) 2019-03-03 21:04:41 -08:00
README Pedal: only one firmware (#164) 2019-03-03 21:04:41 -08:00
flash_can.sh Switch panda to scons builder (#635) 2021-03-24 14:44:32 +01:00
main.c No more infinite while loops in CAN init (#499) 2020-04-13 20:32:53 -07:00
main_declarations.h Black (#254) 2019-07-23 15:07:06 -07:00
recover.sh Switch panda to scons builder (#635) 2021-03-24 14:44:32 +01:00

README

This is the firmware for the comma pedal. It borrows a lot from panda.

The comma pedal is a gas pedal interceptor for Honda/Acura. It allows you to "virtually" press the pedal.

This is the open source software. Note that it is not ready to use yet.

== Test Plan ==

* Startup
** Confirm STATE_FAULT_STARTUP
* Timeout
** Send value
** Confirm value is output
** Stop sending messages
** Confirm value is passthru after 100ms
** Confirm STATE_FAULT_TIMEOUT
* Random values
** Send random 6 byte messages
** Confirm random values cause passthru
** Confirm STATE_FAULT_BAD_CHECKSUM
* Same message lockout
** Send same message repeated
** Confirm timeout behavior
* Don't set enable
** Confirm no output
* Set enable and values
** Confirm output