Changed library so that user has to explicitly include hardware header with int vector define set to get ISR
This commit is contained in:
7
uart.hpp
7
uart.hpp
@@ -3,11 +3,14 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "config.hpp"
|
||||
#include "hardware0.hpp"
|
||||
#include "hardware1.hpp"
|
||||
#include "software.hpp"
|
||||
#include "utils.hpp"
|
||||
|
||||
#undef UART0_INT_VECTORS
|
||||
#include "hardware0.hpp"
|
||||
#undef UART1_INT_VECTORS
|
||||
#include "hardware1.hpp"
|
||||
|
||||
#include "../flash/flash.hpp"
|
||||
|
||||
#define FORCE_INLINE __attribute__((always_inline))
|
||||
|
||||
Reference in New Issue
Block a user