Automated voice pack building

More
24 Feb 2019 13:33 #72999 by yets
Replied by yets on topic Automated voice pack building
Hey moeder, I'm actually trying to update right as I type. I came back to search for installation tips as I've never compiled myself. I'll let you know how it goes. :)

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

More
01 Mar 2019 22:02 #73105 by yets
Replied by yets on topic Automated voice pack building
Hey moeder, I gave the file a try and it's great, it includes voice menu etc. However, I'm trying to build from your voicediet2 branch (cloned) after I edit one of the protocols but it's building without the changes found in your zip. Can you offer some help please?

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

More
03 Mar 2019 09:59 #73139 by Moeder
Replied by Moeder on topic Automated voice pack building
To enable voice (and voice menu) you have to modify src/target/tx/devo/devo7e/target_defs.h to:
HAS_EXTENDED_AUDIO 1
HAS_MUSIC_CONFIG 1
HAS_STANDARD_GUI 0

What protocol changes do you want to make?

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

More
03 Mar 2019 17:46 #73160 by yets
Replied by yets on topic Automated voice pack building
Thanks Moeder. I'll give it another go. I think I found these defines last night, compiled, flashed but the Devo would have a blank screen.

I have copied modified code for the Bayang_nrl2401 to include some aux channels for Silverware. It is currently under a pull request (as of yesterday) but I don't know how long it will take to get to the nightlies

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

More
05 Mar 2019 01:15 #73206 by yets
Replied by yets on topic Automated voice pack building
Still struggling trying to get a docker build that compiles with the target options. I've changed the target_defs but whatever I do, it just won't build with them. I've checkedout Git to a local branch on voice_diet2 but I'm not sure what the docker is doing. Any help please?

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

More
05 Mar 2019 14:35 #73219 by Moeder
Replied by Moeder on topic Automated voice pack building
Why doesn't it build? Do you have docker setup to use your local repo? Then
git checkout voice_diet2
git submodule update --init (in case you didn't already)
cd src
Edit target defs, after that
make - j2 devo7e (or other number than 2,depending on cpu cores)
If this does not work, post error messages.

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

More
05 Mar 2019 15:15 #73221 by yets
Replied by yets on topic Automated voice pack building
It builds but either doesn't incorporate the changes or didn't initiate correctly on the tx (blank lit LCD screen). I have been building just with Bash and also the GitHub desktop app all from source. I'll give it a go with your commands, building with git bash has been a bit of a learning curve. Thanks

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

More
05 Mar 2019 16:15 #73222 by yets
Replied by yets on topic Automated voice pack building
These are the errors attempting bash from src

$ make -j2 devo7e
env: perl: Invalid argument
+ Compiling 'target/tx/devo/devo7e/channels.c'
/usr/bin/sh: arm-none-eabi-gcc: command not found
make[1]: *** [objs/devo7e/channels.o] Error 127
make: *** [devo7e] Error 2

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

More
06 Mar 2019 05:34 #73228 by Moeder
Replied by Moeder on topic Automated voice pack building
That means you are not inside the container. Did you start it as described in the wiki?

Nevertheless, I will post a build for you tonight based on current master.

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

More
06 Mar 2019 08:50 #73231 by yets
Replied by yets on topic Automated voice pack building
To the best of my abilities I have followed your instructions, even deleting it all and starting the process over a few times. I navigate through to source in bash and I get all the errors. I even downloaded arm-none-rabi-gcc.

Last night I tried to download just the diet_branch2 through git as source but it would still build master and no target Def's changes. So I'm really not sure what I'm doing wrong

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

More
06 Mar 2019 17:57 - 06 Mar 2019 17:57 #73238 by Moeder
Replied by Moeder on topic Automated voice pack building
Somehow it seems you are not in the docker container. Start it with
docker start -i deviation_build
Then click on shell or use arrow keys and press enter. Go to directory /git (depending on how you set it up this should point to you git repo or some other local directory of yours).
Last edit: 06 Mar 2019 17:57 by Moeder.

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

More
06 Mar 2019 20:19 - 06 Mar 2019 20:35 #73240 by yets
Replied by yets on topic Automated voice pack building

yets wrote: To the best of my abilities I have followed your instructions, even deleting it all and starting the process over a few times. I navigate through to source in bash and I get all the errors. I even downloaded arm-none-rabi-gcc.

Last night I tried to download just the diet_branch2 through git as source but it would still build master and no target Def's changes. So I'm really not sure what I'm doing wrong


Looks like I was making a mistake with the folder directives when building container, I was typing /c/users/name/git rather than ~/git. Now changes are incorporated from local repo. However, now Docker will not build as I have a new error;

Updating build.py
Building zip_devo7e
Preparing for ARM build
: No such file or directory
make[1]: *** [include/libopencm3/stm32/f0/irq.json.cleanhdr] Error 127
make: *** [distclean] Error 2
GENHDR include/libopencm3/stm32/f1/irq.json
: No such file or directory
make[2]: *** [include/libopencm3/stm32/f1/irq.json.genhdr] Error 127
make[1]: *** [libopencm3/lib/libopencm3_stm32f1.a] Error 2
make: *** [zip_devo7e] Error 2

I will try your new suggestions Moeder. How do I navigate with the shell? cd doesn't work, I am not proficient with command

EDIT: Ok, I managed to navigate to SRC but and attempt to make make - j2 devo7e, however I have the same error as above.
+ Copying template files for devo7e
GENHDR include/libopencm3/stm32/f1/irq.json
: No such file or directory
make[2]: *** [include/libopencm3/stm32/f1/irq.json.genhdr] Error 127
make[1]: *** [libopencm3/lib/libopencm3_stm32f1.a] Error 2
make[1]: *** Waiting for unfinished jobs....
+ Checking string list length for devo7e
filesystem/devo7e
../utils/extract_strings.pl -target devo7e -objdir objs/devo7e
Please install cpplint via 'pip install cpplint' or equivalent
make: *** [devo7e] Error 2
Last edit: 06 Mar 2019 20:35 by yets. Reason: more information

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

More
06 Mar 2019 21:16 #73242 by Moeder
Replied by Moeder on topic Automated voice pack building
you didn't fetch git submodule for libopencm3, run this line once in the git directory:
git submodule update --init
after that, a make devo7e should work.

I had time to make a build for you based on current master without language support but with voice, voice menu, main config menu. Thanks to the recent changes a lot of things can fit in a devo7e build currently ;)

