How To apply "two switches" patch for Devo7e soft

More
24 Feb 2013 07:50 - 04 Mar 2013 17:50 #6934 by Krejzi
Hi.

First of all sorry for my language.

I have devo7e with "Two switches" mod.
"How To" from this topic:

www.deviationtx.com/forum/how-to/1436-ad...tches-to-the-devo-7e

But If you want to have a newest soft with patch for this mod, you should learn how to do it.

What you Need:
- installed VirtualBox
- imported Virtual Machine
this thread:
www.deviationtx.com/forum/how-to/1200-vm...-compiling-deviation

- patch file:

File Attachment:

File Name: 7e_buts.patch.txt
File Size:4 KB


I'm goona start in the point where you've got running virtual machine.

Put file "7e_buts.patch.txt" to the c:/deviation on your machine ( NOT VIRTUAL MACHINE)

Back to VirtualMachine and type:
cd /home/dev/deviation/
Then type:
patch -p1 < /media/deviation/7e_buts.patch.txt

Now you should see somethink like:
patching file src/target/devo7e/capabilities.h
 patching file src/target/devo7e/channels.c
 patching file src/target/devo7e/tx_buttons.c

If you've got any error just stop and check if you wrote everythink properly if yes, just put quote of error in this thread.

If something goes wrong you can revert changes, just type:
hg revert -a
And try again.

Now the final point:
Type:
deviation build devo7e
After this done, you have alredy compiled and ready to install on your transmiter files on your Machine i c:/deviation ( not virtual machine ).
You should have two .rar files: filesystem and dfu file.


I'm gonna share all my build which i've patched ( without filesystem ):

File Attachment:

File Name: deviation-...de6b.zip
File Size:314 KB



File Attachment:

File Name: deviation-...atch.zip
File Size:314 KB




Please correct my language and other mistakes.
Cheers.
Attachments:
Last edit: 04 Mar 2013 17:50 by Krejzi.

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

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
24 Feb 2013 08:07 #6935 by rbe2012
Replied by rbe2012 on topic How To apply "two switch" patch for Devo7e
Save the text formatted as code (orange bar at the left) from your post and name the file "file.patch". Save it to your deviation build directory (where README, src/, ... resides). Then you apply the patch with "patch -p1 < file.patch" which will make the rest for you. (it takes file.patch, parses it for the changes mentioned there and applies them to the affected files).
Be aware that the files could have changed while developement goes on; I don't know if the patch-command will try it or throws errors.
Give it a try and if errors occur you can post them here so we will have a look.

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

More
24 Feb 2013 08:24 #6937 by Krejzi
Replied by Krejzi on topic How To apply "two switch" patch for Devo7e
Ok that was fast :).

But i've got an error:


And this is in tx_buttons.c.rej:

Attachments:

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

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
24 Feb 2013 09:12 #6938 by rbe2012
Replied by rbe2012 on topic How To apply "two switch" patch for Devo7e
Looks as if the last line is missing

}

in the patch file.

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

More
24 Feb 2013 15:38 - 24 Feb 2013 15:39 #6957 by PhracturedBlue
Replied by PhracturedBlue on topic How To apply "two switch" patch for Devo7e
Here is the patch as an attachment.

Start by reverting the changes you have:
cd ~/deviation (I think this is where deviation is. if not, put the right path here)
hg revert -a

Now put the 7e_buts.patch.txt file in the current dir and rerun the patch (again you must be in the main deviation dir (with the README):
patch -p1 < 7e_buts.patch.txt

It should look like this:
patching file src/target/devo7e/capabilities.h
patching file src/target/devo7e/channels.c
patching file src/target/devo7e/tx_buttons.c

now you can:
cd src
make TARGET=devo7e
Attachments:
Last edit: 24 Feb 2013 15:39 by PhracturedBlue.

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

More
24 Feb 2013 16:27 - 24 Feb 2013 16:36 #6963 by Krejzi
Replied by Krejzi on topic How To apply "two switch" patch for Devo7e
Everythink great.

But I use "deviation build devo7e" instead "make TARGET=devo7e".

And it looks that I have newest (almost ) soft with switch mod.

I'm gonna make the whole toutorial how to make this but for now i have to test this.

Thanks a lot guys
Last edit: 24 Feb 2013 16:36 by Krejzi.

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

More
24 Feb 2013 17:31 #6973 by cmpang
Replied by cmpang on topic How To apply "two switch" patch for Devo7e
it is too good. Why not share it up here for we all who has done the mod?

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

More
24 Feb 2013 18:07 #6974 by Krejzi
Replied by Krejzi on topic How To apply "two switch" patch for Devo7e
I've changed first post.

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

More
26 Feb 2013 21:50 #7117 by Mullson

Krejzi wrote: I'm gonna share all my build which i've patched ( without filesystem ):

File Attachment:

File Name: deviation-...de6b.zip
File Size:314 KB


Hi,
Are you still having voltage jumping (~1.0v) on throttle movement with this version?

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

More
27 Feb 2013 04:15 #7120 by Krejzi
I don't know, when i can see this issue ?

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

More
27 Feb 2013 07:12 #7125 by Mullson
When you move the throttle from min to max.

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

More
27 Feb 2013 11:58 #7134 by Krejzi
then no, i don't see anything like that.

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

More
27 Feb 2013 12:16 #7135 by Mullson
So your TX volt indication up in right corner is stable all the time? And you are using "deviation-devo7e-b1b5bcecde6b.zip"? Dident you have this error in the last build ether?

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

More
27 Feb 2013 12:19 #7136 by Krejzi
yes is stable all the time, bind or not bind, with devo and dsm2.

I don't know I had this issue before, I hadn't noticed that.

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

More
04 Mar 2013 17:51 #7346 by Krejzi
New patched soft added in first post.

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

More
05 Mar 2013 00:35 #7364 by cmpang

Krejzi wrote: New patched soft added in first post.


thanks for your patch soft.. will load it later today...

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

More
05 Mar 2013 10:24 #7380 by cmpang

Krejzi wrote: New patched soft added in first post.


new patch soft loaded and running ok.. thx

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

More
05 Mar 2013 11:59 #7387 by Mullson

cmpang wrote: new patch soft loaded and running ok.. thx


Is this version better then devo7e-v2.3.8.1? If so what's the changes?

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

More
06 Mar 2013 10:30 #7423 by Krejzi
Actually it's not a topic about devo soft, you should try this soft.
What I know is in newer soft's a lot of bugs was fixed.
And I'm not sure but in 2.3.8.1 you don't have a Standard GUI mode, but I don't know this for sure.
I'm using a Standard GUI mode in newest soft.

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

More
06 Mar 2013 10:36 #7425 by Mullson
Thanks I have installed it and it works good, the switches to.

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

Time to create page: 0.099 seconds
Powered by Kunena Forum