moved f4ll_cpp imto its own namespace
moved strutil to the application
This commit is contained in:
parent
0e09fd9a7a
commit
8c62136773
21 changed files with 70 additions and 27 deletions
|
@ -7,6 +7,8 @@
|
|||
|
||||
#include <f4ll_cpp/uartbase.h>
|
||||
|
||||
namespace f4ll_cpp {
|
||||
|
||||
UartBase::UartBase(USART_TypeDef *uart, DMA_TypeDef *dma, uint32_t stream_rx, uint32_t stream_tx)
|
||||
: m_uart(uart)
|
||||
, m_rxDma(dma, stream_rx)
|
||||
|
@ -44,3 +46,4 @@ void UartBase::SetupTransmit(void *buffer, uint16_t length)
|
|||
LL_DMA_EnableStream(m_txDma.GetDma(), m_txDma.GetStream());
|
||||
}
|
||||
|
||||
} // f4ll_cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue