Skip to content

Commit

Permalink
move pre-existing io headers to legacyio
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenj committed Jul 30, 2019
1 parent d09c2a6 commit 9912744
Show file tree
Hide file tree
Showing 272 changed files with 1,059 additions and 873 deletions.
9 changes: 9 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
BasedOnStyle: LLVM
ColumnLimit: 90
AllowShortCaseLabelsOnASingleLine: 'false'
BreakBeforeBraces: Linux
IndentCaseLabels: 'true'
IndentPPDirectives: AfterHash

...
282 changes: 8 additions & 274 deletions include/avr/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -40,273 +40,7 @@ avr_HEADERS = \
fuse.h \
interrupt.h \
io.h \
io1200.h \
io2313.h \
io2323.h \
io2333.h \
io2343.h \
io43u32x.h \
io43u35x.h \
io4414.h \
io4433.h \
io4434.h \
io76c711.h \
io8515.h \
io8534.h \
io8535.h \
io86r401.h \
io90pwm1.h \
io90pwmx.h \
io90pwm2b.h \
io90pwm216.h \
io90pwm3b.h \
io90pwm316.h \
io90pwm161.h \
io90pwm81.h \
io90scr100.h \
ioa5505.h \
ioa5272.h \
ioa5702m322.h \
ioa5782.h \
ioa5790.h \
ioa5790n.h \
ioa5795.h \
ioa5831.h \
ioa6285.h \
ioa6286.h \
ioa6289.h \
ioa6612c.h \
ioa6613c.h \
ioa6614q.h \
ioa6616c.h \
ioa6617c.h \
ioa664251.h \
ioat94k.h \
iocan32.h \
iocan64.h \
iocan128.h \
iocanxx.h \
iom103.h \
iom128.h \
iom128a.h \
iom1280.h \
iom1281.h \
iom1284.h \
iom1284p.h \
iom128rfa1.h \
iom1284rfr2.h \
iom128rfr2.h \
iom16.h \
iom16a.h \
iom161.h \
iom162.h \
iom163.h \
iom164.h \
iom164pa.h \
iom165.h \
iom165a.h \
iom165p.h \
iom165pa.h \
iom168.h \
iom168a.h \
iom168p.h \
iom168pa.h \
iom169.h \
iom169p.h \
iom169pa.h \
iom16hva.h \
iom16hva2.h \
iom16hvb.h \
iom16hvbrevb.h \
iom16m1.h \
iom16u2.h \
iom16u4.h \
iom2560.h \
iom2561.h \
iom256rfr2.h \
iom2564rfr2.h \
iom3000.h \
iom32.h \
iom32a.h \
iom323.h \
iom324.h \
iom324pa.h \
iom325.h \
iom325pa.h \
iom3250.h \
iom3250pa.h \
iom328p.h \
iom329.h \
iom3290.h \
iom3290pa.h \
iom32hvb.h \
iom32hvbrevb.h \
iom32c1.h \
iom32m1.h \
iom32u2.h \
iom32u4.h \
iom32u6.h \
iom48.h \
iom48a.h \
iom48pa.h \
iom48pb.h \
iom48p.h \
iom406.h \
iom64.h \
iom64a.h \
iom640.h \
iom644.h \
iom644a.h \
iom644p.h \
iom644pa.h \
iom645.h \
iom6450.h \
iom649.h \
iom649p.h \
iom6490.h \
iom64c1.h \
iom64hve.h \
iom64hve2.h \
iom64m1.h \
iom64rfr2.h \
iom644rfr2.h \
iom8.h \
iom8a.h \
iom8515.h \
iom8535.h \
iom88.h \
iom88a.h \
iom88p.h \
iom88pa.h \
iom88pb.h \
iom8hva.h \
iom8u2.h \
iomx8.h \
iomxx0_1.h \
iomxx4.h \
iomxxhva.h \
iotn4.h \
iotn5.h \
iotn9.h \
iotn10.h \
iotn11.h \
iotn12.h \
iotn13.h \
iotn13a.h \
iotn15.h \
iotn167.h \
iotn1634.h \
iotn20.h \
iotn22.h \
iotn828.h \
iotn2313.h \
iotn2313a.h \
iotn24.h \
iotn24a.h \
iotn25.h \
iotn26.h \
iotn261.h \
iotn261a.h \
iotn28.h \
iotn40.h \
iotn4313.h \
iotn43u.h \
iotn44.h \
iotn44a.h \
iotn441.h \
iotn45.h \
iotn461.h \
iotn461a.h \
iotn48.h \
iotn88.h \
iotn84.h \
iotn84a.h \
iotn841.h \
iotn85.h \
iotn861.h \
iotn861a.h \
iotn87.h \
iotnx4.h \
iotnx5.h \
iotnx61.h \
iotn202.h \
iotn204.h \
iotn212.h \
iotn214.h \
iotn402.h \
iotn404.h \
iotn406.h \
iotn412.h \
iotn414.h \
iotn416.h \
iotn417.h \
iotn804.h \
iotn806.h \
iotn807.h \
iotn814.h \
iotn816.h \
iotn817.h \
iotn1604.h \
iotn1606.h \
iotn1607.h \
iotn1614.h \
iotn1616.h \
iotn1617.h \
iotn3214.h \
iotn3216.h \
iotn3217.h \
iousb82.h \
iousb1286.h \
iousb1287.h \
iousb162.h \
iousbxx2.h \
iousb646.h \
iousb647.h \
iousbxx6_7.h \
iox64d3.h \
iox64d4.h \
iox128a1.h \
iox128a1u.h \
iox128a4u.h \
iox128a3.h \
iox128a3u.h \
iox128b1.h \
iox128b3.h \
iox128c3.h \
iox128d3.h \
iox128d4.h \
iox16a4.h \
iox16a4u.h \
iox16c4.h \
iox16d4.h \
iox192a3.h \
iox192a3u.h \
iox192c3.h \
iox192d3.h \
iox256a3.h \
iox256a3u.h \
iox256a3b.h \
iox256a3bu.h \
iox256c3.h \
iox256d3.h \
iox384c3.h \
iox384d3.h \
iox32a4.h \
iox32a4u.h \
iox32c3.h \
iox32c4.h \
iox32d3.h \
iox32d4.h \
iox32e5.h \
iox64a1.h \
iox64a1u.h \
iox64a3.h \
iox64a3u.h \
iox64a4u.h \
iox64b1.h \
iox64b3.h \
iox64c3.h \
iox8e5.h \
legacyio.h\
lock.h \
parity.h \
pgmspace.h \
Expand All @@ -328,14 +62,14 @@ EXTRA_DIST = \
version.h.in