But please don't give up on getting the build environment to work!

File is to big to attach, please download here

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

More
06 Mar 2019 21:32 - 06 Mar 2019 22:52 #73243 by yets
Replied by yets on topic Automated voice pack building
Thanks for creating it Moeder. Sorry for being bothersome.

I'm still attempting get the environment to work,

I just tried

git submodule update --init

and it checked out. However, still getting the same error. Is it a docker problem? Have I corrupted files in it somehow?
Last edit: 06 Mar 2019 22:52 by yets.

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

More
07 Mar 2019 11:33 - 07 Mar 2019 11:35 #73250 by Moeder
Replied by Moeder on topic Automated voice pack building
That's odd. Did you try make distclean before make devo7e?

Edit: please post some screenshots or paste a terminal log of what you are doing, it is a little hard to guess what exactly you are doing.
Last edit: 07 Mar 2019 11:35 by Moeder.

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

More
07 Mar 2019 12:57 - 07 Mar 2019 13:54 #73252 by yets
Replied by yets on topic Automated voice pack building
I've tried reinstalling Docker Toolbox again, clean builds and yet still experiencing the same problem.

This trying make as suggested;

And results in;

When building a container using /c/users/name/git:/git it builds perfectly, but not when using ~/git
Last edit: 07 Mar 2019 13:54 by yets.

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

More
07 Mar 2019 13:55 #73254 by Moeder
Replied by Moeder on topic Automated voice pack building
Don't know if it really matters, but I believe you have to run git submodule from src directory

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

More
07 Mar 2019 14:00 #73255 by Moeder
Replied by Moeder on topic Automated voice pack building
I don't use win environment, maybe vlad_vy can help...

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

More
07 Mar 2019 14:25 #73256 by vlad_vy
Replied by vlad_vy on topic Automated voice pack building
No, I use completely local Windows environment, without git and Docker.

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

More
07 Mar 2019 16:27 #73261 by yets
Replied by yets on topic Automated voice pack building

vlad_vy wrote: No, I use completely local Windows environment, without git and Docker.


Do you have guide to build then?

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

Time to create page: 0.074 seconds
Powered by Kunena Forum