Can Any help me with my F7

More
22 Apr 2015 04:02 #31487 by djtrance
Replied by djtrance on topic Can Any help me with my F7
My native language is spanish, but google translator can help me.
I will try to update the code to the last code that there are in bitbucket.org/deviationtx/deviation/downloads

about the OSD chip I'm not sure if this is the case, but a lot of osd chip has into the memory some type of icon that can be replace.

Please Log in or Create an account to join the conversation.

More
23 Apr 2015 04:55 #31506 by djtrance
Replied by djtrance on topic Can Any help me with my F7
PB,
I'm working on the devo for f7 in this url:
bitbucket.org/djtrance/devof7
how you can see, I has copy the directories and files, tomorrow I will start to merge the old code from 4.0.0 to 4.0.1

Please Log in or Create an account to join the conversation.

More
23 Apr 2015 13:07 #31524 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
you need to make the repository public so others can see it. it will remain read-only to everyone but you.
In bitbucket, select 'Settings' on the left, then 'Repository details' and unselect 'This is a private repository'

Please Log in or Create an account to join the conversation.

More
23 Apr 2015 15:37 #31533 by djtrance
Replied by djtrance on topic Can Any help me with my F7
PB, can you see if is working now?

Please Log in or Create an account to join the conversation.

More
23 Apr 2015 16:05 #31535 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
yep, it looks good. you will want to remove the filesystem/devof7/models directory (you can add it to .hgignore to prevent mercurial from noticing). I haven't tried to build it myself, but I can see everything there.

Please Log in or Create an account to join the conversation.

More
23 Apr 2015 16:34 #31538 by djtrance
Replied by djtrance on topic Can Any help me with my F7
I has uploaded the files, because If i need your help , you can see what there are into the files, if you try to build the emu for F7, is not working yet, there are some issue that I must to fix.

Please Log in or Create an account to join the conversation.

More
26 Apr 2015 00:49 - 26 Apr 2015 00:54 #31626 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
I have merged MicroUAV's code with the latest code. It compile tests ok, but I haven't verified that the emulator or dfu work. The repo can be found here:
bitbucket.org/deviationtx/deviation/branch/devof7

I'll probably work to get the emulator working, since I want to use this as the basis for the F12E version
Last edit: 26 Apr 2015 00:54 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

More
26 Apr 2015 18:12 #31656 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
Emulator is restored. Functionality is about equivalent to where MicroUAV left off. emu will now use proper 12x18 ia9211 font, and has proper screen resolution. I'll start working on getting the select and widgets working I guess.

Please Log in or Create an account to join the conversation.

More
26 Apr 2015 20:59 #31674 by djtrance
Replied by djtrance on topic Can Any help me with my F7
I will download your code. Do you have any news of the F12E, has this OSD more capabilities? maybe this chip has more graphics function, and the code would have a drawing code for the pictures. If this is the case, the menus will be different on F12, more close to the devo10 if not, the both radio can have the same menus, maybe we can do a special layout for this radios and this layout can be use it in all of the radio that has video RX. I' not sure if F4 can be a candidate but I think that has the same OSD like F7.

Please Log in or Create an account to join the conversation.

More
26 Apr 2015 21:09 #31676 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
the 12E has a more capable OSD drver, and it is possible to upload fonts to it. However, it is character based (like the F7) rather than pixel based. I expect that the 'text' interface will be the best one for the F12E. The F12E has the same tiny 64kB Flash chip, but has the same 256k Flash as in the Devo8/10.
So the F12E will be a better overall platform fro Deviation than the F7, but hopefully a lot of the work can be shared.

Please Log in or Create an account to join the conversation.

More
27 Apr 2015 15:36 #31700 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
Trying to figure out how to map the various controls for the F7 display.
Here is what I've got:
Button/Selectable list item:

Text-select widget (no button):

Text-select widget (with button):


There is a 'blink' attribute that we can use for alarms I think. The F7 display does not support changing text color or background color (except globally) so we're pretty limited in what we can do
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Apr 2015 17:00 #31709 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
FYI, this is the full set of characters available in the DevoF7:
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Apr 2015 17:00 #31710 by djtrance
Replied by djtrance on topic Can Any help me with my F7
PB,
I'm working now with your code, but its returning a errors when I'm trying to do a dfu file.
$ make TARGET=devof7 WINDOWS=1
+ Compiling 'target/devof7/backlight.c'
arm-none-eabi-gcc.exe: error: nano.specs: No such file or directory
make: *** [objs/devof7/backlight.o] Error 1

but is working well with emulator. I resolved this problem before with the microuav code, i don't know if your repo has this error.
today I'm working on the code, I will try to work on the main screen I guess.

Please Log in or Create an account to join the conversation.

More
27 Apr 2015 17:09 #31711 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
i think that happens if your gcc enviornment is too old if I recall correctly

Please Log in or Create an account to join the conversation.

More
28 Apr 2015 03:19 #31722 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
I've cleaned up the gui code changes so that the text pages should no longer affect the devo8 r devo10 graphics. The Model Page and Transmitter Config pages are basically functional, though there is no listbox or keyboard yet, and the dialog still needs work. I'll continue plugging away at cleaning up the GUI elements as I have time. I will certainly be interested in whether the code is wokring on a real F7 or not.

Please Log in or Create an account to join the conversation.

More
28 Apr 2015 03:26 #31724 by djtrance
Replied by djtrance on topic Can Any help me with my F7
PB, I have some problem with my MinGW32 for dfu build, but if you can send me the dfu file, I can test it now..

Please Log in or Create an account to join the conversation.

More
28 Apr 2015 03:35 - 28 Apr 2015 03:36 #31725 by djtrance
Replied by djtrance on topic Can Any help me with my F7
I'm still learning how the screen is working on deviation. I'm working too slow. if you can say me the function for write a character on some position. Now I'm using this:
GUI_CreateLabelBox(&gui->bat, LCD_WIDTH - 7,0, 0, 0, &DEFAULT_FONT, voltage_cb, NULL, NULL);
I'm trying to do a trim bar,for now I only have the battery message.
Attachments:
Last edit: 28 Apr 2015 03:36 by djtrance.

Please Log in or Create an account to join the conversation.

More
28 Apr 2015 03:39 #31726 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
I think it is more important to get your build working. If it doesn't work, you won't be able to provide any helpful feedback unless you can build yourself. The biggest risk is that I increased the number of rows to 12 (MicroUAV had it at 11). I'm not sure why he didn't use 12, there may be a good reason.

Download the zip file from here:
launchpad.net/gcc-arm-embedded

extract it into your mingw env and make sure it is in your path.

That should be all that it takes to get compilation working.

I can help you if needed.

Please Log in or Create an account to join the conversation.

More
28 Apr 2015 03:44 #31727 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
You need this:
LCD_PrintCharXY(uint x, uint y, char c)

Note that this is a low-level command and should only be used within GUI_* objects. Specifically the 'bargraph' widget in this case.

Please Log in or Create an account to join the conversation.

More
28 Apr 2015 14:28 #31737 by PhracturedBlue
Replied by PhracturedBlue on topic Can Any help me with my F7
Fixed up dialogs:
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum