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
I try to let TVout use SpiRAM, but I met an issue here:
: [port] "i" (_SFR_IO_ADDR(PORT_VID)), "x" (display.screen), "y" (renderLine), [hres] "d" (display.hres) : "r16" // try to remove this clobber later..
display.screen is a class type, just like:
display.screen
class SpiRAM { private: uint8_t cs_pin; uint32_t address; public: void begin(uint8_t); void write(uint32_t, uint8_t); int read(uint32_t); };
I can use this RAM well, but cannot accept this asm, compiler said impossible register constraint in 'asm'
impossible register constraint in 'asm'
We cannot access memory directly.
So what mean are these asm? Can I solve it?
The text was updated successfully, but these errors were encountered:
Really need help.
Sorry, something went wrong.
No branches or pull requests
I try to let TVout use SpiRAM, but I met an issue here:
display.screen
is a class type, just like:I can use this RAM well, but cannot accept this asm, compiler said
impossible register constraint in 'asm'
We cannot access memory directly.
So what mean are these asm? Can I solve it?
The text was updated successfully, but these errors were encountered: