Commit graph

  • c1fcdabdc1 rearranged startup / sensor detection for production testing. moved dead gyro endless loop out of the way. dongie 2014-05-02 18:27:23 +09:00
  • 2d248676f5 slight refactoring of PPM/PWM failsafe to make it actually work and honor failsafeThreshold value. dongie 2014-05-02 16:12:31 +09:00
  • fbe2f82c05 STM32F30x - Enable serial PWM (PPM) input on PWM1. Dominic Clifton 2014-05-01 20:20:24 +01:00
  • 133f75a17b Update PWM driver so that all 10 PWM outputs work. Softserial also now works as expected. PWM/PPM input untested. UART2 probably broken. Dominic Clifton 2014-05-01 15:09:32 +01:00
  • cce4d4975d moved some of init logic around to get sensors + other important hardware checked first; added dummy implementation of production test for future use, outputting debug info over PB6 (USART1_TX remap) dongie 2014-05-01 19:05:13 +09:00
  • be5896f5b3 updated ADC driver to use more of available inputs, as well as made input selection more sane dongie 2014-05-01 19:03:58 +09:00
  • fd4bb1eb1c adding rxmsp to uvision project dongie 2014-05-01 12:37:20 +09:00
  • ef0c28ae0a Merge pull request #99 from treymarc/serialrx_msp dongie 2014-05-01 12:33:44 +09:00
  • 98bd9c5cda support 1S battery for voltage monitoring dongie 2014-05-01 12:24:48 +09:00
  • 9d15009ad3 check frameComplete treymarc 2014-05-01 05:22:06 +02:00
  • 25ec04763b add support for GPIO remapping (copied from stm32f_gpio.c) dongie 2014-05-01 12:10:33 +09:00
  • ed46b4e4ac add serial_rx msp treymarc 2014-05-01 05:06:36 +02:00
  • 8a5f424421 building hex for gps initialization fix dongie 2014-04-30 00:34:16 +09:00
  • 2c9849cd33 Merge pull request #97 from DTFUHF/master dongie 2014-04-30 00:32:00 +09:00
  • 5393d83e4d Set SBAS mode in GPS for worldwide use instead of exclusively European use DTF UHF 2014-04-29 11:23:49 -04:00
  • 7e79a245c2 Cobbled together some bits of code to read and format the gyro data from the L3GD29 gyro. Some code borrowed again from AQ32PlusF3 and the existing MPU6050 driver. Dominic Clifton 2014-04-28 22:29:51 +01:00
  • 5c9b16ccde Convert the acc readings so that the 1G value is correct. Dominic Clifton 2014-04-28 21:40:17 +01:00
  • 4febeb3969 Ported some I2C code from AQ32PlusF3 which itself looked ported from the STM32 examples. Dominic Clifton 2014-04-28 19:18:57 +01:00
  • cf780bbad6 Enable input filtering on input capture timers. kh4 2014-04-27 22:37:45 +03:00
  • 8d9ce86a5a get GPIO and USART ports working. Dominic Clifton 2014-04-25 15:19:28 +01:00
  • 2cc3a50c01 Avoid calling SetSysClock twice. Dominic Clifton 2014-04-25 12:10:51 +01:00
  • cde26ac1a2 Fix eeprom writing. Update some clocks. Add fake implementation of acc and gyro to allow the main loop to run. Dominic Clifton 2014-04-25 03:50:33 +01:00
  • f9ceb0c40f fix transposed gpio driver filenames and content Dominic Clifton 2014-04-25 01:17:08 +01:00
  • 0598704872 First commit of port to STM32F3DISCOVERY board. Dominic Clifton 2014-04-25 01:09:19 +01:00
  • fdddb841a4 Merge pull request #93 from hydra/3d-flight-midrc-fix dongie 2014-04-24 20:12:01 +09:00
  • dc3e7decbd BUG FIX - Fixes 3d flight mixer so that it uses midrc Dominic Clifton 2014-04-24 11:20:59 +01:00
  • e4cf3d941a BUG FIX - Fixes 3d flight mixer so that it uses midrc Dominic Clifton 2014-04-24 11:20:59 +01:00
  • 92f74ac0c2 Removing final dependency on board.h. Dominic Clifton 2014-04-24 02:12:47 +01:00
  • cb63f6e2b5 Remove telemetry_*.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-24 01:44:58 +01:00
  • 7af9ca4fdc Cleanup deprecated IMU code by using a union. Dominic Clifton 2014-04-24 01:13:29 +01:00
  • a6c22d2115 BUG FIX - Fixes 3d flight mixer so that it uses midrc Previously it was using a hardcoded value of 1500. Dominic Clifton 2014-04-24 00:23:00 +01:00
  • 695db3523a Remove flight_mixer.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-24 00:15:47 +01:00
  • bb91b1f560 Remove serial_msp.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-23 21:38:03 +01:00
  • aa84439b21 Disambiguate MAX_MOTORS and MAX_SUPPORTED_MOTORS Achieved by renaming MAX_MOTORS to MAX_PWM_MOTORS Dominic Clifton 2014-04-23 21:04:39 +01:00
  • a5f0999c26 Remove serial_cli.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-23 20:42:38 +01:00
  • bcc55abcc8 relocate comment to variable declaratiion Dominic Clifton 2014-04-23 19:58:39 +01:00
  • 8422723b15 Latest binaries. Dominic Clifton 2014-04-23 02:39:51 +01:00
  • e4c9fb585c Merge remote-tracking branch 'multiwii/master' Dominic Clifton 2014-04-23 02:38:39 +01:00
  • 11863e5c34 Avoid passing a uint8_t to a gyro method that is only used during gyro calibration. Conflicts: Dominic Clifton 2014-04-23 01:35:49 +01:00
  • 5a05de5da7 fixing some typos and inconsistencies in cli/set variable naming. dongie 2014-04-23 09:53:05 +09:00
  • 9d56b4a00f Remove sensor_initialisation.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-23 00:35:39 +01:00
  • e963496263 Remove sensor_compass.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-23 00:15:55 +01:00
  • 1464b7398a Remove sensor_sonar.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-23 00:05:11 +01:00
  • 53b7edd843 Add the name of the fork to the output of the cli version command. Dominic Clifton 2014-04-23 00:01:07 +01:00
  • e2550ee5e1 Remove sensor_barometer.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-22 23:46:25 +01:00
  • c08d0ac1b3 BUGFIX - gyro calibration too short when movement detected during calibration. Dominic Clifton 2014-04-22 20:39:44 +01:00
  • db9042757d Remove sensor_gyro.c's dependency on mw.h/board.h. Dominic Clifton 2014-04-22 20:14:52 +01:00
  • fbfb75b24a Remove sensor_acceleration.c's dependency on mw.h/board.h. In doing so accelerometer sensor and trim code had to be cleaned. Added a new method to buzzer.c to avoid exposing toggleBeep. Renamed current_profile to current_profile_index to avoid confusion. Dominic Clifton 2014-04-22 19:04:51 +01:00
  • b14b058fa0 add msp telemtry treymarc 2014-04-22 13:48:57 +02:00
  • 1092fa5b40 Latest binaries. Dominic Clifton 2014-04-22 02:47:08 +01:00
  • 56dc59722a Adding FIXME regarding content of flags_t. Dominic Clifton 2014-04-22 02:46:14 +01:00
  • 9f26018abd Cleanup baro/mag/gyro/acc method names from old sensors.c Dominic Clifton 2014-04-22 02:43:39 +01:00
  • 7e76fd6995 Fix OLIMEXINO build (no-baro) Dominic Clifton 2014-04-22 02:07:11 +01:00
  • fe89d40fa0 Remove main.c's dependency on mw.h/board.h. Moved pidControllers out of mw.c into flight_common.c/h. Moved appropriate code into rc_controls.c/h. Dominic Clifton 2014-04-22 01:58:23 +01:00
  • 2c80094b0e Remove gps_common.c's dependencies on the mw.h/board.h. Dominic Clifton 2014-04-22 00:37:35 +01:00
  • f8d0dd98f7 Split config_storage.h into config_master.h and config_profile.h to separate concerns and help reduce and clarify dependencies. Dominic Clifton 2014-04-21 23:08:25 +01:00
  • dab04de35e Fix typo in readme. Dominic Clifton 2014-04-21 20:50:09 +01:00
  • 05cce3a87b Latest binaries. Dominic Clifton 2014-04-21 20:37:33 +01:00
  • 3813c5027f Allow user provided sensor alignment to override NAZE defaults. Dominic Clifton 2014-04-21 16:16:28 +01:00
  • c6a482b3e0 Latest binaries. Dominic Clifton 2014-04-21 14:43:26 +01:00
  • 6c4caabfae Fixing failsafe initialisation, failsafe work as it did before e969d184e6 Dominic Clifton 2014-04-21 14:42:25 +01:00
  • 297609d4c3 Decouple sensor alignment from all acc/gyro/mag drivers. Dominic Clifton 2014-04-21 14:14:14 +01:00
  • 0f3e4add48 Latest binaries. Dominic Clifton 2014-04-21 12:44:04 +01:00
  • 3805af7821 fix FY90Q build (acc_t/gyro_t changes) Dominic Clifton 2014-04-21 12:39:23 +01:00
  • a3d2a3df2d Merge remote-tracking branch 'multiwii/master' Dominic Clifton 2014-04-21 12:29:19 +01:00
  • 12d4603edd Removing unused temperature member from acc_t. Dominic Clifton 2014-04-21 12:08:24 +01:00
  • 8875aad776 rename sensor_t to acc_t and gyro_t and remove unused variables from each. relocated acc_t/gyro_t from sensors_common.h into drivers/accgyro_common.h since they define an interface and the dependency was pointing the wrong way from the drivers. baro_t/acc_t/gyro_t dependences are all now pointing the right way. Dominic Clifton 2014-04-21 12:02:02 +01:00
  • b07ca4b4a1 building hex for recent changes; including EMF avoidance. dongie 2014-04-21 19:49:29 +09:00
  • 9f107545e2 Merge pull request #78 from schugabe/overclock dongie 2014-04-21 19:47:11 +09:00
  • b3430ae1be Remove flight_imu and flight_common.c's dependencies on the mw.h/board.h files. Move baro calibration code into sensors_barometer.c. Move other sensor variables into appropriate files. Dominic Clifton 2014-04-21 11:29:01 +01:00
  • 51f2487cf5 Update readme formatting. Dominic Clifton 2014-04-21 03:40:12 +01:00
  • 9b8a10a09f Updating makefile so the binaries are build with the name of the fork, in this case 'cleanflight'. Updating binaries to reflect this change. Dominic Clifton 2014-04-21 03:34:29 +01:00
  • 06b3e46b8b Updating the project readme. Dominic Clifton 2014-04-21 03:27:28 +01:00
  • 68b9b9062f Latest binaries. Dominic Clifton 2014-04-21 03:13:25 +01:00
  • 5cf5785848 Update failsafe in FY90Q pwm driver. Dominic Clifton 2014-04-21 03:12:43 +01:00
  • ca73413c72 Remove incorrect compiler warning about unused variable. Dominic Clifton 2014-04-21 03:05:46 +01:00
  • 007bc58859 de-duplicate EEPROM checksum calculation routines to reduce code size and improve code maintainability. Dominic Clifton 2014-04-21 02:42:55 +01:00
  • 299d062e73 Replace local variables with better named ones in writeEEPROM. Dominic Clifton 2014-04-21 02:10:17 +01:00
  • 54424bf3fb Cleanup EEPROM writing code. Dominic Clifton 2014-04-21 01:56:14 +01:00
  • bd95c38ff0 Cleanup EEPROM reset and validation methods so that it is obvious what the code is doing. There are now no EEPROM read/write/reset/verify methods that take any arguments which removes magic boolean variables from method signatures. Dominic Clifton 2014-04-21 01:36:06 +01:00
  • a012cb1c82 Decouple reading EEPROM from writing EEPROM. Now writeEEPROM() does only what it's name implies and it's method takes no arguments. This avoids the 0/1 magic numbers which was a flag to decide whether the user should be notified after the EEPROM has been read (!). Dominic Clifton 2014-04-21 01:18:15 +01:00
  • 3daaf66b14 Removed profile storage code from writeEEProm() to remove the boolean flag from the method signature. Now it is clear when the current profile needs to be stored. Dominic Clifton 2014-04-21 01:02:53 +01:00
  • e969d184e6 decouple failsafe from the rest of the system. Dominic Clifton 2014-04-21 00:46:16 +01:00
  • aef28c1c08 latest binaries with changes from multiwii/master merged in. Dominic Clifton 2014-04-19 01:13:27 +01:00
  • c7efcc0521 Merge remote-tracking branch 'multiwii/master' into project-structure-alternative Dominic Clifton 2014-04-19 01:12:13 +01:00
  • 63aff7566d Merge pull request #89 from treymarc/bf/msp_write_reboot dongie 2014-04-19 09:11:23 +09:00
  • 5758a42e77 { treymarc 2014-04-19 00:09:01 +00:00
  • b1f7a36ae5 update binaries. Dominic Clifton 2014-04-19 01:07:39 +01:00
  • 8bda006d97 fix FY90Q build. Dominic Clifton 2014-04-19 01:07:23 +01:00
  • 7c74e0e9ca do no msp_write_eeprom from msp if armed , tel the gui about the error treymarc 2014-04-19 00:04:37 +00:00
  • a7e4c859bd decouple cli/msp from each other. relocated non-msp code into serial_common.c/h. decouple runtime_config from serial ports. decouple buzzer from serial ports. decouple opening of the main serial port from the msp code. decouple serial rx providers from runtime_config. rename core_t to serialPorts_t since it only contained serial ports. It's now clear which files use serial ports based on the header files they include. Dominic Clifton 2014-04-19 01:01:31 +01:00
  • 2baf385b99 Remove mpu6050_scale from core_t by providing a sensor independent way of determining a revision code. Previously there was mpu6050 specific code in cli.c (the status command). Dominic Clifton 2014-04-18 23:30:48 +01:00
  • 94c0f87c45 Remove useServos from core_t since it's only needed for initial startup and by the mixer. main.c now asks the mixer if it needs to use servos and the mixer decides this in mixerInit(). Main already has a dependency on the mixer. This allows future commits to further clean up core_t which is still a source of dependency problems. Dominic Clifton 2014-04-18 21:15:50 +01:00
  • 7b079ca297 Remove code duplication for gimbal servo updates. Dominic Clifton 2014-04-18 21:04:10 +01:00
  • 799844d933 Provide temporary support for old clients that try and send a channel index instead of a servo middle when using MSP_SET_SERVO_CONF. Dominic Clifton 2014-04-18 20:47:35 +01:00
  • 3c1b0b1998 Use constants for PWM ranges instead of the magic numbers 0, 1000 and 2000. Dominic Clifton 2014-04-18 20:41:49 +01:00
  • be6ce96e5d Merge remote-tracking branch 'multiwii/master' into project-structure-alternative Dominic Clifton 2014-04-18 19:45:30 +01:00
  • b8e7c2d14f Fix servo middle/channel forwarding variable re-use. Adds a new capability flag which is returned by MSP IDENT (CAP_CHANNEL_FORWARDING). Adds two new MSP commands that are specifically for configuring channel forwarding (MSP_CHANNEL_FORWARDING/MSP_SET_CHANNEL_FORWARDING). Servo 'middle' and 'forward from channel' are now stored independently, as they probably should always have been. Dominic Clifton 2014-04-18 19:11:25 +01:00
  • 43258c045d build of latest binaries with spektrum 2048 8channel support. Dominic Clifton 2014-04-18 17:31:28 +01:00
  • f68fc17627 Cleaned up RX initialisation. Updated Spektrum RX code to support 12 channels when using Spektrum 2048 - untested. Renamed and extracted core_t.numRCChannels to rxConfig.channelCount so that future commits can clean up core_t further since core_t contains completely unrelated properties. Dominic Clifton 2014-04-18 17:25:53 +01:00