We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samd21/cache.c doesn't do anything, but it could actually fix the NVM cache settings to achieve consistent timing. Code from https://github.com/adafruit/circuitpython/blob/master/ports/atmel-samd/common-hal/neopixel_write/__init__.c:
samd21/cache.c
Disable cache:
// Make sure the NVM cache is consistently timed. NVMCTRL->CTRLB.bit.READMODE = NVMCTRL_CTRLB_READMODE_DETERMINISTIC_Val;
Enable:
// Speed up! (But inconsistent timing.) NVMCTRL->CTRLB.bit.READMODE = NVMCTRL_CTRLB_READMODE_NO_MISS_PENALTY_Val;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
samd21/cache.c
doesn't do anything, but it could actually fix the NVM cache settings to achieve consistent timing. Code from https://github.com/adafruit/circuitpython/blob/master/ports/atmel-samd/common-hal/neopixel_write/__init__.c:Disable cache:
Enable:
The text was updated successfully, but these errors were encountered: