1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

75 commits

Author SHA1 Message Date
Martin Budden
b20dbfb801 Added default features and default rx that can be set in the target.h file. 2016-06-07 20:16:06 +01:00
Martin Budden
a959e6aa27 Changed default CC3D_OPBL build to include pid_luxfloat. 2016-05-05 23:39:14 +01:00
Martin Budden
876fe536e6 Fixed CC3D related build flags. 2016-05-05 15:19:50 +01:00
Martin Budden
825475fd43 Added new debug mode to time pidloop subtasks. 2016-05-05 10:28:26 +01:00
4712
5a1cb21ad5 4way-if cleanup
removed superseded 1wire-uart and 1wire-vcp
2016-04-08 18:47:18 +02:00
borisbstyle
272932a93f Revert "Add escpassthrough to all targets"
This reverts commit 95a464b1ad.
2016-04-04 01:37:20 +02:00
4712
d32205d856 4way-interface 2016-04-02 17:07:12 +02:00
4712
85dc6b59d2 1wire-pass-through-vcp
also changed uart 1wire-pass-through to avoid need of FC reboot after
exit.
2016-04-01 01:58:18 +02:00
borisbstyle
95a464b1ad Add escpassthrough to all targets 2016-03-30 17:13:59 +02:00
borisbstyle
bca5514a48 Add DMA handlers to targets
add gtune to naze
2016-02-10 22:55:58 +01:00
borisbstyle
b745d9e480 Disable baro on CC3D target // More flash space 2016-02-09 11:40:02 +01:00
edusteinhorst
56e9278354 CC3D - don't share timer between PPM capture and motor output
A periodic glitch happens on AUX channels when using OneShot on CC3D,
especially with faster update loops. This is caused by a race condition
while forcing timer overflows and sharing the timer for PPM capture.
It causes the craft the fall out of the sky when using a switch to arm.

* Remap PPM in from S1_IN to S6_IN
* Remap RSSI_ADC from S6_IN to S3_IN
* Block PWM12/S6_OUT from being used with Oneshot/brushed motors so
TIM2 (PPM_IN timer) doesn't change prescaler or is manually overflowed
* Allow only one feature out of SOFTSERIAL/RSSI_ADC/SONAR, since they
will now share the same pin
* Update docs to reflect port changes and restrictions

This fixes cleanflight/cleanflight#1748,
fixes borisbstyle/betaflight#64, fixes borisbstyle/betaflight#127

fix BP6
2016-02-08 21:27:46 +01:00
Anders Hoglund
c5b8c2ff26 Re-enable BLACKBOX and disable GPS instead too fit CC3D_OPBL. 2016-01-16 19:46:52 +01:00
borisbstyle
85af28fd86 Remove SONAR and DISPLAY from CC3D target to free up enough Flash
free up some more space for CC3D
2016-01-14 15:20:03 +01:00
henn1001
d6c812f4fe Fix Selectable Buzzer Pin for CC3D -Cleanup 2015-12-30 23:48:56 +01:00
borisbstyle
dfcc3eb028 Fix Selectable Buzzer Pin for CC3D 2015-12-30 23:19:30 +01:00
4712betaflight
5f1540dbcb Changed disable beeper method.
Fix indentation level to 4.
Removed CLI support for 1wire pass through
2015-12-02 22:05:12 +01:00
4712
02b297afa7 Runtime ESC count / gpio / pin detection
Runtime ESC gpio/pin detection
Runtime ESC count detection
2015-11-13 18:32:57 +01:00
borisbstyle
5f12711c24 Easy compile option for buzzer on PIN6 2015-11-06 11:31:36 +01:00
borisbstyle
2b722b6f82 Merge remote-tracking branch 'digitalentity/cc3d-buzzer-on-pin6' into betaflight 2015-10-20 11:12:32 +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
borisbstyle
05dec6c21e Revert "Remove OpenPilot bootloader support."
This reverts commit 0150abf1bc.

Conflicts:
	src/main/target/CC3D/target.h
2015-10-15 09:59:29 +02:00
digitalentity
a2743f50e9 Moved buzzer to Out6
Removed PWM12 (Out6) from pwm_mapping
Updated documentation
2015-10-14 22:30:54 +10:00
borisbstyle
12c9f65f43 Merge branch 'master' into betaflight
Conflicts:
	Makefile
	docs/Cli.md
	src/main/config/config.c
	src/main/drivers/accgyro_mpu3050.c
	src/main/drivers/accgyro_mpu6050.c
	src/main/drivers/accgyro_mpu6050.h
	src/main/drivers/accgyro_spi_mpu6000.c
	src/main/drivers/accgyro_spi_mpu6000.h
	src/main/drivers/accgyro_spi_mpu6500.c
	src/main/drivers/accgyro_spi_mpu6500.h
	src/main/drivers/barometer_bmp280.c
	src/main/drivers/sensor.h
	src/main/flight/pid.c
	src/main/mw.c
	src/main/rx/rx.c
	src/main/sensors/initialisation.c
	src/main/target/CC3D/target.h
