Skip to content

Commit 481fd37

Browse files
committed
drop m8 support
1 parent 17fd64e commit 481fd37

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# ArduinoShrink
2-
This library replaces Arduino AVR Core functions with smaller and faster versions, with the same functionality.
3-
For example, the Blink example sketch built for the Uno takes 924 bytes of flash, but only needs 286 bytes with ArduinoShrink.
4-
5-
## Usage
6-
Download [a release](https://github.com/nerdralph/ArduinoShrink/releases), and extract the files into your Arduino/libraries folder. Select ArduinoShrink from the Sketch, Include Library menu. This will replace several Arduino functions with smaller and faster versions. The Arduino pin number must be known at compile time if you are using this library.
7-
8-
## Limitations
9-
ArduinoShrink supports only ATmega8 and ATmegax8 MCUs. Accurate timing for millis() and delay() requires a freqquency that is a power of two such as 1Mz, 8Mhz, or 16Mhz.
10-
1+
# ArduinoShrink
2+
This library replaces Arduino AVR Core functions with smaller and faster versions, with the same functionality. The ATmega168 and 328 MCUs are supported at both 8MHz and 16Mhz.
3+
The Arduino Blink example sketch built for the Uno takes 924 bytes of flash, but only needs 286 bytes with ArduinoShrink.
4+
5+
## Usage
6+
Download [a release](https://github.com/nerdralph/ArduinoShrink/releases), and extract the files into your Arduino/libraries folder. Select ArduinoShrink from the Sketch, Include Library menu. This will replace several Arduino functions with smaller and faster versions. The Arduino pin number must be known at compile time if you are using this library.
7+

src/as_common.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// ArduinoShrink refactored code here
2+
#pragma once
3+
4+
// avr-libc math.h does not declare gcc log2 builtin
5+
double log2(double);

0 commit comments

Comments
 (0)