Coder Social home page Coder Social logo

ethernet_stm32's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ethernet_stm32's Issues

compilation error

when trying to compile I get the following error:

/home/jose/.platformio/lib/Ethernet_STM32-master/src/EthernetUdp.h:42:10: fatal error: wirish.h:
No such file or directory

that header is from the maple library of stm32f1, but I'm with a stm32f4 ....

what is the problem?

Need help, can you explain?

Dear, im using Stm32Duino cores and would like to try your Ethernet_STM32 library. I have simple sketch:

#include <C:\Users\nbostjan\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\SPI\src\SPI.h>
#include "C:\Users\nbostjan\Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\libraries\Ethernet_STM32\src\Ethernet_STM32.h"
const int chipSelect = PA4;
byte *id5 = (byte *) (0x1FFFF7EC);
byte *id4 = (byte *) (0x1FFFF7EC+0x01);
byte *id3 = (byte *) (0x1FFFF7EC+0x02);
byte *id2 = (byte *) (0x1FFFF7EC+0x03);
byte *id1 = (byte *) (0x1FFFF7EC+0x04);
byte mac[] = { 0xEA, *id1, *id2, *id3, *id4, *id5 };
unsigned int localPort = 8000;
EthernetServer server(localPort);
SPIClass mSpi(1); //USING SPI2 PB12-PB15
void setup()
{
delay(3000);
Ethernet.init(mSpi, PB12);
Ethernet.begin(mac);
server.begin();
}

But it gives me a bunch of errors:
Compiling 'ethernet' for 'Generic STM32F103C series'

ethernet.cpp.o*: In function _GLOBAL__sub_I_id5
ethernet.ino: 21: warning: undefined reference to `EthernetServer::EthernetServer(unsigned short)

ethernet.cpp.o*: In function SOCKETClass::init(SPIClass&, unsigned char)
socket.h: 18: warning: undefined reference to `W5500Class::init(SPIClass&, unsigned char)

ethernet.cpp.o*: In function setup()
ethernet.ino: 29: warning: undefined reference to EthernetClass::begin(unsigned char*, unsigned long, unsigned long) ethernet.ino: 31: warning: undefined reference to SOCKETClass::w5500
ethernet.ino: 31: warning: undefined reference to Ethernet ethernet.ino: 31: warning: undefined reference to EthernetServer::begin()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.