do_subst = sed \
-e 's,[@]AVR_LIBC_MAJOR[@],$(AVR_LIBC_MAJOR),g' \
-e 's,[@]AVR_LIBC_MINOR[@],$(AVR_LIBC_MINOR),g' \
-e 's,[@]AVR_LIBC_REVISION[@],$(AVR_LIBC_REVISION),g' \
-e 's,[@]AVR_LIBC_RELDATE[@],$(AVR_LIBC_RELDATE),g' \
-e 's,[@]AVR_LIBC_VERSION[@],$(AVR_LIBC_VERSION),g' \
-e 's,[@]AVR_LIBC_VERSION_NUMERIC[@],$(AVR_LIBC_VERSION_NUMERIC),g'
-e 's,[@]AVR_LIBC_MAJOR[@],$(AVR_LIBC_MAJOR),g' \
-e 's,[@]AVR_LIBC_MINOR[@],$(AVR_LIBC_MINOR),g' \
-e 's,[@]AVR_LIBC_REVISION[@],$(AVR_LIBC_REVISION),g' \
-e 's,[@]AVR_LIBC_RELDATE[@],$(AVR_LIBC_RELDATE),g' \
-e 's,[@]AVR_LIBC_VERSION[@],$(AVR_LIBC_VERSION),g' \
-e 's,[@]AVR_LIBC_VERSION_NUMERIC[@],$(AVR_LIBC_VERSION_NUMERIC),g'

version.h: version.h.in $(top_builddir)/config.h
$(do_subst) < $(srcdir)/version.h.in > version.h
$(do_subst) < $(srcdir)/version.h.in > version.h

CLEANFILES = version.h
Loading

0 comments on commit 9912744

Please sign in to comment.