<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_firmware.git/drivers/avr, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/'/>
<entry>
<title>Relocate platform specific drivers (#13894)</title>
<updated>2021-08-17T22:43:09+00:00</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2021-08-17T22:43:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=1bb7af4d446174b7181c9bb22dbd14c93642ea10'/>
<id>1bb7af4d446174b7181c9bb22dbd14c93642ea10</id>
<content type='text'>
* Relocate platform specific drivers

* Move stm eeprom

* Tidy up slightly</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Relocate platform specific drivers

* Move stm eeprom

* Tidy up slightly</pre>
</div>
</content>
</entry>
<entry>
<title>Extensible split data sync (#11930)</title>
<updated>2021-06-17T23:10:06+00:00</updated>
<author>
<name>Nick Brassel</name>
<email>nick@tzarc.org</email>
</author>
<published>2021-06-17T23:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=172e6a703041363decd6fc829542f33180c13beb'/>
<id>172e6a703041363decd6fc829542f33180c13beb</id>
<content type='text'>
* Extensible split data sync capability through transactions.

- Split common transport has been split up between the transport layer
  and data layer.
- Split "transactions" model used, with convergence between I2C and
  serial data definitions.
- Slave matrix "generation count" is used to determine if the full slave
  matrix needs to be retrieved.
- Encoders get the same "generation count" treatment.
- All other blocks of data are synchronised when a change is detected.
- All transmissions have a globally-configurable deadline before a
  transmission is forced (`FORCED_SYNC_THROTTLE_MS`, default 100ms).
- Added atomicity for all core-synced data, preventing partial updates
- Added retries to AVR i2c_master's i2c_start, to minimise the number of
  failed transactions when interrupts are disabled on the slave due to
  atomicity checks.
- Some keyboards have had slight modifications made in order to ensure
  that they still build due to firmware size restrictions.

* Fixup LED_MATRIX compile.

* Parameterise ERROR_DISCONNECT_COUNT.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Extensible split data sync capability through transactions.

- Split common transport has been split up between the transport layer
  and data layer.
- Split "transactions" model used, with convergence between I2C and
  serial data definitions.
- Slave matrix "generation count" is used to determine if the full slave
  matrix needs to be retrieved.
- Encoders get the same "generation count" treatment.
- All other blocks of data are synchronised when a change is detected.
- All transmissions have a globally-configurable deadline before a
  transmission is forced (`FORCED_SYNC_THROTTLE_MS`, default 100ms).
- Added atomicity for all core-synced data, preventing partial updates
- Added retries to AVR i2c_master's i2c_start, to minimise the number of
  failed transactions when interrupts are disabled on the slave due to
  atomicity checks.
- Some keyboards have had slight modifications made in order to ensure
  that they still build due to firmware size restrictions.

* Fixup LED_MATRIX compile.

* Parameterise ERROR_DISCONNECT_COUNT.</pre>
</div>
</content>
</entry>
<entry>
<title>Tidy up spi_master includes (#13053)</title>
<updated>2021-06-03T06:26:41+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2021-06-03T06:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=261d94ce344e28a13bf01444e467cc7c68c27282'/>
<id>261d94ce344e28a13bf01444e467cc7c68c27282</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into develop</title>
<updated>2021-02-08T21:33:45+00:00</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2021-02-08T21:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=39ed48f7a79d7d31545b3ecf80ae6ea5f6489c30'/>
<id>39ed48f7a79d7d31545b3ecf80ae6ea5f6489c30</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ws2812: Fix number of nops for AVR at 8 MHz (#9559)</title>
<updated>2021-02-08T21:33:04+00:00</updated>
<author>
<name>Sergey Vlasov</name>
<email>vsu@altlinux.ru</email>
</author>
<published>2021-02-08T21:33:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=627ceebef3ed19eceba3642a830ffbf44f4a9e04'/>
<id>627ceebef3ed19eceba3642a830ffbf44f4a9e04</id>
<content type='text'>
* ws2812: Fix number of nops for AVR at 8 MHz

When trying to calculate the number of nops for AVR running at 8 MHz,
the value of `w3` is expected to be negative; however, because `F_CPU`
is defined in tmk_core/avr.mk with the `UL` suffix, the preprocessor
performs its calculations using `unsigned long`, getting a very large
positive number instead of the expected negative number; this then
results in generating code with a huge number of nops.  Fix the broken
calculations by performing a comparison before subtraction, so that the
unsigned number wraparound does not occur.

The keyboard which triggers the problem is `handwired/promethium`; the
buggy code silently compiles, but the resulting timings would be
completely wrong.

* ws2812: Clean up the code after the 8 MHz fix

Remove old code which was unsuccessfully trying to clamp negative w1, w2
and w3 values to 0, and set w1_nops, w2_nops and w3_nops directly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ws2812: Fix number of nops for AVR at 8 MHz

When trying to calculate the number of nops for AVR running at 8 MHz,
the value of `w3` is expected to be negative; however, because `F_CPU`
is defined in tmk_core/avr.mk with the `UL` suffix, the preprocessor
performs its calculations using `unsigned long`, getting a very large
positive number instead of the expected negative number; this then
results in generating code with a huge number of nops.  Fix the broken
calculations by performing a comparison before subtraction, so that the
unsigned number wraparound does not occur.

The keyboard which triggers the problem is `handwired/promethium`; the
buggy code silently compiles, but the resulting timings would be
completely wrong.

* ws2812: Clean up the code after the 8 MHz fix

Remove old code which was unsuccessfully trying to clamp negative w1, w2
and w3 values to 0, and set w1_nops, w2_nops and w3_nops directly.</pre>
</div>
</content>
</entry>
<entry>
<title>Include stdbool.h in uart.h (#11728)</title>
<updated>2021-01-30T07:35:16+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2021-01-30T07:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=6b9a7e21e953d68d6ae093c2d727f1f3ac2798c0'/>
<id>6b9a7e21e953d68d6ae093c2d727f1f3ac2798c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds AT90USB162 support (#11570)</title>
<updated>2021-01-30T03:53:56+00:00</updated>
<author>
<name>Dasky</name>
<email>32983009+daskygit@users.noreply.github.com</email>
</author>
<published>2021-01-30T03:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=d92ffd1157e3ecc4ae2dbf8548c45c8b0269f664'/>
<id>d92ffd1157e3ecc4ae2dbf8548c45c8b0269f664</id>
<content type='text'>
* at90usb162 support

* fix missing bracket

* Apply suggestions from code review

Co-authored-by: Ryan &lt;fauxpark@gmail.com&gt;

Co-authored-by: Ryan &lt;fauxpark@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* at90usb162 support

* fix missing bracket

* Apply suggestions from code review

Co-authored-by: Ryan &lt;fauxpark@gmail.com&gt;

Co-authored-by: Ryan &lt;fauxpark@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>UART driver refactor (#11637)</title>
<updated>2021-01-27T06:42:49+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2021-01-27T06:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=30b46fad5764b54ab4d47e9c4024f8030e1bf1a7'/>
<id>30b46fad5764b54ab4d47e9c4024f8030e1bf1a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite APA102 support (#10894)</title>
<updated>2020-12-30T00:28:49+00:00</updated>
<author>
<name>Aldehir Rojas</name>
<email>hello@aldehir.com</email>
</author>
<published>2020-12-30T00:28:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=4f2f21dc05c70451593ba83ed7a0956c771850c2'/>
<id>4f2f21dc05c70451593ba83ed7a0956c771850c2</id>
<content type='text'>
* Rewrite APA102 support

The APA102 source was broken by commit 16a15c1cfcbfd0feb2c2cf1383676747e2f97d73 as it did not include the
quantum header. This commit addresses that, as well as other issues with
transferring bytes over the SPI interface, i.e. it was not setting the
clock pin back to low after sending a bit.

The deviation when sending the end frame is kept, but updated to the
latest from the referenced project.

Finally, these changes expose the global LED brightness parameter
of the APA102. Brightness values are configurable through
`APA102_DEFAULT_BRIGHTNESS` and `APA102_MAX_BRIGHTNESS`.

* Fix typo in led brightness extern

* Move driver out of AVR directory and add delay for ARM

* Experimental APA102 support on AVR and ARM

Co-authored-by: Alde Rojas &lt;hello@alde.io&gt;

* Refactor apa102_send_byte() calls to a loop

* Implement io_wait function for ARM

* Move APA102 drivers to own directory, fix copyright notice

* Add APA102 keymap to handwired/onekey

* Simplify RGBLIGHT_ENABLE/DRIVER option handling

Co-authored-by: Mikkel Jeppesen &lt;2756925+Duckle29@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rewrite APA102 support

The APA102 source was broken by commit 16a15c1cfcbfd0feb2c2cf1383676747e2f97d73 as it did not include the
quantum header. This commit addresses that, as well as other issues with
transferring bytes over the SPI interface, i.e. it was not setting the
clock pin back to low after sending a bit.

The deviation when sending the end frame is kept, but updated to the
latest from the referenced project.

Finally, these changes expose the global LED brightness parameter
of the APA102. Brightness values are configurable through
`APA102_DEFAULT_BRIGHTNESS` and `APA102_MAX_BRIGHTNESS`.

* Fix typo in led brightness extern

* Move driver out of AVR directory and add delay for ARM

* Experimental APA102 support on AVR and ARM

Co-authored-by: Alde Rojas &lt;hello@alde.io&gt;

* Refactor apa102_send_byte() calls to a loop

* Implement io_wait function for ARM

* Move APA102 drivers to own directory, fix copyright notice

* Add APA102 keymap to handwired/onekey

* Simplify RGBLIGHT_ENABLE/DRIVER option handling

Co-authored-by: Mikkel Jeppesen &lt;2756925+Duckle29@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Change include guards in tmk_core/ and drivers/ to pragma once (#11240)</title>
<updated>2020-12-26T04:56:11+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2020-12-26T04:56:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/qmk_firmware.git/commit/?id=1d1d5da43f86d9dded47c66afec94991d623f114'/>
<id>1d1d5da43f86d9dded47c66afec94991d623f114</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