2015-10-07 17:12:54 +02:00
Dominic Clifton
233753009b Disable GTune on CC3D build (code size). 2015-10-06 21:25:53 +01:00
Dominic Clifton
123a4ccfc5 Merge branch 'GTune' of https://github.com/MJ666/cleanflight into
MJ666-Harakiri_PID_update

Conflicts:
	Makefile
	src/main/blackbox/blackbox_fielddefs.h
	src/main/flight/pid.c
	src/main/io/serial_msp.c
	src/main/mw.c
	src/main/target/ALIENWIIF3/target.h
	src/main/target/CC3D/target.h
	src/main/target/NAZE/target.h
	src/main/target/NAZE32PRO/target.h
	src/main/target/SPARKY/target.h
2015-10-06 20:16:37 +01:00
Dominic Clifton
d36da111b2 Delete autotune. 2015-10-06 19:38:02 +01:00
Michael Jakob
72ff296850 Enable G-Tune for CC3D (but not included in the OPBL version) 2015-10-04 18:37:23 +02:00
Dominic Clifton
85ba1eb0bd Add support for MPU6500 connected via I2C. 2015-10-02 15:43:44 +01:00
borisbstyle
0ea5a99e2b Merge remote-tracking branch 'prodrone/betaflight' into alphaflight 2015-09-19 16:44:11 +02:00
ProDrone
47afa51bd7 Merge branch 'quat_fsm_vfm_clean_yaw_hack_squash' into betaflight
Conflicts:
	src/main/mw.c
	src/main/target/CC3D/target.h
2015-09-19 14:59:47 +02:00
Konstantin Sharlaimov (DigitalEntity)
45a4f11f92 Added #define for imu debug output (+16 squashed commit)
Squashed local commits:

from       : e4265d4a13f63f82d5cf55eea2c091622f96660b
up to (inc): 72416dc74745fa8bae1aded79aa4b9ed0e389076
2015-09-19 14:50:53 +02:00
henn1001
fe717dfcc6 Fixed IRQ to EXTI3_IRQHandler
Changed IRQ functionname - no handler needed
2015-09-18 18:46:54 +02:00
henn1001
99e94a818c Added MPU6000 interrupt, work in progress 2015-09-18 13:48:45 +02:00
nathan
6e37b352e7 multiesc support for the cc3d 2015-09-02 00:38:39 +02:00
nathan
804e2268bd cc3d opbl target -- undef baro to get it to build
without this: region `FLASH' overflowed by 144 bytes
2015-09-02 00:31:51 +02:00
Richard Lehey
637fd64f36 Add support for new BMP280 barometer, modified files 2015-09-02 00:30:33 +02:00
nathan
5e16460c98 serial 1wire passthrough for ESCs with the BlHeli bootloader 2015-09-02 00:30:30 +02:00
Dominic Clifton
c1cb0d8864 CC3D - Display OLED DISPLAY on OPBL builds. 2015-08-03 21:19:20 +01:00
Dominic Clifton
b5e18a90a2 Cleanup CLI
* optimize for code size.
* consolidate error message handling.
* replace similar error messages with identical ones.
* shorten all strings where possible.
* made less verbose.

This was required for the CC3D OPBL build.
2015-06-29 03:30:17 +01:00
Dominic Clifton
0257cb0541 CC3D - Disable SONAR support on OPBL builds due to code size. 2015-05-23 11:49:48 +01:00
Dominic Clifton
4ed6fdfea5 CC3D - Add sonar.
This also ensures that the PWM mapping does not use the sonar pins when
sonar is enabled in a board agnostic way.
Conflicts:
	src/main/config/config.c
	src/main/drivers/pwm_mapping.h
	src/main/main.c
	src/main/target/CC3D/target.h
2015-05-22 22:35:41 +01:00
Dominic Clifton
d0a9d14b87 Allow CLI to be compiled out.
First cut, as proof-of-concept.  This allows CJMCU target to be built
without CLI and with Blackbox.
2015-05-19 23:42:41 +01:00
Dominic Clifton
266fe45b7e Temporarily disable autotune on the CC3D OPBL binary. 2015-03-02 11:50:15 +00:00
Nicholas Sherlock
57fcde05a3 Blackbox dataflash: Experimental CC3D support 2015-02-25 00:52:25 +13:00
Dominic Clifton
9057d70410 Allow excluding of servo code at compilation time.
This is in preparation for backbox on CJMCU/64k.

Flight tested on CJMCU.
2015-02-22 16:21:03 +00:00
Dominic Clifton
c45efac812 Cleanup sensor detection. Less code required and a similar pattern is used for each type of sensor. 2015-02-19 16:15:14 +00:00
Dominic Clifton
5760519a03 CC3D - Adding USB Virtual COM port suport.
You can now connect the configurator via the USB port.
2015-01-25 13:59:48 +01:00
Dominic Clifton
9e73dca591 CC3D - Use Flex port in I2C mode unless USART3 is used. Add I2C drivers
for compass, baro and display.
2015-01-22 19:19:43 +01:00
Dominic Clifton
b7850270c4 Cleanup CC3D/NAZE/OLIMEXINO ADC initialisation and PWM mapping. Fixes
#297.
2015-01-21 01:06:16 +01:00