Yona-Appletree / LEDscape

Beagle Bone Black cape and firmware for driving a large number of WS281x LED strips.
126 stars 58 forks source link

re-enable compiling libledscape.a #9

Closed dbu closed 9 years ago

dbu commented 10 years ago

while LEDSCAPE_LIB is declared in the Makefile, it is currently not created by the build process.

doing this, i can build other things from outside the LEDscape directory, manually specifying the -I../LEDscape for compiling and -L../LEDscape -lledscape -L../LEDscape/am335x/app_loader/lib -lprussdrv for the library. much better than having to mix my files inside the LEDscape directory. ideally the libraries could be installed system wide, but that is definitely over my know how of compiling system level stuff.

i still need to symlink / copy my program into LEDscape because the ledscape.c loads .bin files from pwd. again, i don't know how to fix that without getting very complicated.

btw, the reasoning why i want this is to build a little program that i can run on system boot to switch the leds on as soon as possible. at the end of boot, i start opc-server (without demo mode) and wait for services to connect to me.

dbu commented 9 years ago

i just rebased this PR. any feedback on it?

Yona-Appletree commented 9 years ago

Another option for doing something like this is a feature I've been thinking about but haven't yet added which is a "pre-recorded demo-mode" where demo-mode displays an animation you either generate manually or record from LEDscape itself. Let me know if that would be useful to you.

Serisium commented 9 years ago

Regarding the demo mode, I'd like for the idle, no-demo mode to clear the LED's before going idle. As it is now, the LEDs hold onto the last frame of output rather than going blank.

Yona-Appletree commented 9 years ago

Would a "black" demo-mode that just holds the LEDs black until it is disabled work?

Serisium commented 9 years ago

That would work in my case.

Yona-Appletree commented 9 years ago

I've created https://github.com/Yona-Appletree/LEDscape/issues/16 to track this. Thanks.

Garrett Greenwood mailto:notifications@github.com November 10, 2014 at 14:04

That would work for my case.

— Reply to this email directly or view it on GitHub https://github.com/Yona-Appletree/LEDscape/pull/9#issuecomment-62464108.

David Buchmann mailto:notifications@github.com June 22, 2014 at 08:25

while LEDSCAPE_LIB is declared in the Makefile, it is currently not created by the build process.

doing this, i can build other things from outside the LEDscape directory, manually specifying the -I../LEDscape for compiling and -L../LEDscape -lledscape -L../LEDscape/am335x/app_loader/lib -lprussdrv for the library. much better than having to mix my files inside the LEDscape directory. ideally the libraries could be installed system wide, but that is definitely over my know how of compiling system level stuff.

i still need to symlink / copy my program into LEDscape because the ledscape.c loads .bin files from pwd. again, i don't know how to fix that without getting very complicated.

btw, the reasoning why i want this is to build a little program that i can run on system boot to switch the leds on as soon as possible. at the end of boot, i start opc-server (without demo mode) and wait for services to connect to me.


    You can merge this Pull Request by running

git pull https://github.com/dbu/LEDscape compile-lib

Or view, comment on, or merge it at:

https://github.com/Yona-Appletree/LEDscape/pull/9

    Commit Summary

— Reply to this email directly or view it on GitHub https://github.com/Yona-Appletree/LEDscape/pull/9.

Yona Appletree Senior Developer Concentric Sky, inc yona@concentricsky.com