Commit Graph

16 Commits

Author SHA1 Message Date
Tim Crawford
720af4b2b0 Use BIT macro
Mostly done with the cocci script. macro.h was then added manually.
2021-05-07 11:24:25 -06:00
Tim Crawford
5c4f9b6c8b Sort object files
ROMs produced of Pop!_OS 20.10 and Fedora 33 with SDCC 4.0.0 cause
uecflash to crash after verifying the block write, leaving the  system
unbootable until all power is removed to force an EC reset.

Sorting object files appears to resolve this issue, creates a smaller
binary (~200 bytes from 20.04), and gives up more reproducible builds.
2020-12-08 13:43:40 -07:00
Tim Crawford
5fd9df0ed0 Add SPDX license identifiers
Add license information to files. Mostly automated with:

    find src/ -name '*.[c,h]' | xargs sed -i '1s,^,// SPDX-License-Identifier: GPL-3.0-only\n\n,'
    find src/ -name '*.mk' | xargs sed -i '1s,^,# SPDX-License-Identifier: GPL-3.0-only\n\n,'
2020-09-17 09:17:08 -06:00
Jeremy Soller
6672befb31 Update AVR I2C functions 2020-01-16 14:37:39 -07:00
Jeremy Soller
0a07213412 Implement ISP programmer firmware 2020-01-02 15:46:33 -07:00
Jeremy Soller
97502b61b0 Update avr i2c to match new common i2c library 2019-11-13 19:26:04 -07:00
Jeremy Soller
890d8e9968 Move i2c support to common 2019-11-13 14:33:04 -07:00
Jeremy Soller
73cd5f1cdf Add i2c slave support to arduino firmware 2019-11-11 09:35:56 -07:00
Jeremy Soller
badc84d99b Use Werror for avr architecture 2019-11-11 09:35:11 -07:00
Jeremy Soller
044584e96e Add i2c capability for AVR 2019-10-01 14:20:35 -06:00
Jeremy Soller
01bae12644 Add AVR GPIO 2019-09-29 21:47:37 -06:00
Jeremy Soller
e3aa21cae4 Add Arduino Micro and Arduino Uno 2019-09-29 21:20:03 -06:00
Jeremy Soller
abd457ba73 Fix building AVR hex files 2019-09-29 21:19:32 -06:00
Jeremy Soller
ded5181926 Organize into arch, board, and ec modules 2019-09-29 20:13:03 -06:00
Jeremy Soller
9d056547e6 Add includes from each directory 2019-09-29 20:09:42 -06:00
Jeremy Soller
b04352cb63 Reorganize to allow compiling and running AVR firmware 2019-09-29 17:13:31 -06:00