I'm still busying myself with upgrading the AGROS configuration utility to handle the LPC2300 series, starting with the 2387.
Getting the pin-configuration management right has been troublesome, as some of the pins have sparse option lists, and the pin modes are sparse... and GTK's combo boxes aren't set up to handle option lists that need to get mapped to and from non-contiguous numeric values. So, I had to extend my Ruby class that wraps the Gtk::ComboBox class, to keep track of what options are present, and allow setting the active option by text value, not just by numeric index.
...And somewhere along the line I'll have to make sure I'm not using the combo box's numeric index where I need the numeric value of the option.
It's getting close; another few hours on the configuration program, and I'll be ready to start working on the actual code for the target machine... which shouldn't take too long; most of it's there already, just waiting to have the proper values plugged in.
Comments