basic usart skeleton
This commit is contained in:
+3
-1
@@ -7,12 +7,13 @@
|
||||
#include "USB/usb_device.h"
|
||||
#include "framework/resources.h"
|
||||
#include "framework/unit_registry.h"
|
||||
|
||||
#include "units/digital_out/unit_dout.h"
|
||||
|
||||
#include "units/digital_in/unit_din.h"
|
||||
#include "units/neopixel/unit_neopixel.h"
|
||||
#include "units/i2c/unit_i2c.h"
|
||||
#include "units/test/unit_test.h"
|
||||
#include "units/usart/unit_uart.h"
|
||||
#include "units/spi/unit_spi.h"
|
||||
|
||||
void plat_init_resources(void)
|
||||
@@ -79,6 +80,7 @@ void plat_init_resources(void)
|
||||
ureg_add_type(&UNIT_NEOPIXEL);
|
||||
ureg_add_type(&UNIT_I2C);
|
||||
ureg_add_type(&UNIT_SPI);
|
||||
ureg_add_type(&UNIT_USART);
|
||||
|
||||
// Free all present resources
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user