<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_firmware.git/tmk_core/common/avr, branch master</title>
<subtitle>forked from https://github.com/qmk/qmk_firmware</subtitle>
<id>https://git.tsegers.com/qmk_firmware.git/atom?h=master</id>
<link rel='self' href='https://git.tsegers.com/qmk_firmware.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/'/>
<updated>2020-06-10T21:23:11Z</updated>
<entry>
<title>adds support for the atmega328 (#9043)</title>
<updated>2020-06-10T21:23:11Z</updated>
<author>
<name>itsnoteasy</name>
<email>pyrosoma1@yahoo.ie</email>
</author>
<published>2020-06-10T21:23:11Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=7aa4cc9603b8cdb0ea3ede753eff7d07a86a18b0'/>
<id>urn:sha1:7aa4cc9603b8cdb0ea3ede753eff7d07a86a18b0</id>
<content type='text'>
Co-authored-by: Ryan &lt;fauxpark@gmail.com&gt;</content>
</entry>
<entry>
<title>format code according to conventions [skip ci]</title>
<updated>2020-04-02T21:59:37Z</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2020-04-02T21:59:37Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=59188bf29d10cdf0500811a68f611ab6a724494f'/>
<id>urn:sha1:59188bf29d10cdf0500811a68f611ab6a724494f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial support for ATtiny85 (#8632)</title>
<updated>2020-04-02T21:23:57Z</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2020-04-02T21:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=9c4bf0ac4aed4ab315f27bfa5d2f54b0dd931138'/>
<id>urn:sha1:9c4bf0ac4aed4ab315f27bfa5d2f54b0dd931138</id>
<content type='text'>
* Initial support for ATtiny85

* Update mcu selection</content>
</entry>
<entry>
<title>Enable SLEEP_LED on ATmega32A  (#8531)</title>
<updated>2020-03-26T18:21:33Z</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2020-03-26T18:21:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=23e942ae4e66008632667f12c30bbb4f0fae31f7'/>
<id>urn:sha1:23e942ae4e66008632667f12c30bbb4f0fae31f7</id>
<content type='text'>
* Port over some AVR backlight logic to SLEEP_LED

* Port over some AVR backlight logic to SLEEP_LED - add timer 3

* Port over some AVR backlight logic to SLEEP_LED - clang format

* Enable SLEEP_LED within vusb protocol</content>
</entry>
<entry>
<title>Refactor rgblight_reconfig.h (#7773)</title>
<updated>2020-03-10T08:46:03Z</updated>
<author>
<name>Takeshi ISHII</name>
<email>2170248+mtei@users.noreply.github.com</email>
</author>
<published>2020-03-10T08:46:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=dbbab409812ea7c579760e2973399245c21ff843'/>
<id>urn:sha1:dbbab409812ea7c579760e2973399245c21ff843</id>
<content type='text'>
* Moved contents of rgblight_reconfig.h to rgblight_post_config.h.

In #3582, rgblight_reconfig.h had to be newly created. Now, the build system of qmk_firmware has a post_cofig feature, so that what was done in rgblight_reconfig.h can now be realized in rgblight_post_config.h.

**This commit does not change the build result.**

Testing script
```shell
  # build on master
  git checkout master
  echo master &gt; /tmp/master_md5.txt

  # RGBLIGHT_ENABLE = no
  make HELIX=verbose helix/rev2:default:clean
  make HELIX=verbose helix/rev2:default
  md5 helix_rev2_default.hex &gt;&gt; /tmp/master_md5.txt

  # RGBLIGHT_ENABLE = yes, with animations
  make HELIX=verbose helix/rev2/back:default:clean
  make HELIX=verbose helix/rev2/back:default
  md5 helix_rev2_back_default.hex &gt;&gt; /tmp/master_md5.txt

  # RGBLIGHT_ENABLE = yes, without animations
  make HELIX=verbose,no_ani helix/rev2/back:default:clean
  make HELIX=verbose,no_ani helix/rev2/back:default
  md5 helix_rev2_back_default.hex &gt;&gt; /tmp/master_md5.txt

  # build on refactor_rgblight_reconfig.h
  git checkout refactor_rgblight_reconfig.h
  echo refactor_rgblight_reconfig.h &gt; /tmp/branch_md5.txt

  # RGBLIGHT_ENABLE = no
  make HELIX=verbose helix/rev2:default:clean
  make HELIX=verbose helix/rev2:default
  md5 helix_rev2_default.hex &gt;&gt; /tmp/branch_md5.txt

  # RGBLIGHT_ENABLE = yes, with animations
  make HELIX=verbose helix/rev2/back:default:clean
  make HELIX=verbose helix/rev2/back:default
  md5 helix_rev2_back_default.hex &gt;&gt; /tmp/branch_md5.txt

  # RGBLIGHT_ENABLE = yes, without animations
  make HELIX=verbose,no_ani helix/rev2/back:default:clean
  make HELIX=verbose,no_ani helix/rev2/back:default
  md5 helix_rev2_back_default.hex &gt;&gt; /tmp/branch_md5.txt

  diff -u /tmp/master_md5.txt /tmp/branch_md5.txt
```

Test result:
```
--- /tmp/master_md5.txt 2020-01-03 15:42:22.000000000 +0900
+++ /tmp/branch_md5.txt 2020-01-03 15:42:42.000000000 +0900
@@ -1,4 +1,4 @@
-master
+refactor_rgblight_reconfig.h
 MD5 (helix_rev2_default.hex) = f360032edd522448366d471d8f4f8181
 MD5 (helix_rev2_back_default.hex) = 0c663acc6cccc44476b3b969ad22a48f
 MD5 (helix_rev2_back_default.hex) = e66b1195ff6d38e6e22c975b8ae42fd3
```

* Expressions that are too long are difficult to read, so wrap them.

* Edit the expression again

* remove `defined(RGBLIGHT_ANIMATIONS)` in `tmk_core/common/*/suspend.c`, `tmk_core/protocol/*/main.c`

move contents of rgblight_reconfig.h to rgblight.h.

The following changes were made to rgblight.h.

```diff
+#ifdef RGBLIGHT_USE_TIMER
 void rgblight_task(void);

 void rgblight_timer_init(void);
 void rgblight_timer_enable(void);
 void rgblight_timer_disable(void);
 void rgblight_timer_toggle(void);
+#else
+#define rgblight_task()
+#define rgblight_timer_init()
+#define rgblight_timer_enable()
+#define rgblight_timer_disable()
+#define rgblight_timer_toggle()
+#endif
```

The following changes were made to tmk_core/common/avr/suspend.c, tmk_core/common/chibios/suspend.c, tmk_core/protocol/chibios/main.c, tmk_core/protocol/lufa/lufa.c, tmk_core/protocol/vusb/main.c.

```diff
-#    ifdef RGBLIGHT_ANIMATIONS
     rgblight_timer_enable();
-#    endif
```
```diff
-#if defined(RGBLIGHT_ANIMATIONS) &amp;&amp; defined(RGBLIGHT_ENABLE)
+#if defined(RGBLIGHT_ENABLE)
         rgblight_task();
 #endif
```

* remove 'defined(RGBLIGHT_ANIMATIONS)' in tmk_core/common/keyboard.c

Co-authored-by: Joel Challis &lt;git@zvecr.com&gt;</content>
</entry>
<entry>
<title>Move tmk_core/common/backlight to quantum/backlight (#6710)</title>
<updated>2019-10-17T16:48:58Z</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2019-10-17T16:48:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=abfd6ed9613013d3c9f15da8b575a902d9bcf274'/>
<id>urn:sha1:abfd6ed9613013d3c9f15da8b575a902d9bcf274</id>
<content type='text'>
* Move tmk_core/common/backlight to quantum/backlight

* Add guards to backlight inclusion

* Add guards to backlight inclusion

* Update backlight guards on clueboard/60

* Use full paths to avoid vpath issues
</content>
</entry>
<entry>
<title>Banish some more magic numbers (#6662)</title>
<updated>2019-09-07T15:12:46Z</updated>
<author>
<name>fauxpark</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2019-09-07T15:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=91bd2117df4cc4d2be6c840103614f2245e54bd1'/>
<id>urn:sha1:91bd2117df4cc4d2be6c840103614f2245e54bd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clang-format changes</title>
<updated>2019-08-30T22:01:52Z</updated>
<author>
<name>skullY</name>
<email>skullydazed@gmail.com</email>
</author>
<published>2019-08-30T18:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=b624f32f944acdc59dcb130674c09090c5c404cb'/>
<id>urn:sha1:b624f32f944acdc59dcb130674c09090c5c404cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Have clang ignore the code in bootloader_size.c</title>
<updated>2019-08-30T22:01:52Z</updated>
<author>
<name>skullY</name>
<email>skullydazed@gmail.com</email>
</author>
<published>2019-07-12T18:22:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=691be16b236a93d2a8d22455d64f6f0f2153fbbd'/>
<id>urn:sha1:691be16b236a93d2a8d22455d64f6f0f2153fbbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Usbasploader bootloader option addition (#6304)</title>
<updated>2019-07-16T02:11:59Z</updated>
<author>
<name>yiancar</name>
<email>yiangosyiangou@cytanet.com.cy</email>
</author>
<published>2019-07-16T02:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/qmk_firmware.git/commit/?id=3538955778c253e68779605cc67c27e15d195729'/>
<id>urn:sha1:3538955778c253e68779605cc67c27e15d195729</id>
<content type='text'>
* Added USBasp bootloader option for USBasploader

* author comment

* ifdef fix :)

* Add usbasp target

* Update docs/flashing.md

Co-Authored-By: fauxpark &lt;fauxpark@gmail.com&gt;

* Update docs/flashing.md

Co-Authored-By: fauxpark &lt;fauxpark@gmail.com&gt;

* Update docs/flashing.md

Co-Authored-By: fauxpark &lt;fauxpark@gmail.com&gt;
</content>
</entry>
</feed>
