Coder Social home page Coder Social logo

mincrmatt12 / msign Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 3.0 6.93 MB

internet-connected led sign control system

License: MIT License

Python 10.72% C++ 70.80% C 8.24% CMake 2.09% HTML 0.79% JavaScript 5.27% Shell 0.02% SCSS 0.13% Assembly 1.75% Dockerfile 0.07% GDB 0.11%
stm32f207 stm32 esp8266 react python cxx17 cxx arm-assembly pygccxml 3d

msign's Introduction

MSign

Code + designs for an LED sign display board powered by an STM32 and ESP8266. Make sure you clone the submodules.

Organization

  • board: schematics and PCB layout
  • stm: STM32 firmware (drives the display)
  • stmboot: STM32 bootloader
  • esp: ESP8266 firmware (grabs information from the internet)
  • espweb: ESP8266 web-based configuration page source
  • cfgserver: Server for shipping unattended config and software updates (without using the webui)
  • bmap: Tools for generating graphics resources
  • caplog: Tools for debugging
  • vendor: Various dependencies in source form (everything not listed below)
  • sim: Stubs/shims for running the esp and stm codebases under linux.

Dependencies

  • A recent arm-none-eabi-gcc installation (recommended at least version 9, tested with version 10)
  • A recent xtensa-lx106-elf-gcc installation (tested against 5.2)
  • Python 3 and the packages in requirements.txt
    • If you aren't building the espweb directory you do not require the cryptography package listed
  • OpenOCD (for flashing)
    • If you have PlatformIO installed we use its OpenOCD by default, so you may not need to install it system-wide.
  • CMake (version 3.13 or later is recommended)

and everything checked out in the vendor directory. The ESP8266 SDK also usually requests you have python (specifically system python, whatever runs from python) installed with it's requirements (vendor/ESP8266_RTOS_SDK/requirements.txt)

A Docker file with these is provided as Dockerfile.build.

For building the espweb you also need:

  • yarn
  • node

A Docker file with these is also provided as Dockerfile.webbuild

msign's People

Contributors

dependabot[bot] avatar mincrmatt12 avatar tylertian123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

msign's Issues

ESP config memory leak

Due to an oversight in the config parser generator, string members inside of objects are not freed when reloading the configuration. This causes memory leaks when new configurations are downloaded from the webui/cfgserver.

Current solution will be to replace all global unmanaged char * with a destructable config::string_t. This should also let the sim store default/non-default tracking flags without imposing memory penalties on the actual device to emulate the current behaviour of checking which region of memory the pointer is in.

Misuse of FreeRTOS task notifications as semaphores without give/take API

Right now there seems to be race conditions in places where we wait for a task to do something because I've somehow failed to notice that FreeRTOS has a separate semaphore API for task notifications (i.e. for waiting on notification state >= 0) that would solve a significant number of problems.

Fixes required in:

  • servicer (stm)
  • serial (esp)
    • to grabber
    • to dupm
  • matrix refresh (stm)

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.