Disabled unused interrupt vectors
This commit is contained in:
parent
cc5b375b44
commit
dd3e69daa3
@ -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;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 16c9015f43f5218ce8676098e6de3e16b1a97f9c
|
||||
Subproject commit 1bdc06a325a4559ce0fcf101622a009cf03371fb
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user