Writing new widgets for YBox2

Talk about YBoxen, widgets, Propeller hacking, etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
MajorGrubert
 
Posts: 8
Joined: Thu Feb 19, 2009 4:48 pm

Writing new widgets for YBox2

Post by MajorGrubert »

Hi,

I have just assembled my YBox2 kit and now I am studying Spin, in order to write my own widgets. I looked at the source files available at http://svn.deepdarc.com/code/ybox2/trunk/firmware/ and thought about creating my own repository of widgets. I got a bunch of ideas about it, along with some questions I would like to post here, in order to get some feedback.

1. The existing widgets seem to depend on some objects provided by Parallax along with the standard Propeller Tools, such as TV_Text.spin. Can I use the standard version of such objects or should I work only the versions at darco's repository?

2. The existing widgets also depend on other objects available at the repository. Some of the source files have an explicit notice placing them in public domain. Some of them, however, do not carry any explicit copyright notice. Since I believe most of this code was actually written by darco and ladyada, is there any recommended/suggested way to contribute changes to these files?

3. The instructions at http://ladyada.net/make/ybox2/programming.html show how to compile a widget using the Propeller Tool, saving the output as a binary file. Parallax website also offers a command line utility, Propellent, that compiles Spin code. Since I am a fan of makefiles, I would rather use a command line compiler. Are there any caveats regarding its use?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Writing new widgets for YBox2

Post by adafruit »

any code i wrote is free for use in the P.D., however some of the libraries may not explicitly licensed. im pretty sure darco also intended to put his stuff in the public domain. hopefully he'll chime in!
I suggest linking with the libraries in the repository. I dont think there were any changes but its been a while :)

User avatar
darco
 
Posts: 118
Joined: Wed Jun 04, 2008 7:54 pm

Re: Writing new widgets for YBox2

Post by darco »

Most of my code I have released into the public domain. There are a few exceptions (Harrison's code is GPL or LGPL).

Just let me know which modules you have questions about and I will clarify their licensing.

MajorGrubert
 
Posts: 8
Joined: Thu Feb 19, 2009 4:48 pm

Re: Writing new widgets for YBox2

Post by MajorGrubert »

Thanks for the clarifications. Please keep in mind that I do not want to be a pain in the neck, I am just trying to clarify the license requirements to use and contribute to the existing code. I do believe in free and open source software, which means I am also concerned about giving due credit to someone else's work.

This is a list of files from darco's repository that I am using to compile my widgets, although they have no explicit copyright and/or license statement:
  • api_telnet_serial.spin - no copyright statement, although a newer version is available in the PropTCP package at http://harrisonpham.com/embedded/PropTCP/beta, licensed under the GPL
  • pause.spin - no copyright statement
  • Fast_I2C_Driver.spin - no copyright statement
  • qring.spin - no copyright statement
  • subsys.spin - no copyright statement
  • http.spin - no copyright statement
  • auth_digest.spin - by Robert Quattlebaum, no explicit license

Locked
Please be positive and constructive with your questions and comments.

Return to “YBox2 (discontinued)”