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
Code in Core1 like this will ensure the cache in Core0 is written back into RAM.
void core1_interrupt_lock(){ spinlock_lock(&mMultiInterruptLock); } void core1_interrupt_unlock(){ spinlock_unlock(&mMultiInterruptLock); } int test(void *ctx){ // printk("start\n"); volatile uint8_t* ptr = lcd_get_color_p(); if (ptr) { for (int i = 0; i < 2400; i++) { *ptr; ptr += 64; } } core1_interrupt_unlock(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code in Core1 like this will ensure the cache in Core0 is written back into RAM.
The text was updated successfully, but these errors were encountered: