Commit Graph

44 Commits

Author SHA1 Message Date
kc10kevin 1e68552a0c Initial FURYF3 Target 2016-06-05 05:53:27 -05:00
cmenard d174314692 Add Lux target 2016-02-02 23:03:08 +01:00
borisbstyle 52868ddc00 Merge commit 'fix_waiting_for_data_problem' into betaflight 2015-11-05 01:23:40 +01:00
ProDrone c40db74e61 Working - except when exiting from bootloader
Fixes the `Waiting for Data` problem in configurator when:

- Clicking on `Save and Reboot` button
- Clicking on `Flash Firmware`  button

When the system reboots after programming the new firmware it still
needs a connect/disconnect cycle to work normal. This cannot be solved
since the bootloader is a fixed program in ROM.

Fix is for F1 targets and only tested on naze boards.
2015-10-27 20:09:59 +01:00
borisbstyle eb138dc601 COLIBRI_RACE MPU_DATA_READY Handler
Colibri Race MPU INT support

revert some things

revert more

Update Colibri Race Binaries

Update target.h Colibri_race

Update Target.h
2015-10-16 12:41:49 +02:00
Dominic Clifton 4da387e93d More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.

MPU6050 Correction From merge
2015-10-16 10:40:54 +02:00
Dominic Clifton 9b054f6fde More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.
2015-10-15 23:04:55 +01:00
borisbstyle dae052632c Merge branch 'master' into betaflight
Conflicts:
	src/main/drivers/accgyro_mpu3050.c
	src/main/drivers/accgyro_mpu6050.c
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/accgyro_spi_mpu6500.c
	src/main/drivers/sensor.h
2015-09-15 23:36:40 +02:00
Dominic Clifton c6f5b98a79 Improve failure LED status flashing. Now users can identify and report
hardware failures by counting the number of long flashes.

Fix up sensor read API so that code that uses sensors can detect
malfunctions.

If a failure mode occurs in a debug mode the code reboots the system
rather than rebooting to the bootloader.
2015-09-12 01:33:19 +01:00
borisbstyle febee3fb90 Merge branch 'master' into betaflight
Conflicts:
	src/main/drivers/system.c
	src/main/rx/rx.h
2015-09-07 10:08:34 +02:00
Nicholas Sherlock f7530df974 Fix 1 millisecond backwards time leap in time measured by micros()
This race condition caused periodic flight instability when micros() was
called precisely on a 1000 nanosecond boundary.
2015-09-04 23:44:41 +12:00
borisbstyle c9c073b71a micros fix // timer bug F3 targets
This solves the twitching issues on F3 targets
2015-09-04 12:28:22 +02:00
Konstantin Sharlaimov bd6297f0cc Switch to cleaner way of detecting a soft-reset on STM32F103 based targets using RCC->CSR register. 2015-06-26 21:55:46 +01:00
Dominic Clifton 6d5b44df7a Fix boot failure on Flip32+ Deluxe Acro.
The problem was the MPU6050 EXTI handler was not registered due to baro
detection taking the only callback handler slot.  When the MPU6050 EXTI
was configured the interrupt flag was never cleared which results in the
CPU being starved.
2015-04-16 20:26:20 +01:00
Dominic Clifton 7f42149c30 Fix missing & operator. 2015-04-16 02:02:53 +01:00
Dominic Clifton c11c25514b SPRACING32/NAZE32 - Add support for MPU6050 data ready interrupt.
Currently the interrupt handler is unused.  Later it can be used as a
potential source for watchdog checking or to syncronize the system
around new acc/gyro data availability.

Verified on Naze32 rev 3/4/5 and SPRacingF3 targets.
2015-04-11 19:18:11 +01:00
Dominic Clifton 749160f20e Reset to bootloader after failure mode to allow re-flashing. 2015-04-08 20:07:48 +01:00
Petr Ledvina 9dd7faeefa Remove unneeded volatile 2015-02-23 09:17:06 +01:00
Kyle Manna c806046181 perms: Remove execute bit on source files
* Remove the execute bit on source files.
* No functional change.
2014-11-26 10:13:29 -06:00
Petr Ledvina e686b4504e Centralized NVIC priorities
- NVIC priorities are moved to separate file, all values are replaced wit symbolic names. Priorities should be the same.
- tiny change in DMA initialization
2014-10-23 16:48:35 +02:00
Dominic Clifton 50391f2c8e Use Naze hardware revision when initialising beeper. Cleanup inverted
beeper configuration.
2014-10-16 00:44:56 +01:00
Dominic Clifton 8ef70abaa0 NAZE32 - Add hardware revision detection. 2014-10-15 20:59:06 +01:00
Dominic Clifton da51b5c479 Add MPU6500 SPI driver. Move sensor initialisation defines into target
specific headers.
2014-10-14 00:22:54 +01:00
Dominic Clifton acbede5492 CC3D - Allow building of a binary that is compatible with the OpenPilot
CC3D bootloader to allow easy switching between OpenPilot and
Cleanflight.

Submitted by Alessio Morale -
http://forums.openpilot.org/topic/43569-baseflightcleanflight-ported-to-cc3d/?p=372149
2014-09-26 14:10:12 +01:00
Dominic Clifton 35280abfed Allow disabling of I2C for targets that do not use it. 2014-09-26 01:32:57 +01:00
Dominic Clifton 15cbeff86e STM32F3 - Remove some compiler warnings. 2014-09-26 01:07:06 +01:00
Dominic Clifton d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton 3d382ea4c7 EUSTM32F103RC - First cut of support for this High-Density STM32F103
series development board.

These boards can be picked up for less than $11, coupled with a 10DOF
sensor board they make a great development platform or cheap expandable
FC.

Pretty much all pins are available to be used, unlike on the less
capable and more expensive OLIMEXINO.
2014-09-03 01:38:27 +01:00
Dominic Clifton d762da7dac Fix build relating to inverter/pwm rssi compiler errors. 2014-08-02 00:43:39 +01:00
Dominic Clifton 4d9a672d9c CC3D / NAZE - Adding support for hardware controlled inverter for use by
SBUS RX.
2014-08-02 00:43:06 +01:00
Dominic Clifton 1d5ef51373 CJMCU - Add compass driver. Update I2C configuration. Use PPM and
Brushed motors by default.
2014-08-01 00:56:28 +01:00
dongie b3a718882c updated I2C driver to allow using I2C2 or I2C1 at compile time - call i2cInit with I2CDEV_1 or _2.
Applied same to SOFT_I2C driver (but the pin config is compile-time #define)

Conflicts:

	src/board.h
	src/drv_i2c.h
	src/drv_system.c
	src/main/drivers/bus_i2c_soft.c
	src/main/drivers/bus_i2c_stm32f10x.c
2014-07-30 22:38:59 +01:00
Dominic Clifton 668e8f1298 CC3D - Disable I2C for now. 2014-07-17 23:50:14 +01:00
Dominic Clifton 5f16cfb72a CC3D - Support MPU6000 Gyro/Acc and SPI 1/2. 2014-07-17 22:12:21 +01:00
Dominic Clifton e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton 0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton 32622da0ab Continuation of extracting peripheral configuration into drivers. 2014-06-04 14:53:34 +01:00
Dominic Clifton 16528cf0d9 Move some clock initialisation code into the drivers. 2014-06-04 11:14:13 +01:00
Dominic Clifton 8f2da892a6 Extract led and buzzer hardware initialisation from system.c. 2014-06-02 19:57:49 +01:00
Dominic Clifton d407a4d15e Start to break up drv/system.c to avoid #ifdef. 2014-06-02 18:43:47 +01:00
Dominic Clifton d0d53ac95f NAZE32PRO - Update timer configuration. Work in progress. 2014-06-02 13:09:58 +01:00
Dominic Clifton 3f8a6c0e20 Add VCP driver (work in progress) 2014-06-02 01:54:25 +01:00
Dominic Clifton 14448f4734 Merge branch 'naze32pro' - work in progress
Conflicts:
	Makefile
2014-05-31 22:50:05 +01:00
Dominic Clifton d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00