[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Code and dev environment

Code and dev environment

News, Setup, Compiling, Flashing, Development

Re: Code and dev environment

Postby Max » Tue May 07, 2013 8:48 pm

./STM32/include

That doesn't seem right. It should probably be ../STM32/include (up one level instead of in the source folder)?

AQLIB_PATH ?= ..
STMLIB_PATH = $(AQLIB_PATH)/STM32
CC_INCLUDES := ..... -I$(STMLIB_PATH)/include .....

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Code and dev environment

Postby afernan » Thu May 09, 2013 3:59 pm

Finally I got it working (thanks Max) .
In fact I´ve used the makefile included in r106 as a base (attached in zip, under onboard folder). I did a "donkeys guider" pdf-doc for rookies like me (attached). Finally is really simple to compile when you realize all the things you need.

Note. You need to use signaling (deffault) (line 20 of makefile)
USE_SIGNALING ?= 1
Selecting "0" will crash the compilation (dunno why)

Angel
Attachments
arm-gcc r106.zip
(2.2 MiB) Downloaded 839 times
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: Code and dev environment

Postby savaga » Fri May 10, 2013 7:40 am

I wonder if you can help me with the following questions:
1) I searched through the code and didn't find a call to the 'SystemInit' function. Did you guys design it like this or am I missing something and PLL initializes in a different way?
2) Could you please tell me what is the frequency of the oscillator?

Thanks in advance!
Evgeny.
savaga
 
Posts: 1
Joined: Fri May 10, 2013 7:10 am

Re: Code and dev environment

Postby bn999 » Fri May 10, 2013 1:46 pm

SystemInit() is in the system_stm32f4xx.c file and is called from STM32_Startup.s . AQv6 uses a 25MHz resonator.
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm

Re: Code and dev environment

Postby aqchab » Sun May 12, 2013 8:27 pm

aqchab
 
Posts: 29
Joined: Thu Feb 21, 2013 12:31 pm

Re: Code and dev environment

Postby Max » Mon May 13, 2013 2:59 am

You need to add grhott.o to the list of AQ objects in the Makefile. That didn't happen until r130, so either build that revision or add the object yourself. I'd avoid building the later revs for now. Also r129 will break reading params off SD card automatically at startup, in case you rely on that feature (they can still be read back manually using the button in QGC).

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Code and dev environment

Postby afernan » Mon May 13, 2013 3:15 pm

makefile on r144

missing "comm.o" in line 186. Now it compiles OK

btw, why now board revision is 0/1 (before was 1/2)?

Angel
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: Code and dev environment

Postby aqchab » Mon May 13, 2013 4:47 pm

aqchab
 
Posts: 29
Joined: Thu Feb 21, 2013 12:31 pm

Re: Code and dev environment

Postby afernan » Tue May 21, 2013 4:01 pm

afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: Code and dev environment

Postby afernan » Fri May 24, 2013 10:25 am

afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

PreviousNext

Return to AQ Firmware

Who is online

Users browsing this forum: No registered users and 8 guests

cron