Bill Westfield
Bill Westfield
I've noticed a couple people trying to use ATtiny10s recently. They have as much flash as an ATtiny13, so it's ... not impossible. There is at least on "core", but...
platform.txt contains: ``` # fixed registers: r4 = isr_tmp, r3:r2 = WDT counter for millis #compiler.optimize_flags=-Os -flto -fno-move-loop-invariants -fno-reorder-blocks -ffixed-r2 -ffixed-r3 -ffixed-r4 compiler.optimize_flags=-Os -flto -fno-reorder-blocks -ffixed-r2 -ffixed-r3 -ffixed-r4 ``` However,...
The timer0 interrupt code maintains t0_fract, but the micros() function only counts milliseconds plus timer count values, leaving out that fractional milliseconds that have elapsed, and thus producing incorrect results....
In various situations, ranging from restrictive or expensive venues, to remote areas with poor internet service, it is desirable to be able to install the Arduino IDE (multiple compilers, and...
It looks like digitalWriteFast (in Arduino.h) has some cut&paste errors, for example: ``` if (val == LOW) { *out &= ~mask; // 1/1 } else { // 1/1 *out &=...
The Uno R4 implementation of random() uses the Renesas RA4M true random number generator, which is part of their "security and crytography" support ("SCE"). Therefore, it needs to initialize the...
It turns out that the HW_SCE_McuSpecificInit() function is pretty slow (~97000us on an RA4m1 (Arduino Uno R4)), causing code that naively calls it every time one wants a random number...
Analysis of the MuxTO binary shows quite a bit of flash space being used on gcc library functions that are not optimized for either small ARM chips, or the Arduino...
Space in MuxTO is very tight; depending on compiler version, it can't be built to fit into the available 12k of flash. This piece of code is (should be) a...
A simple program (say, Blink) that includes more than 64k of pgmspace data (for MEGA, MEGA2560, MEGA ADK, various 1284 boards) will fail to work correctly. One of the reasons...