GithubHelp home page GithubHelp logo

nomeata / bspokelight Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 16.0 169 KB

Custom firmware for the YQ8003 bicycle spoke light

License: MIT License

Haskell 29.04% Makefile 1.14% C 18.15% Dockerfile 1.48% Nix 50.19%

bspokelight's People

Contributors

akvadrako avatar donnik avatar nomeata avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bspokelight's Issues

How to save the spoke light after burn wrong file as firmware?

I accidently burn a raw image file (.png) to spoke light, now the LED is off, and I can't burn another file, it seems the spoke light is bricked.

Is there anyway like "restore to factory setting" to save the spoke light? or, I must disassemble the spoke light, find something like serial port and do something via that serial port to save the spoke light?

Docker build issue

I would like to compile this app because I want linux native for my wheel lights. I get this error on docker build.
Removing intermediate container c812b4a4384c ---> f2f45cca4e1a Step 4/9 : COPY cabal.config *.cabal /home/ COPY failed: stat /var/lib/docker/tmp/docker-builder739520375/cabal.config: no such file or directory

How to save the spoke light after burn wrong file as firmware?

I accidently burn a raw image file (.png) to spoke light, now the LED is off, and I can't burn another file, it seems the spoke light is bricked.

Is there anyway like "restore to factory setting" to save the spoke light? or, I must disassemble the spoke light, find something like serial port and do something via that serial port to save the spoke light?

Struggling to install

Hi, awesome tool! Looking forward to using it as the default software for this wheel light is a real bugger. I am having a tough time installing according to your instructions. I have installed all the required packages, then cloned your repo. When I try to make the firmware, I get the following error that I am unable to diagnose. It seems that failing on this step causes the others to fail as well.. Any advice for what to do next would be much appreciated:


Josephs-MBP:bSpokeLight frostafarian$ ls
ChangeLog.md		LICENSE			Setup.hs		bSpokeLight.hs		firmware
Dockerfile		README.md		bSpokeLight.cabal	cabal.config		imgs

Josephs-MBP:bSpokeLight frostafarian$ make -C firmware
sdcc --std-sdcc99 -mmcs51 firmware.c
objcopy -Iihex --output-target binary firmware.ihx firmware.bin
make: objcopy: No such file or directory
make: *** [firmware.bin] Error 1

Josephs-MBP:bSpokeLight frostafarian$ cd firmware/
Josephs-MBP:firmware frostafarian$ ls

Makefile	firmware.asm	firmware.c	firmware.ihx	firmware.lk	firmware.lst	firmware.map	firmware.mem	firmware.rel	firmware.rst	firmware.sym

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.