Add the STM32F CPU support.

This commit is contained in:
Jonathan Naylor 2016-11-07 20:09:35 +00:00
parent 97fe8ad3fd
commit 4a5027b18b
15 changed files with 1830 additions and 7 deletions

View file

@ -21,7 +21,12 @@ Boston, MA 02110-1301, USA.
#if !defined(SERIALRB_H)
#define SERIALRB_H
#if defined(STM32F4XX) || defined(STM32F4)
#include "stm32f4xx.h"
#include <cstddef>
#else
#include <Arduino.h>
#endif
const uint16_t SERIAL_RINGBUFFER_SIZE = 370U;