Building Deviation for 7e ultimate on Ubuntu

More
02 Sep 2016 09:28 #53403 by bianchifan
For all 7e-256k versions won't run on my Devo (CYRF module missing) I decided to build one of my own.
Dockers seemed to much complicated, hundret of Megabytes for what?

I choosed to most simple way, a naked arm compiler/linker on my simple Ubuntu partition.
I DLed the adviced version but I didn't understood how to install, since I went for Ubuntu I'n only a simple stupi user...
So I installed the actual arm-none-eabi from lauchpad in just the normal way (although a version exist within Arduino - STM32duino).
Both makes were running fine, devo7e and devo7e-256, with same known results:
Devo 7e starts and shows a picture, devo7e-256 consists in a CYRF module :(
I tried a couple of things, at least it looks to depend somehow on the module section.
I wasn'nt able to build a "modulized" 256k version:
...
.
.
.
ROM: 0x08003000 - 0x08023b1c = 130.78kB
RAM: 0x20000000 - 0x20004cbc = 19.18kB
+ Copying template files for devo7e-256
+ Checking string list length for devo7e-256
filesystem/devo7e-256
+ Compiling 'protocol/devo_cyrf6936.c' as module
+ Compiling 'target/common/devo/protocol/pwm.c'
+ Compiling 'target/common/devo/hid/hid_usb_istr.c'
+ Compiling 'target/common/devo/hid/hid_usb_desc.c'
+ Compiling 'target/common/devo/hid/hid_usb_endp.c'
+ Compiling 'target/common/devo/hid/hid_usb_prop.c'
+ Compiling 'target/common/devo/hid/hid_devo.c'
+ Compiling 'protocol/spi/a7105.c'
+ Compiling 'protocol/spi/cyrf6936.c'
+ Compiling 'protocol/spi/cc2500.c'
+ Compiling 'protocol/spi/nrf24l01.c'
+ Compiling 'protocol/spi/avr_program.c'
+ Building 'objs/devo7e-256/devo_cyrf6936.bin'
Building devo module
+ Compiling 'protocol/dsm2_cyrf6936.c' as module
+ Building 'objs/devo7e-256/dsm2_cyrf6936.bin'
arm-none-eabi-ld: objs/devo7e-256/dsm2_cyrf6936.elf section `.text' will not fit in region `ram'
target/common/devo/Makefile.inc:67: recipe for target 'objs/devo7e-256/dsm2_cyrf6936.bin' failed
make[1]: *** [objs/devo7e-256/dsm2_cyrf6936.bin] Error 1
Makefile:52: recipe for target 'devo7e-256' failed
make: *** [devo7e-256] Error 2
majo@majo-Studio-1535:~/deviation/src$

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

More
02 Sep 2016 15:42 - 02 Sep 2016 15:44 #53415 by HappyHarry
Replied by HappyHarry on topic Building Deviation for 7e ultimate on Ubuntu
the 256k doesn't need the protocols in a module as it has plenty space to store them. also be aware the current versions of arm-none-eabi will not compile the normal 7e firmware in a small enough file

the docker setup is simply the easiest way to go
Last edit: 02 Sep 2016 15:44 by HappyHarry.

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

More
03 Sep 2016 08:49 #53441 by bianchifan
Replied by bianchifan on topic Building Deviation for 7e ultimate on Ubuntu

HappyHarry wrote: the 256k doesn't need the protocols in a module..

I know...

But also I know, that the actual!! "modulized" normal Devo version seems to run.
The official 5.0 version won't run!

So there must something happen within the code in June/July -IIRC the first runnin' nitely is from July -
which makes the "modulized" compatible to non-CYRF-Systems.

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

Time to create page: 0.028 seconds
Powered by Kunena Forum