Skip to content

Commit

Permalink
Add STM32F3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cassy73 authored Jan 3, 2017
1 parent 2dabd4f commit e410b28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions UIPClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ typedef struct {
#endif
} uip_userdata_t;

#if defined(ARDUINO)
#if defined(ARDUINO) && !defined(STM32F3)
class UIPClient : public Client {
#endif
#if defined(__MBED__)
#if defined(__MBED__) || defined(STM32F3)
class UIPClient : public Print, public Client {
#endif
public:
Expand Down
4 changes: 2 additions & 2 deletions UIPServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
#endif
#include "UIPClient.h"

#if defined(ARDUINO)
#if defined(ARDUINO) && !defined(STM32F3)
class UIPServer : public Server {
#endif
#if defined(__MBED__)
#if defined(__MBED__) || defined(STM32F3)
class UIPServer : public Print, public Server {
#endif
public:
Expand Down
4 changes: 2 additions & 2 deletions UIPUdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ typedef struct {
bool send;
} uip_udp_userdata_t;

#if defined(ARDUINO)
#if defined(ARDUINO) && !defined(STM32F3)
class UIPUDP : public UDP {
#endif
#if defined(__MBED__)
#if defined(__MBED__) || defined(STM32F3)
class UIPUDP : public Print, public UDP {
#endif
private:
Expand Down

0 comments on commit e410b28

Please sign in to comment.