Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Battery/Charging
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Thomas Martitz - 2008-12-02
Last edited by Jonathan Gordon - 2008-12-24

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

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!

Closed by  Jonathan Gordon
2008-12-24 05:16
Reason for closing:  Fixed
Thomas Martitz commented on 2008-12-02 22:25

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.

Robert Menes commented on 2008-12-03 01:13

This was mistakenly listed as a bug. It’s now listed as a patch.

Matt M commented on 2008-12-15 05:56

Hi; I have an e200v2 (e280v2) i cannot do much as far as programing, however I will test anything you need tested!

Thomas Martitz commented on 2008-12-15 06:21

Please have a look at  FS#9639  and  FS#9645 

Matt M commented on 2008-12-15 08:19

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…

Thomas Martitz commented on 2008-12-24 05:13

I think this can be closed, all further work should happen in http://www.rockbox.org/tracker/task/9645

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing