- Posts: 3333
Nightly Builds ???
- vlad_vy
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- mwm
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Topic Author
- Offline
- Posts: 3333
+ Copying template files for devo12
+ Checking string list length for devo12
filesystem/devo12
ERROR: Not enough stringspace allocated:
filesystem/devo12/language/lang.afr: 359 lines, 3793 bytes, 118 bytes/line
filesystem/devo12/language/lang.cn : 253 lines, 2976 bytes, 111 bytes/line
filesystem/devo12/language/lang.dut: 156 lines, 1656 bytes, 146 bytes/line
filesystem/devo12/language/lang.es : 227 lines, 2745 bytes, 167 bytes/line
filesystem/devo12/language/lang.fr : 256 lines, 3023 bytes, 141 bytes/line
filesystem/devo12/language/lang.ger: 334 lines, 4052 bytes, 155 bytes/line
filesystem/devo12/language/lang.hu : 356 lines, 4326 bytes, 184 bytes/line
filesystem/devo12/language/lang.it : 279 lines, 3378 bytes, 154 bytes/line
filesystem/devo12/language/lang.ro : 356 lines, 3937 bytes, 167 bytes/line
filesystem/devo12/language/lang.ru : 359 lines, 7271 bytes, 267 bytes/line
filesystem/devo12/language/lang.tw : 252 lines, 3077 bytes, 109 bytes/line
devo12 : 413 lines
filesystem/devo12 : 413 lines, 7271 bytes, 267 bytes/line
Total : 413 lines, 7271 bytes, 267 bytes/line
Allocated : 410 lines, 8192 bytes, 300 bytes/line
make: *** [filesystem/devo12/models/model30.ini] Error 1
Please Log in or Create an account to join the conversation.
- mwm
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Thomas.Heiss
- Offline
- Posts: 698
Please Log in or Create an account to join the conversation.
- vlad_vy
- Topic Author
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- vlad_vy
- Topic Author
- Offline
- Posts: 3333
/config/language.c
#define MAX_STRINGS 420
Please Log in or Create an account to join the conversation.
- vlad_vy
- Topic Author
- Offline
- Posts: 3333
_tr_noop("V9x9"), _tr_noop("V6x6"), _tr_noop("V912")
_tr_noop("WLToys"), _tr_noop("Feilun")
_tr_noop("YD717"), _tr_noop("Sky Wlkr"), _tr_noop("XinXun"), _tr_noop("Ni Hui"), _tr_noop("SymaX4")
_tr_noop("SymaX5C")
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
I wasn't sure of the intended use for _tr_noop so I dug into the code. This macro does not actually consume any of the translatable string space, so the compile error isn't strictly necessary. It seems to me this macro is intended to flag strings that should be translated, but cannot be due to the current implementation. Strings are translated by a function call so you can't use _tr() in some places, like initializing the <proto>_opts array. Anyone with knowledge of the code history who can confirm this?
It also appears that "make language" needs to be run separately to generate the common language files. Running "make language" on the current repo generates quite a few new strings in the common language files, but I'm not certain enough about this to make a pull request. Anyone know the procedure to be used?
Please Log in or Create an account to join the conversation.
- vlad_vy
- Topic Author
- Offline
- Posts: 3333
...
@echo " + Checking string list length for $(FILESYSTEM)"
../utils/check_string_size.pl -target $(FILESYSTEM) -objdir $(ODIR) -quiet
...
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
For the code to work the strings array only needs to be big enough to hold the strings that have translations and we're well below that limit. For example, running check_string_size on the devo12 shows the max strings in any language file is 359. The error means that if translations were added for all the translatable strings (both _tr and _tr_noop), then the max strings limit would be exceeded.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Topic Author
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Just for completeness I'll add to my previous comment. The runtime code also checks that MAX_STRINGS is not exceeded when loading the translation files. So even if the build-time check was bypassed and files created with more strings than would fit, at runtime deviation will still work correctly.
Please Log in or Create an account to join the conversation.
- wasp09
- Offline
- Posts: 211
Glad to see a new nightly build and some changes coming through hg pull today.
It does not look like your combo patch is in but we also have a new timestamp on the test patch. Your patch works well on my new Eachine H8 mini. I hope that you would be merging it into main soon.
Regards,
++++++++++++++++++++++++++++++++++++++++++++++
We have bayang after I did hg pull. Great. Thanks.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- mwm
- Offline
BTW, we have a bug report in Mantis - and multiple reports on rcgroups - that DSMX in the latest nightly is no longer binding. Anyone got time to work on it? I expect to get the UMX B17 in the next day or so, and will find out the hard way - but probably not until this weekend at the earliest.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Gyrfalcon
- Offline
- Posts: 23
src\target\common\devo\devofs\tests\t\DevoFS.t
line 93 @imgfiles = split(/\n/, `cd $imgdir; find . -type f`);
src\target\common\devo\devofs\buildfs.pl
line 28 my (@files) = map {s/^..//; $_} split(/\n/, `cd $root; find . -type f`);
Also to build the firmware zip files that match the nightly builds I use the following make command.
make zips INCLUDE_FS=1
This will include a file system for the devof12e based on the devof7 file system and give the zip file needed to install the firmware on the devof12e using PB’s java installer ‘DeviationUpload-0.8.0.jar ‘
Please Log in or Create an account to join the conversation.
- vlad_vy
- Topic Author
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- Thomas.Heiss
- Offline
- Posts: 698
deviation 1.0.6 AppVeyor build failed
ci.appveyor.com/project/mwm/deviation/build/1.0.6
Specify a project or solution file. The directory does not contain a project or solution file.
Pardon, I have not yet followed / checked Mikes newer build / restructuring threads...
Please Log in or Create an account to join the conversation.
- mwm
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- Nightly Builds ???