Rockbox

Tasklist

FS#9601 - first shot at buttons for fuze in rockbox (main binary)

Attached to Project: Rockbox
Opened by Thomas Martitz (kugel.) - Tuesday, 02 December 2008, 22:23 GMT
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 24 December 2008, 05:16 GMT
Task Type Patches
Category Battery/Charging
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This is my attempt at using isr to read the buttons in the main binary. This is my first work with IRQ at all, so I might just fail.

It doesn't work for GPIOC, and I have no idea why at all. It currently hangs on boot when I enable GPIOC_IE. It works for Power Button on GPIOB, but that doesn't necessarily mean anything, since that one is relatively easy to use without isr too.

I need some help on this one.

Note: e200v2 hackers, don't hesitate to join the fin, this does also apply for you. The work I did is to be done in the same way for you dap as well.

Please help!
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Wednesday, 24 December 2008, 05:16 GMT
Reason for closing:  Fixed
Comment by Thomas Martitz (kugel.) - Tuesday, 02 December 2008, 22:25 GMT
I forgot to say: The changes to the lcd driver reverse the log of sharing DBOP/AFSEL/GPIOB/C. The buttons are read more frequently, so the LCD should change the AFSEL, not the buttons. Not to mention that I couldn't get it to work at all when I needed to switch AFSEL also.

Currently that leads to some glitches, nothing that should break buttons though.
Comment by Robert Menes (RMenes379) - Wednesday, 03 December 2008, 01:13 GMT
This was mistakenly listed as a bug. It's now listed as a patch.
Comment by Matt M (Chesteta) - Monday, 15 December 2008, 05:56 GMT
Hi; I have an e200v2 (e280v2) i cannot do much as far as programing, however I will test anything you need tested!
Comment by Thomas Martitz (kugel.) - Monday, 15 December 2008, 06:21 GMT
Please have a look at  FS#9639  and  FS#9645 
Comment by Matt M (Chesteta) - Monday, 15 December 2008, 08:19 GMT
I tried running the fuze patches you made [Thomas Martitz] but changed where they would patch to the e200v2 directory... had some errors and no luck. the original e200v2 patch works like a charm though :) no scroll wheel tho...
Comment by Thomas Martitz (kugel.) - Wednesday, 24 December 2008, 05:13 GMT
I think this can be closed, all further work should happen in http://www.rockbox.org/tracker/task/9645

Loading...