Commit Graph

6405 Commits

Author SHA1 Message Date
Pat Hickey 4c930b77a4 DataFlash_Empty defined 2012-12-20 14:52:31 +11:00
Pat Hickey b7cd4312f3 AP_HAL_Empty: more scaffolding complete 2012-12-20 14:52:31 +11:00
Andrew Tridgell 7d27e420ae AP_HAL: remove unnecessary Arduino.h includes 2012-12-20 14:52:30 +11:00
Andrew Tridgell 6a56f72918 Build: added empty Arduino.h 2012-12-20 14:52:30 +11:00
Andrew Tridgell 98ead51801 SITL: fill in a lot more of the AP_HAL SITL backend 2012-12-20 14:52:30 +11:00
Andrew Tridgell 4a54ffb523 Baro: use local include to reduce boilerplate 2012-12-20 14:52:30 +11:00
Andrew Tridgell 07d8690fbe Tools: convert CPUInfo to AP_HAL 2012-12-20 14:52:30 +11:00
Andrew Tridgell d473203737 Build: added global board targets 2012-12-20 14:52:30 +11:00
Pat Hickey 3cc204321c AP_Motors_Class: add Progmem typedef 2012-12-20 14:52:30 +11:00
Pat Hickey 8d0c56a19a AP_Curve: put template in cpp file
* required for the new funny way avr-gcc 4.7 does PSTR.
2012-12-20 14:52:30 +11:00
Pat Hickey 6ea38432b9 AP_Progmem_AVR: prog_char typedef was deprecated in avr-gcc 4.7, add compat def 2012-12-20 14:52:30 +11:00
Pat Hickey 3e3c0f57ae AP_HAL_Empty: started building out the scaffolding 2012-12-20 14:52:30 +11:00
Pat Hickey b79bd01761 SPIDriver: namespace explicit to better permit copypasta 2012-12-20 14:52:30 +11:00
Pat Hickey 527dfb5af4 AP_HAL: remove EmptyUARTDriver 2012-12-20 14:52:30 +11:00
Pat Hickey 63eb1dc85d AP_HAL_AVR_SITL: separate header for AP_HAL_MAIN and Private 2012-12-20 14:52:30 +11:00
Pat Hickey 07be511f5e AP_HAL_AVR: move AP_HAL_MAIN into separate header 2012-12-20 14:52:30 +11:00
Pat Hickey d18b9feaa1 AP_HAL: add HAL_BOARD_EMPTY to AP_HAL_BOARDS 2012-12-20 14:52:30 +11:00
Pat Hickey 22ac39a4ef ArduCopter: disable and remove InertialNav defines from APM_Config
* We're not going to have the RAM available to support those in general release
2012-12-20 14:52:29 +11:00
Pat Hickey 104ad8f6c8 AP_Menu: save a little ram by reducing MENU_ARGS_MAX to 3
* we only ever use 3 in arducopter's gyro gain setup
2012-12-20 14:52:29 +11:00
Pat Hickey d5d97be837 ArduCopter: add param loader properly implement parameters
* thanks tridge!
2012-12-20 14:52:29 +11:00
Andrew Tridgell af12c18dea AP_Param: setup var_info and num_vars earlier
needed for AP_HAL startup
2012-12-20 14:52:29 +11:00
Andrew Tridgell 678947c65d Plane: more fixes for SITL and new AP_Param startup 2012-12-20 14:52:29 +11:00
Andrew Tridgell 8916b280fd SITL: filled in more of the HAL SITL backend 2012-12-20 14:52:29 +11:00
Andrew Tridgell e10e3ee3be AP_HAL: fixed argv declaration to match getopt() 2012-12-20 14:52:29 +11:00
Andrew Tridgell 964bc56aa2 DataFlash: reinstate SITL dataflash code 2012-12-20 14:52:29 +11:00
Andrew Tridgell 18824c7ef5 AP_HAL: expose argc/argv in hal.init()
used for SITL port
2012-12-20 14:52:29 +11:00
Pat Hickey ddafd4ffbb memcheck: need AP_HAL_Boards import for CONFIG_HAL_BOARD configs to make sense
* with great programming in c preprocessor comes great responsibility
2012-12-20 14:52:29 +11:00
Pat Hickey 5e63491994 ArduCopter: fix issues with HAL/HIL mixup and baro/compass instances 2012-12-20 14:52:29 +11:00
Pat Hickey 21d0da84a6 ArduCopter: temporarily disable AP_Param::setup_sketch_results
* rebased away tridge's AP_Param changes as they seemed possibly buggy?
2012-12-20 14:52:29 +11:00
Pat Hickey a0151aa66c ArduCopter: fix cliSerial null ptr, do AP_Param::setup_sketch_defaults
* plus make SITL DataFlash available.
2012-12-20 14:52:29 +11:00
Pat Hickey 1e48d0fc69 Makefile Targets rewritten to use per-target extension style 2012-12-20 14:52:29 +11:00
Pat Hickey 524e52f449 ArduCopter: changed makefile to inherit environments properly 2012-12-20 14:52:29 +11:00
Pat Hickey d93d932831 ArduCopter: defines fixes
Conflicts:

	libraries/AP_Common/Arduino.mk
2012-12-20 14:52:28 +11:00
Pat Hickey 2aa4657315 ArduCopter: changes to use CONFIG_HIL_BOARD 2012-12-20 14:52:28 +11:00
Pat Hickey f060df9747 AP_HAL_AVR: now that we can detect the APM revision, use wdt reboot on apm2 2012-12-20 14:52:28 +11:00
Pat Hickey ade7099d75 ArduCopter: add AP_HAL_MAIN 2012-12-20 14:52:28 +11:00
Pat Hickey 7622b725c9 AP_Limits: fixes to use hal.storage for eeprom access 2012-12-20 14:52:28 +11:00
Pat Hickey b0b3fa33b4 AP_Limits: fix for AP_Param var_info registration in AP_Limit_Module
* AP_Limit_Module class does not have its own var_info table.
2012-12-20 14:52:28 +11:00
Pat Hickey 5bd7046a95 ArduCopter: sketch cpp builds! 2012-12-20 14:52:28 +11:00
Pat Hickey 8b49208771 ArduCopter: some fixes 2012-12-20 14:52:28 +11:00
Pat Hickey 13c044ab3e ArduCopter: fixes to radio.pde 2012-12-20 14:52:28 +11:00
Pat Hickey 7af03127f6 ArduCopter: more work 2012-12-20 14:52:28 +11:00
Pat Hickey b90889dd11 ArduCopter: add ArduPlane's compat.h & compat.pde 2012-12-20 14:52:28 +11:00
Pat Hickey 70f4739522 ArduCopter: more fixes 2012-12-20 14:52:28 +11:00
Pat Hickey 4b84e99f85 remove dumb user hooks comments 2012-12-20 14:52:28 +11:00
Pat Hickey 901c692ee3 arducopter: type fix 2012-12-20 14:52:28 +11:00
Pat Hickey f281d9265e ArduCopter: reworked sonar analog source creation 2012-12-20 14:52:28 +11:00
Pat Hickey d9e0bbbbab ArduCopter: first pass at AP_HAL porting
* changed all the byte types to uint8_t
* fixed up much of the serial stuff
2012-12-20 14:52:27 +11:00
Pat Hickey 304afd45e1 AP_Limits: export all internal headers from AP_Limits.h 2012-12-20 14:51:40 +11:00
Pat Hickey b7a7eceef8 ArduCopter: add nocore.inoflag and Arduino.h 2012-12-20 14:51:40 +11:00