- Posts: 28
[Call For Testing] Test GCC 8.2 & new libopencm3
- csujun
- Topic Author
- Offline
I build the firmware based on today's master (1/5/2019) with the new compiler and new library. You can find the firmware for your Tx here:
www.deviationtx.com/downloads-new/catego...-csujun-test-gcc-8-2
Please focus on the general usage of your Tx to see if anything is broken.
There is no function difference than the master. I already verified the firmware with my Tx. But I need more widely testing before I can merge the change. Let me know if your Tx firmware is not there.
Know Issue:
[Devo7e] SBUS and CRSF protocol is broken due to a bug in UART send code. see issue here: github.com/DeviationTX/deviation/issues/484
Some recent changes in master may be interesting to you, which are included in this build as well.
1. Scanner support for 10/12e.
2. New format of localization file which enables faster language switch.
3. At9 get bigger font 15pt.
4. new protocols like NCC-1701
Thanks,
Howard Su
Please Log in or Create an account to join the conversation.
- 52dgj
- Offline
- Posts: 52
DEVO12,DEVO8S,DEVO7E,DEVO10,Taranis QX7,FS-i6
Please Log in or Create an account to join the conversation.
- csujun
- Topic Author
- Offline
- Posts: 28
Please Log in or Create an account to join the conversation.
- 52dgj
- Offline
- Posts: 52
DEVO12,DEVO8S,DEVO7E,DEVO10,Taranis QX7,FS-i6
Please Log in or Create an account to join the conversation.
- wind10071
- Offline
- Posts: 20
Attachments:
Please Log in or Create an account to join the conversation.
- csujun
- Topic Author
- Offline
- Posts: 28
Please Log in or Create an account to join the conversation.
- gdenton
- Offline
- Posts: 71
Is there a way to reverse changes to Windows Docker build environment?
Please Log in or Create an account to join the conversation.
- wind10071
- Offline
- Posts: 20
Now the build deviation is back to normal!
Please Log in or Create an account to join the conversation.
- gdenton
- Offline
- Posts: 71
wind10071 wrote: Thank you csujun !
Now the build deviation is back to normal!
So yours is working now?
I just tried again and still getting same errors.
Please Log in or Create an account to join the conversation.
- gdenton
- Offline
- Posts: 71
local clone copy of deviationtx
I finally figured out that I had to delete the existing image/container, re-download the Deviation build environment and re-create the Docker container.
I then had the following error after starting a build:
fatal: destination path 'src/libopencm3' already exists and is not an empty directory.
Clone of ' github.com/DeviationTx/libopencm3.git ' into submodule path 'src/libopencm3' failed
I deleted src/libopencm3, re-started the build and it succeeded.
Please Log in or Create an account to join the conversation.
- wind10071
- Offline
- Posts: 20
1 View all containers:
docker ps -a
2 Stop container:
docker stop id
3 Delete container:
docker rm id
4View existing image:
docker images
5 Delete existing image:
docker rmi ID
6 exit
All over again
Please Log in or Create an account to join the conversation.
- openuas
- Offline
- Posts: 1
Will test on various TX's if we can find some time.. but only ground test for time being.
Please Log in or Create an account to join the conversation.
- daniel.snowsurf
- Offline
- Posts: 23
I get an error:
daniel@ubuntu:~/deviationtx/deviation$ docker start -i deviation_build
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14157 100 14157 0 0 99k 0 --:--:-- --:--:-- --:--:-- 101k
Updating build.py
Building zip_devo7e
Preparing for ARM build
make[1]: *** No rule to make target `clean'. Stop.
make: *** [distclean] Error 2
Fetch libopencm3 via 'git submodule update --init'
make[1]: *** [libopencm3/lib/libopencm3_stm32f1.a] Error 1
make: *** [zip_devo7e] Error 2
Please Log in or Create an account to join the conversation.
- yets
- Offline
- Posts: 127
I had to delete the container, "make" in the folder and then create container again and it worked. I would have posted all my troubles in this thread had I known about it earlier
Please Log in or Create an account to join the conversation.
- daniel.snowsurf
- Offline
- Posts: 23
When trying to make libopencm3 I realized the folder was empty. When cloning deviationtx the libopencm3 is not cloned. I have cloned libopencm3 from deviationtx and now it builds. But I get an error when building the filesystem:
...
+ Compiling 'pages/128x64x1/advanced/mixer_setup.c'
+ Building 'devo7e.elf'
+ Optimizing placement and re-linking
ROM: 0x08003000 - 0x0801eac0 = 110.69kB
RAM: 0x20000000 - 0x20002f98 = 11.90kB
STK: 0x20002f98 - 0x20004000 = 4.10kB
Found 13 ranges
Found 10 ranges
+ Copying template files for devo7e
Traceback (most recent call last):
File "../utils/extract_strings.py", line 296, in <module>
sys.exit(0 if main() else 1)
File "../utils/extract_strings.py", line 59, in main
args.targets, language, translation):
File "../utils/extract_strings.py", line 192, in write_lang_file
_fh.write(language)
UnicodeEncodeError: 'ascii' codec can't encode character '\ufeff' in position 0: ordinal not in range(128)
make[1]: *** [filesystem/devo7e/models/model30.ini] Error 1
make: *** [zip_devo7e] Error 2
Please Log in or Create an account to join the conversation.
- yets
- Offline
- Posts: 127
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- daniel.snowsurf
- Offline
- Posts: 23
Moeder - I'll wait for the fix, but I'll also try to build without docker. I've never liked docker... All this changes with libopencm3 and the files structure in targets are getting me crazy. Three weeks trying to build deviation and getting different errors every time.
Thanks for your support.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- daniel.snowsurf
- Offline
- Posts: 23
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- [Call For Testing] Test GCC 8.2 & new libopencm3