Bill Westfield
Bill Westfield
Provide macros compatible with the avr-libc ATOMIC_BLOCK code. Tested (only) by code inspection of the binary.
_sbrk() in syscalls_sam3.c, does not contain any checks to see if the code is trying to acquired non-existent memory. This can lead malloc() and thus new to return pointers to...
The Baud Rate Generator Divisor calculations in UARTClass::init() do not round, leading to error rates higher than they could be. In particular, the error at 230400bps is both large and...
Since delay(n) waits for n ticks of the millisecond counter, any time already elapsed in the "current" millisecond isn't taken into account. This was fixed a long time ago for...
The Baud Rate Generator Divisor calculations in UARTClass::init() do not round, leading to error rates higher than they could be. In particular, the error at 230400bps is both large and...
Currently on rp2040, a PIO state machine is allocated for each strip. This limits the number of strips that can be supported to 8, and consumes PIO SMs that may...
This is cosmetic... The code that sets the GCLK for the timer has a comment that is incorrect (copied from analogWrite() code?) It says "use clock generator 0" when it's...
It would be possible and perhaps interesting to support "Smart LEDs" like NeoPixels (WS2812) or "dot stars" This would presumably involve replacing the analogWrite()s with calls to the neopixel/dotstar library...
All MBED SerialN UART drivers are unbuffered in the transmit path, which means that they block pretty much all the time. This is undesirable. Related: https://forum.arduino.cc/t/uart-serial-write-appears-to-be-blocking-arduino-mbed-rasberry-pi-pico/1290268 https://forum.arduino.cc/t/serialx-x-1-4-are-unbuffered-surprised/1178363 https://github.com/arduino/ArduinoCore-mbed/issues/272
The various strings used in vmon are what C would call "read only data", which the linker would eventually merge into the .text segment. There might be some "locality of...