/** * \file * * * \brief General pourpose debug support for embedded systems (implementation). * * \author Bernie Innocenti * \author Stefano Fedrigo */ #error Revise me! /* Debugging go through the JTAG interface. The MSL library already implements the console I/O correctly. */ #include #define KDBG_WAIT_READY() do { } while (0) #define KDBG_WRITE_CHAR(c) __put_char(c, stdout) #define KDBG_MASK_IRQ(old) do { (void)(old); } while (0) #define KDBG_RESTORE_IRQ(old) do { (void)(old); } while (0) typedef uint8_t kdbg_irqsave_t; /* unused */ #if CONFIG_KDEBUG_PORT == 666 #error BITBANG debug console missing for this platform #define kdbg_hw_init() do {} while (0) ///< Not needed