Pat Hickey
892a322574
Arduino.mk: default config.mk port changed to ACM0 (for APM2)
12 years ago
Pat Hickey
268dd85319
Arduino.mk: more verbose default config file, with default HAL_BOARD apm2
12 years ago
Andrew Tridgell
197583be9b
build: force signed char
...
this was the default with the AVR compiler anyway, but this makes it
clearer what we assume
12 years ago
Andrew Tridgell
9b434d167c
build: fixed CC build warnings
12 years ago
Andrew Tridgell
0186fabb3b
build: allow building with the "Empty" HAL
...
useful for porting
12 years ago
Andrew Tridgell
0c38ba958a
build: default to APM2 build
12 years ago
Andrew Tridgell
f0dfcc1126
build: default to APM2 build
12 years ago
Pat Hickey
23d6c79313
Arduino.mk: fixes to obey HAL_BOARD in user's config.mk
12 years ago
Pat Hickey
91b94c0f6c
Arduino.mk: fixed per-target toolchains
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
28f0ce6185
Build: use -O0 for SITL
12 years ago
Andrew Tridgell
475496cee2
Revert "Arduino.mk: use target variables rather than recursive make for apm1, apm2.."
...
This reverts commit fcd58cc1d7892bb8b45db75c35e1bdccaa2d47bb.
still doesn't work ...
12 years ago
Andrew Tridgell
975506c840
Build: add debugging in SITL build
12 years ago
Pat Hickey
8fe3c5e5d6
Arduino.mk: use target variables rather than recursive make for apm1, apm2..
12 years ago
Andrew Tridgell
d473203737
Build: added global board targets
12 years ago
Pat Hickey
d93d932831
ArduCopter: defines fixes
...
Conflicts:
libraries/AP_Common/Arduino.mk
12 years ago
Andrew Tridgell
9b15d0e714
Build: update makefile for SITL build
12 years ago
Pat Hickey
da99f5f283
Arduino.mk: compile with CONFIG_HAL_BOARD define from the user's config.mk
12 years ago
Pat Hickey
fff4e87619
Arduino.mk: allow user avrdude flags
12 years ago
Pat Hickey
f490f2432d
Arduino.mk: norelax.inoflag will disable -Wl,--relax on a per sketch basis
...
* Some weird avr-ld bug that hits on 4.6.2 Fedora. Didn't have time to
investigate further.
12 years ago
Pat Hickey
f8047f158d
Arduino.mk: Changes to asm opts for compatibility with avr-gcc4.6
...
* Need to make sure these are compatible with older toolchains
before pushing to master
12 years ago
Pat Hickey
7854c54880
Arduino.mk: when core is excluded, add -DEXCLUDECORE to flags
12 years ago
Pat Hickey
4493dbb4d2
Arduino.mk: support nocore.inoflag to do coreless builds of each sketch
12 years ago
Andrew Tridgell
4f90e6e844
build: cope with Arduino 1.0 in command line build
...
this should autodetect 1.0 versus older builds
13 years ago
Mike Smith
9c5a776456
Teach the Makefile about the new Arduino sourcefile suffix
13 years ago
Michael Oborne
92886cfa10
make file relax
13 years ago
Michael Oborne
f4b7aea1ee
add relax
13 years ago
Andrew Tridgell
0da5125b7f
upload: force hex file format for upload
...
this should fix a problem with hex file format detection on MacOS
13 years ago
Andrew Tridgell
6e9e857157
make configure default to 2560
...
1280 is less common for devs these days
13 years ago
Pat Hickey
a159669cee
build: added jtag-program make target
...
useful for when you have hosed your USB
13 years ago
Andrew Tridgell
251cf7d87c
force LANG=C for MacOS awk
13 years ago
Amilcar Lucas
45950489d1
More improvements to MS Windows
...
Now the avr-gdb, avrdude and avarice tools do not need to be in the path.
14 years ago
amilcar
7a510084b1
Fix serial port on windows
14 years ago
amilcar
550deffbe8
Make it work on windows "out-of-the-box"
14 years ago
Amilcar Lucas
c37fabea66
Added a comment to the BOARD type of teh make configure output file
14 years ago
Amilcar Lucas
eaaf44e2c8
Fix Arduino version detection on some systems
14 years ago
James Goppert
9e6b47184a
Arduino version directory updated to lib/version.txt
...
Also updated cmake files.
14 years ago
Amilcar Lucas
03740469fd
fix quotes and indentation
14 years ago
James Goppert
9c766d6373
Added override for mega upload protocol.
14 years ago
James Goppert
6abb8a0796
Modified Arduino.mk to use correct upload protocol if not overrided.
...
The previous comment of upload protocol not working cannot be verified on
linux. If this problem persists on cygwin, please override with
UPLOAD_PROTOCOL=arduino in the enivornment before calling Arduino.mk
14 years ago
Andrew Tridgell
ba6c58a33c
build: cope with more depths for libraries
...
this finds the libraries at more levels up from the current directory
14 years ago
Janne M
d5e5240e19
Issue #415 : Modified spotlight search string. Added UPLOAD_PROTOCOL parameter to makefile to use different programmer.
14 years ago
Mike Smith
42abbb41fd
Add options to generate assembly listings for all of the compiled
...
files. This is a possible starting point for a tool to analyse the
call graph and stack usage of APM.
It's also interesting by itself.
14 years ago
DrZiplok
c0b4cb661f
GNU sed wants -r, Darwin/BSD sed wants -E.
14 years ago
Mike Smith
c1460add3b
Reinstate a Cygwin workround that was backed out by the previous changes.
...
Not all platforms support (or require) the -r argument to sed.
14 years ago
joeholdsworth@gmail.com
6dbfd78197
updated make file for cygwin compatibility
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3277 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
5b3079bcd6
Fixed debug command.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3196 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
joeholdsworth@gmail.com
1e08040002
update to arduino.mk file to allow easier use with cygwin.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3166 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
a9278b6fcd
build: added EXTRAFLAGS to make rules
...
this allows you to create a local makefile like this:
include Makefile
hil:
make -f Makefile EXTRAFLAGS="-DHIL_MODE=HIL_MODE_ATTITUDE -DSERIAL3_BAUD=115200"
and then use 'make hil'
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2843 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
56483bc322
Added debug/ upload targets to Arduino.mk
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2656 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago