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

75 Commits

Author SHA1 Message Date
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
Allen Hill
408f648f77 Replace a bunch of defines with an enum 2023-08-23 18:52:09 -04:00
Allen Hill
9226e7e0f8 Enable AC2_OUT for LED 2023-08-23 18:50:08 -04:00
Allen Hill
8a7184a620 Change split 12bit variables to single uint16_t vars 2023-08-23 17:23:53 -04:00
Allen Hill
4952ecb12b Configure unused and/or output only pins 2023-08-23 16:58:40 -04:00
Allen Hill
368ac7cb5f NFC 2023-08-22 17:14:42 -04:00
Allen Hill
fb0bbbe3ca Reformat comments 2023-08-22 17:13:50 -04:00
Allen Hill
eb93931522 Only download Microchip pack if avr-libc doesnt support ATtiny3216 2023-08-22 11:59:41 -04:00
Allen Hill
23ea7ee463 Adjust for difference between GNU avr-libc IO headers and Atmel IO headers 2023-08-21 20:09:46 -04:00
Allen Hill
5559f38a51 Setup Dev Containers for VS Code (easy toolchain/build setup) 2023-08-21 20:08:04 -04:00
Allen Hill
522fb41290 Switch to CMake 2023-08-21 20:06:30 -04:00
Allen Hill
553dadfdd0 Move source files into src dir 2023-08-21 19:59:06 -04:00
Allen Hill
e21f1a979a Fix warning about array subscript [0] outside array bounds 2023-08-20 20:46:01 -04:00
Allen Hill
4fcdf4af36 Replace byte/word typedefs with uintN_t 2023-08-20 20:45:22 -04:00
Allen Hill
c4f67378ae Use alternate UART TxD/RxD pins 2023-08-20 20:41:25 -04:00
Allen Hill
48b20a9c5c Indent case labels 2023-08-19 21:41:45 -04:00