Switched to only Uart1 for testing

This commit is contained in:
BlackMark 2019-08-02 09:22:27 +02:00
parent 4a25398c1e
commit e891e1019f
3 changed files with 18 additions and 6 deletions

View File

@ -13,10 +13,8 @@
void newUartUsage() void newUartUsage()
{ {
using namespace uart; using namespace uart;
Uart0<> serial;
Uart1<> serial1; Uart1<> serial1;
serial << "Hello World from RAM. " << F("Hello World from flash\r\n");
serial1 << "Hello World from RAM. " << F("Hello World from flash\r\n"); serial1 << "Hello World from RAM. " << F("Hello World from flash\r\n");
_delay_ms(1000); _delay_ms(1000);

@ -1 +1 @@
Subproject commit f0a3cd6da8d6e7152064be2f1145cabba56c6e32 Subproject commit 92c96bbc72e8784f10d38e85073c5bd010ab877e

View File

@ -28,13 +28,13 @@
<ResetRule>0</ResetRule> <ResetRule>0</ResetRule>
<eraseonlaunchrule>0</eraseonlaunchrule> <eraseonlaunchrule>0</eraseonlaunchrule>
<EraseKey /> <EraseKey />
<avrtool>com.atmel.avrdbg.tool.jtagicemkii</avrtool> <avrtool>com.atmel.avrdbg.tool.atmelice</avrtool>
<avrtoolserialnumber>070000004699</avrtoolserialnumber> <avrtoolserialnumber>J41800099437</avrtoolserialnumber>
<avrdeviceexpectedsignature>0x1E9705</avrdeviceexpectedsignature> <avrdeviceexpectedsignature>0x1E9705</avrdeviceexpectedsignature>
<com_atmel_avrdbg_tool_jtagicemkii> <com_atmel_avrdbg_tool_jtagicemkii>
<ToolOptions> <ToolOptions>
<InterfaceProperties> <InterfaceProperties>
<IspClock>125000</IspClock> <IspClock>0</IspClock>
</InterfaceProperties> </InterfaceProperties>
<InterfaceName>ISP</InterfaceName> <InterfaceName>ISP</InterfaceName>
</ToolOptions> </ToolOptions>
@ -71,6 +71,17 @@
</dependencies> </dependencies>
</framework-data> </framework-data>
</AsfFrameworkConfig> </AsfFrameworkConfig>
<com_atmel_avrdbg_tool_atmelice>
<ToolOptions>
<InterfaceProperties>
<IspClock>125000</IspClock>
</InterfaceProperties>
<InterfaceName>ISP</InterfaceName>
</ToolOptions>
<ToolType>com.atmel.avrdbg.tool.atmelice</ToolType>
<ToolNumber>J41800099437</ToolNumber>
<ToolName>Atmel-ICE</ToolName>
</com_atmel_avrdbg_tool_atmelice>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<ToolchainSettings> <ToolchainSettings>
@ -205,6 +216,9 @@
<None Include="uart\usart.cpp"> <None Include="uart\usart.cpp">
<SubType>compile</SubType> <SubType>compile</SubType>
</None> </None>
<Compile Include="uart\hardware.hpp">
<SubType>compile</SubType>
</Compile>
<Compile Include="uart\hardware0.hpp"> <Compile Include="uart\hardware0.hpp">
<SubType>compile</SubType> <SubType>compile</SubType>
</Compile> </Compile>