Skip to content

Commit

Permalink
Adding support for STM32F4 and STM32F7 (first part…)
Browse files Browse the repository at this point in the history
  • Loading branch information
juribeparada committed Oct 10, 2017
1 parent 8bcf38a commit 58d7326
Show file tree
Hide file tree
Showing 8 changed files with 587 additions and 115 deletions.
4 changes: 4 additions & 0 deletions BitRB.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Boston, MA 02110-1301, USA.

#if defined(STM32F10X_MD)
#include "stm32f10x.h"
#elif defined(STM32F4XX)
#include "stm32f4xx.h"
#elif defined(STM32F7XX)
#include "stm32f7xx.h"
#else
#include <Arduino.h>
#endif
Expand Down
6 changes: 6 additions & 0 deletions Globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
#if defined(STM32F10X_MD)
#include <stm32f10x.h>
#include "string.h"
#elif defined(STM32F4XX)
#include "stm32f4xx.h"
#include "string.h"
#elif defined(STM32F7XX)
#include "stm32f7xx.h"
#include "string.h"
#else
#include <Arduino.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion MMDVM_HS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "Config.h"

#if defined(STM32F10X_MD)
#if defined(STM32F10X_MD) || defined(STM32F4XX) || defined(STM32F7XX)

#include "Globals.h"

Expand Down
Loading

0 comments on commit 58d7326

Please sign in to comment.