Rockbox Development > New Ports

Cowon D2

<< < (57/194) > >>

Chronon:
I think you can use make rocks to only compile the plugins.

See here: http://www.rockbox.org/mail/archive/rockbox-dev-archive-2007-03/0039.shtml

I'm not sure how to only include just one plugin.  I guess you could just temporarily edit the SOURCES file?

cybergrind:
shotofadds -> where we defines interrupt handlers? in system-tcc780x.c?

shotofadds:
Interrupt handlers can be defined in any location, but ideally it should be inside a driver for the related functionality (eg. the ADC interrupt handler is implemented inside the ADC driver code).

Implement a function of type "void NAME(void)", whose name is one of those listed at the top of system-tcc780x.c (EXT0-3, ADC, etc). Assuming you have set the appropriate hardware enable bits (IEN, etc) it should be called automatically. See adc-tcc780x.c for an example.

On the D2 I think the EXT3 interrupt is used to signal events from the PCF50606, but this chip handles both power management and the touchscreen. Since the chip's primary purpose is power management, I think it's interrupt handler should be defined in power-cowond2.c.

I intend to do some work in this area at the weekend, hopefully we won't end up duplicating effort...

cybergrind:
I read datasheet (something understand =) and test some functions. I could try to implement LCD and Battery driver (both or one of them - choose from you) at this weekend.
I think that NAND driver is more important now.

gnu:

--- Quote from: Yeeze on April 09, 2008, 06:35:24 PM ---Is there a way to only compile the plugin I'm currently working on? Espacially for the Simulator!

Because right now I'm running make and afterwards make install, and that takes quite long just to debug...

--- End quote ---

I don't know how you can only complile one plugin, but you can skip the 'make install' when you write something like this:

--- Code: ---cp apps/plugin/myplugin.rock archos/.rockbox/rocks/demos/myplugin.rock
--- End code ---
With this code you only copy your plugin and not all the 'unchanged' pars of rockbox.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version