Disabled unused interrupt vectors
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
#include "flash/flash.hpp"
|
||||
#include "io/io.hpp"
|
||||
|
||||
#define UART0_NO_INT_VECTORS
|
||||
#include "uart/uart.hpp"
|
||||
|
||||
void newUartUsage()
|
||||
@@ -42,7 +44,7 @@ void newUartUsage2()
|
||||
{
|
||||
using namespace uart;
|
||||
|
||||
Uart<Hardware1<Config<115200>, Driven::BLOCKING>> serial1;
|
||||
Uart<Hardware1<Config<115200>, Driven::INTERRUPT>> serial1;
|
||||
|
||||
auto ramString = "Hello World from RAM. ";
|
||||
auto flashString = F("Hello World from flash\r\n");
|
||||
@@ -240,16 +242,15 @@ void optimalUartTest()
|
||||
int main()
|
||||
{
|
||||
sei();
|
||||
optimalUartTest();
|
||||
|
||||
newUartUsage2();
|
||||
// optimalUartTest();
|
||||
// newUartStreamOverloads();
|
||||
optimalUartTest();
|
||||
newUartStreamOverloads();
|
||||
|
||||
// txString(F("\r\n"));
|
||||
// flushTx();
|
||||
txString(F("\r\n"));
|
||||
flushTx();
|
||||
|
||||
// spiTest();
|
||||
spiTest();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Submodule uart/uart updated: 16c9015f43...1bdc06a325
@@ -221,15 +221,9 @@
|
||||
<Compile Include="uart\hardware.hpp">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="uart\hardware0.cpp">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="uart\hardware0.hpp">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="uart\hardware1.cpp">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="uart\hardware1.hpp">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
|
||||
Reference in New Issue
Block a user