1
0
mirror of https://github.com/halleysfifthinc/Toyota-AVC-LAN synced 2025-06-07 07:56:21 +00:00

90 Commits

Author SHA1 Message Date
Allen Hill
b0b3d9f34e Add muteing functionality and avoid unnecessary work when muted 2023-10-25 14:10:42 -04:00
Allen Hill
dea335af7f Remove hardcoded length in favor of const evaled sizeof 2023-10-24 17:42:38 -04:00
Allen Hill
c906725a0c Move RTC PIT to avclandrv and add CD status struct and answerreq 2023-10-24 16:39:39 -04:00
Allen Hill
6d62fc4095 Remove copy of libc function 2023-10-23 14:13:53 -04:00
Allen Hill
67608e789f Fix binary printframe 2023-10-16 18:56:22 -04:00
Allen Hill
9c0fcb0bcb Fix Event being sent when cd_mode isnt stPlay 2023-10-09 19:41:51 -04:00
Allen Hill
84f426f39f Move readkey var to sniffer 2023-10-09 19:41:06 -04:00
Allen Hill
17f5510b16 Tweak formatting rules 2023-09-17 12:16:14 -04:00
Allen Hill
1d6690a234 Fix printBinary flag 2023-09-16 16:31:08 -04:00
Allen Hill
0fe2f64eed Fix UART 2x speed config 2023-09-16 19:34:45 +00:00
Allen Hill
ebb5ec95ca Add binary printing and reading/parsing from serial 2023-09-15 18:43:41 -04:00
Allen Hill
cabcd06e67 Rearrange some functions 2023-09-15 18:37:46 -04:00
Allen Hill
ff55d7e671 More send related bugfixes 2023-09-14 19:52:11 -04:00
Allen Hill
1cafed82d0 Change serial baud to 500k at double-speed; but add cmake option for serial rxmode 2023-09-14 19:48:39 -04:00
Allen Hill
9fcca0a6fb Rename INPUT_IS_SET/CLEAR to BUS_IS_IDLE 2023-09-13 21:53:53 -04:00
Allen Hill
3c5c1d269e Fix reading functions 2023-09-13 17:16:21 -04:00
Allen Hill
de658f1fb7 Update AVCLAN summary 2023-09-13 17:09:11 -04:00
Allen Hill
64cd4b9958 Remove erroneous PUBLIC include_directory 2023-09-12 19:21:43 -04:00
Allen Hill
18202c5264 Add toggleable verbose debugging messages and tweak/improve the serial interface 2023-09-12 19:21:19 -04:00
Allen Hill
08f7fe934d Add printhex12 function 2023-09-12 11:20:21 -04:00
Allen Hill
da6a3371fd Update signal measuring and apply new measurements to bit-timings 2023-09-11 22:12:23 -04:00
Allen Hill
bcd07d0ffb Refine timing calculations; use for serial baudrate calculation 2023-09-10 16:48:48 -04:00
Allen Hill
4c19f27992 Update/fix pin levels for new transmission design 2023-09-10 16:34:59 -04:00
Allen Hill
012649d156 Remove makefile; use CMake instead 2023-09-10 16:06:26 -04:00
Allen Hill
a9ea586ed4 Setup and bugfix programming with avrdude 2023-09-10 16:05:44 -04:00
Allen Hill
7245695bc7 Setup timing better (fuses, clock speed, TCB clock speed) 2023-09-10 16:02:06 -04:00
Allen Hill
09bcd75811 Implement bit-read timing with TCB0 pulse-width measurement 2023-09-10 15:54:24 -04:00
Allen Hill
d6d1995ae4 Re-add an AVCLAN summary/diagram 2023-09-03 20:03:22 -04:00
Allen Hill
332fb4545f Rename send/read bits/bytes functions and rearrange 2023-09-03 19:48:33 -04:00
Allen Hill
ba40f96d44 Change sendbit timer config to optimize function length (insns) 2023-09-03 19:32:09 -04:00
Allen Hill
ba27167b2e Add RelWithDebInfo build preset 2023-09-03 19:29:23 -04:00
Allen Hill
d7af6529ef Copy settings to devcontainer 2023-09-03 19:29:09 -04:00
Allen Hill
82ab967b7c Move incBCD to sniffer; only used there 2023-09-03 19:04:08 -04:00
Allen Hill
cedad9df9f Remove unused functions 2023-09-03 18:29:13 -04:00
Allen Hill
f13ccffa8d Annotate cases 2023-09-03 18:17:25 -04:00
Allen Hill
230709a103 Add compiler explorer extension for optimizing functions 2023-09-03 18:16:45 -04:00
Allen Hill
9c024506c0 Add copyright attribution for louis frigon too 2023-09-03 18:15:50 -04:00
Allen Hill
3fd8c0255b Sort clang-tidy options 2023-09-03 13:50:08 -04:00
Allen Hill
9a47ba77eb Remove unnecessary extern specifier for functions 2023-09-03 13:48:33 -04:00
Allen Hill
064fc01ac6 Update LICENSE and notices in files 2023-09-03 13:43:49 -04:00
Allen Hill
b736816de0 Switch master/slave replacements to OSHWA recommended controller/peripheral 2023-09-03 13:42:12 -04:00
Allen Hill
3e008f32eb Tooling updates and modification suggested by clang-tidy 2023-09-03 09:49:03 -04:00
Allen Hill
b9bae7a65f More reorganization [nfc] 2023-09-02 22:18:11 -04:00
Allen Hill
9581957eca More cleanly separate specific functionality into the relevant files 2023-09-02 22:09:37 -04:00
Allen Hill
003c4c7f2f Remove non-functional variables 2023-08-31 21:42:45 -04:00
Allen Hill
acd6709e73 Refactor send/receive functions to use a new AVCLAN_frame_t type 2023-08-28 21:00:52 -04:00
Allen Hill
70d153f77c Exclude build artifacts from C/C++ extension analysis 2023-08-28 20:46:55 -04:00
Allen Hill
2a5b95c3f5 Add generic dispatch for AVCLAN_sendbits; simplifies calling use for 12 bit words 2023-08-26 21:15:30 -04:00
Allen Hill
208fe2a097 Remove unused variables 2023-08-25 18:38:25 -04:00
Allen Hill
e14cbe40c0 Change parity_bit from global to local for read/send functions 2023-08-23 19:51:35 -04:00