Commit Graph

29 Commits

Author SHA1 Message Date
Pat Hickey 7b5153c79b AP_HAL_AVR_SITL: main calls system_initialized 2013-01-10 14:37:22 -08:00
Pat Hickey a228519b18 AP_HAL_AVR_SITL: Implement new Scheduler methods 2013-01-10 14:07:43 -08:00
Pat Hickey dd27984eac SITL: instansiate EmptyI2CDriver with EmptySemaphore 2013-01-04 16:20:22 -08:00
Andrew Tridgell c16db01395 HAL_SITL: add pragma pack
may be needed on some systems
2013-01-05 08:01:30 +11:00
Pat Hickey bc3b6fcb9f AP_HAL_AVR_SITL: remove begin/end atomic, adjust timer procs 2013-01-03 17:33:14 -08:00
Andrew Tridgell 091c14a33e SITL: disabled buffering on stdout
this fixes the ArduPlane log dump
2012-12-24 08:00:57 +11:00
Andrew Tridgell 93040e5725 AP_HAL: removed the defer_timer_process() function
this is now unused
2012-12-21 20:01:42 +11:00
Andrew Tridgell 8d47a739a1 SITL: fixed a return value in snprintf functions 2012-12-20 22:46:22 +11:00
Andrew Tridgell 9931009db2 Math: use pythagorous2() in some more places 2012-12-20 15:16:18 +11:00
Andrew Tridgell 60d3df50ae AP_HAL: changed delay() to take a uint16_t
this allows for up to 32 second delays, and saves a bit of flash space
2012-12-20 14:53:23 +11:00
Pat Hickey 823efc4734 AP_HAL_AVR_SITL: implement BetterStream's vprintf methods 2012-12-20 14:53:22 +11:00
Pat Hickey ec8f08d743 AP_HAL_AVR_SITL: rename vprintf utility to print_vprintf 2012-12-20 14:53:22 +11:00
Pat Hickey 4c715bfd04 AP_HAL_AVR_SITL: add Util driver, fix deprecated deps on HAL_AVR.h 2012-12-20 14:52:37 +11:00
Andrew Tridgell 7ecf8981b9 SITL: added dummy SPI and make RCInput 50Hz 2012-12-20 14:52:34 +11:00
Andrew Tridgell e020694c03 SITL: fixed build of apm1/apm2 target 2012-12-20 14:52:34 +11:00
Andrew Tridgell abbe37be37 SITL: added emulated airspeed sensor on a pin 2012-12-20 14:52:33 +11:00
Andrew Tridgell 46f7c9e92b SITL: added basic analogin implementation 2012-12-20 14:52:33 +11:00
Andrew Tridgell 472b45bc2a SITL: fixed use of local printf() method in UART driver 2012-12-20 14:52:33 +11:00
Andrew Tridgell 7be507948f SITL: added SITL_State::loop_hook()
this prevents us using so much CPU time, and ensures stdout is flushed
2012-12-20 14:52:33 +11:00
Andrew Tridgell 0c9d37e2ee SITL: added RCInput and RCOutput 2012-12-20 14:52:33 +11:00
Andrew Tridgell dcc17dad94 SITL: added panic() method in scheduler 2012-12-20 14:52:33 +11:00
Andrew Tridgell 5f7f6966af SITL: fixed GPS and UART startup 2012-12-20 14:52:32 +11:00
Andrew Tridgell 334b96b375 SITL: switched to empty driver for unimplemented backends 2012-12-20 14:52:32 +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
Pat Hickey 63eb1dc85d AP_HAL_AVR_SITL: separate header for AP_HAL_MAIN and Private 2012-12-20 14:52:30 +11:00
Andrew Tridgell 8916b280fd SITL: filled in more of the HAL SITL backend 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
Andrew Tridgell d42cbb791f HAL_SITL: start filling in more of SITL framework 2012-12-20 14:51:40 +11:00
Pat Hickey 54bab59066 AP_HAL_AVR_SITL: add initial scaffolding 2012-12-20 14:51:38 +11:00