... | ... | @@ -9,7 +9,12 @@ the 3 Usarts that Miosix lets you use are configured. |
|
|
| 2 | PA2 | PA3 | PA0 | PA1 |
|
|
|
| 3 | PB10 | PB11 | PB13 | PB14 |
|
|
|
|
|
|
The default serials for the boards are set to:
|
|
|
|
|
|
| BOARD | DEFAULT <br/>USART | AUXTTY |
|
|
|
| ------- | --------------- | -------- |
|
|
|
|STM32F429zi| 3 | / |
|
|
|
|STM32F407vg| 1 | 2 |
|
|
|
|
|
|
### Usage
|
|
|
|
... | ... | @@ -41,13 +46,6 @@ const bool defaultSerialFlowctrl=false; //use rts/cts |
|
|
#define SERIAL_1_DMA //use the DMA
|
|
|
```
|
|
|
|
|
|
The defoult serials for the boards are set to:
|
|
|
|
|
|
| BOARD | DEFAULT USART | AUXTTY |
|
|
|
|-------|---------------|--------|
|
|
|
|STM32F429zi| 3 | / |
|
|
|
|STM32F407vg| 1 | 2 |
|
|
|
|
|
|
The default serial port is opened in the *IRQBspInit()* method
|
|
|
inside `miosix/arch/<your arch>/<your board>/interfaces-impl/bsp.cpp`
|
|
|
|
... | ... | |