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
CDeviceNameService
toCKernel
beforeCSerialDevice
, because the serial device wants to create a device namettyS1
in the service. An instance ofCInterruptSystem
is not necessary any more inCKernel
since Circle 46, because it is already created in sysinit, but it does also not disturb (for backwards compatibility).