- Posts: 127
Automated voice pack building
- yets
-
- Offline
Less
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.
- yets
-
- Offline
Less
More
- Posts: 127
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?
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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?
HAS_EXTENDED_AUDIO 1
HAS_MUSIC_CONFIG 1
HAS_STANDARD_GUI 0
What protocol changes do you want to make?
- yets
-
- Offline
Less
More
- Posts: 127
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
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
- yets
-
- Offline
Less
More
- Posts: 127
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?
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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.
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.
- yets
-
- Offline
Less
More
- Posts: 127
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
- yets
-
- Offline
Less
More
- Posts: 127
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
$ 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
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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.
Nevertheless, I will post a build for you tonight based on current master.
- yets
-
- Offline
Less
More
- Posts: 127
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
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
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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 withThen 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).
docker start -i deviation_build
Last edit: 06 Mar 2019 17:57 by Moeder.
- yets
-
- Offline
Less
More
- Posts: 127
06 Mar 2019 20:19 - 06 Mar 2019 20:35 #73240
by yets
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
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
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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: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
git submodule update --initI 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
- yets
-
- Offline
Less
More
- Posts: 127
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?
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.
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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.
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.
- yets
-
- Offline
Less
More
- Posts: 127
07 Mar 2019 12:57 - 07 Mar 2019 13:54 #73252
by yets
Replied by yets on topic Automated voice pack building
Last edit: 07 Mar 2019 13:54 by yets.
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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
- Moeder
-
Topic Author
- Offline
Less
More
- Posts: 796
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...
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
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.
- yets
-
- Offline
Less
More
- Posts: 127
07 Mar 2019 16:27 #73261
by yets
Do you have guide to build then?
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?
Time to create page: 0.130 seconds
-
Home
-
Forum
-
Development
-
Development
- Automated voice pack building