Giter VIP home page Giter VIP logo

stm32_nucleo_h723zg_freertos_tcp's Introduction

Minimal FreeRTOS+TCP demo project for STM32H7xx

The FreeRTOS-Kernel and FreeRTOS+TCP stack is submoduled into the Libraries folder.

Cloning and building the project

  • Clone the project:
    • git clone https://github.com/tony-josi-aws/STM32_Nucleo_H723ZG_FreeRTOS_TCP.git --recurse-submodules
  • Use .project file to open the project in STM32Cube IDE
  • Use STM32Cube IDE UI to build/download/debug.

Getting Started

The NUCLEO board can be setup by connecting the board to the PC via USB PWR port of the board with a USB cable and a LAN cable connecting the RJ45 connector of the board to any network.

The USE_IPv6_END_POINTS macro defined in the Libraries\FreeRTOS-Plus-CLI\app_main.c can be used to enable/disable the IPv6 endpoints. One IPv4 endpoint will always be enabled.

This demo project has two sub demos which can be enabled by setting the following configuration in the Libraries\FreeRTOS-Plus-CLI\app_main.c:

  • mainCREATE_TCP_ECHO_TASKS_SINGLE - Create a TCP client tasks that connects to an echo server running on address configTCP_ECHO_SERVER_ADDR and port echoTCP_ECHO_SERVER_PORT, and attempts to send and receive the echoed back data. configTCP_ECHO_SERVER_ADDR can be either IPv4 or IPv6 address.
  • mainCREATE_UDP_ECHO_TASKS_SINGLE - Create a UDP client tasks that connects to an echo server running on address configECHO_SERVER_ADDR_STRING and port configUDP_ECHO_SERVER_PORT, and attempts to send and receive the echoed back data. configECHO_SERVER_ADDR_STRING can be either IPv4 or IPv6 address.

The demo prints out log messages through the USART3 interface, by default the USART3 communication between the target STM32 and the ST-LINK is enabled in the NUCLEO boards, and it should show up as Virtual COM port in the Ports section of the Device Manager in Windows PCs. The baud rate is set to 115200 bps.

stm32_nucleo_h723zg_freertos_tcp's People

Contributors

tony-josi-aws avatar

Stargazers

 avatar

Watchers

 avatar

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.