C2DGraphics and serial ports #503
-
|
I feel as if I'm missing something blindingly obvious: when I try to make a little program to show a square on the screen and output some text on the flashy serial monitor, no matter what I try, it just sits at a black screen. If I remove the serial and interrupt devices from the code, then it draws to the screen no problem. So I guess my question is, if I want to use C2DGraphics, am I just out of luck for IRQs and debug serial output, or am I missing something when I study the source of the sample programs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
You have to add a member of |
Beta Was this translation helpful? Give feedback.
You have to add a member of
CDeviceNameServicetoCKernelbeforeCSerialDevice, because the serial device wants to create a device namettyS1in the service. An instance ofCInterruptSystemis not necessary any more inCKernelsince Circle 46, because it is already created in sysinit, but it does also not disturb (for backwards compatibility).