Karl Knutsson
b0491da115
OP-1576: Remove unused tx_resent counter
...
Remove unused tx_resent counter and replace it with
rx_failure in link quality calculations.
2015-02-02 21:25:38 +01:00
Karl Knutsson
52c1080ffe
OP-1522 Robustness of OPLink radio
...
Increase number of channels to 32 for all bit rates.
Synchronize clock on all channels.
Go into failsafe after 4 or 8 (one_way_link) missed packets.
Don't stay on channel 0 if we dropped a packet.
2015-02-02 21:25:38 +01:00
Alessio Morale
632051c0ac
OP-1683 - Increase resolution for OneShot125 running timer at 8MHz, setup automatically rates for OneShot
2015-01-30 21:22:00 +01:00
Alessio Morale
1f95332ff4
OP-1683 - Implement servo synchronous update mode for F4
2015-01-23 23:50:51 +01:00
Alessio Morale
caa51253db
OP-1682 - Workaround overflow issue with pwm receiver inputs on shared timers.
2015-01-19 21:55:40 +01:00
Mathieu Rondonneau
4b00f6039d
OP-1626: Allow binding to happen within satellite binding window.
...
- This is working for satellite 22ms (genuines and clones).
- This change only affect revo.
2014-11-29 19:59:18 -08:00
Fredrik Larsson
1687ef7e8f
Merge remote-tracking branch 'origin/rel-14.10' into next
2014-11-23 12:15:32 +11:00
Fredrik Larsson
cd94410468
DSM Protocol removed flight firmware
2014-11-22 08:32:00 +11:00
Fredrik Larsson
1942d2ee30
Remove protocol enum
2014-11-22 07:44:55 +11:00
Corvus Corax
c21d3d8a67
uncrustification!
2014-11-08 12:59:16 +01:00
abeck70
942945850b
Merge branch 'next' into abeck/OP_1503v3-yaffs
2014-10-23 21:25:54 +11:00
Karl Knutsson
5ab924c07e
Revert "OP-1522 Robustness of OPLink radio"
...
This reverts commit 00d9c66867
.
2014-10-16 08:23:10 +02:00
Alessio Morale
4a8cfe3f86
OP-1535 - Refactor MPU6k driver to allow direct and fifo access based on configuration
2014-10-10 22:33:50 +02:00
Alessio Morale
9350bd65d9
OP-1535 - change sensor rate to 1KHz with software downsample to 500Hz
...
Allow per board SPI prescaler settings
2014-10-10 22:33:49 +02:00
abeck70
948d6546af
yaffs simposix ready for review
...
All yaffs changes for library inclusion, arm compilation, and simposix integration.
2014-10-10 13:21:06 +11:00
Fredrik Larsson
cb6e9fda6d
Merge remote-tracking branch 'origin/havyan/oplink-0' into next
2014-10-08 08:02:48 +11:00
Karl Knutsson
00d9c66867
OP-1522 Robustness of OPLink radio
...
Increase number of channels to 32 for all bit rates.
Synchronize clock on all channels.
Go into failsafe after 4 or 8 (one_way_link) missed packets.
Don't stay on channel 0 if we dropped a packet.
2014-10-03 22:20:11 +02:00
Alessio Morale
e553014596
Merge branch 'amorale/OP-1476_1477_1275_GPSV9_pios_firmware_bootloader' into next
2014-10-03 00:37:55 +02:00
Alessio Morale
9e0596c2c5
Merge remote-tracking branch 'origin/amorale/OP-1379_ext_led_notification_module_new' into next
...
Conflicts:
Makefile
flight/targets/boards/discoveryf4bare/firmware/Makefile
flight/targets/boards/revolution/firmware/Makefile
2014-09-29 21:26:31 +02:00
Alessio Morale
c772442723
OP-1477 - remove debug infos and add send some relevant informations using SYS message (firmware and board revision/info)
2014-09-24 01:06:41 +02:00
Alessio Morale
f2a0daac5c
OP-1477 - Add pios_ubx_ddc driver to handle i2c comms with UBlox GPS
2014-09-16 22:40:52 +02:00
Alessio Morale
984a7a675c
OP-1275 - add ChangeBaud to PIOS_COM_MSG
2014-09-16 00:42:51 +02:00
Alessio Morale
baad216810
OP-1275 uncrustification
2014-09-16 00:42:50 +02:00
Alessio Morale
cd7c76aa13
OP-1275 move implementation specific enums out of common pios_i2c_priv.h
2014-09-16 00:42:50 +02:00
Alessio Morale
7eca9f80e3
OP-1275 Initial commit for f0 support: add CMSIS, Std Peripheral drivers
2014-09-16 00:42:48 +02:00
Fredrik Larrson
d91db0af6f
Revert "Merge remote-tracking branch 'origin/proff/OP-1373_DSMFixes' into next"
...
This reverts commit a39e393274
, reversing
changes made to ebfdaf28b5
.
2014-09-08 02:31:02 +10:00
Fredrik Larrson
a39e393274
Merge remote-tracking branch 'origin/proff/OP-1373_DSMFixes' into next
...
Conflicts:
shared/uavobjectdefinition/hwsettings.xml
2014-09-08 01:54:59 +10:00
Fredrik Larrson
ebfdaf28b5
Merge remote-tracking branch 'origin/havyan/OP-1473_sbus_eof' into next
2014-09-08 01:35:39 +10:00
Alessio Morale
cf9329b8ee
OP-1440 - Change timing slightly to support also WS2812B
2014-09-06 12:12:11 +02:00
Alessio Morale
233dec6d8d
OP-1379 - Various fixes and additions
...
- Support blocks of led for notification (that is a certain number of leds between a min and a max index);
- Fix an issue with bogus colours on fast updates at LED N°0.
- Add NOTIFY_SEQUENCE_NULL to skip handling a specific alarm status;
- Adjust sequences and add Config and Receiver Alarms;
- fix issue with Alarm trigger/repetition;
- Enables Notify module only if a WS281x output is enabled.
- Add some documentation for sequence/alarm definitions (sequences.h)
- Make sequences more coherent. All GPS related info are now shown in green.
- Revert to original blinking rate for onboard led
- add Notify on DiscoveryF4Bare target
2014-09-06 12:11:53 +02:00
Karl Knutsson
ec0d44e1b0
OP-1473 Fix EOF handling for R7008SB
2014-09-04 18:15:36 +02:00
Corvus Corax
b64326208e
Merge branch 'next' into corvuscorax/OP-1456_struct_to_array_improvement
2014-08-31 18:43:48 +02:00
Corvus Corax
6faf1a73ac
OP-1456 get rid of cast_struct_to_array because it is error prone!
2014-08-24 00:16:34 +02:00
Stefan Karlsson
22e981ea87
OP-922 Mark PIOS_DEBUG_Panic with attribute noreturn
2014-08-16 16:57:50 +02:00
Alessio Morale
30df5de332
uncrustify
2014-08-13 15:54:52 +02:00
Alessio Morale
cefc182a5e
Merge remote-tracking branch 'origin/amorale/OP-1405_25qXXX_support' into next
2014-08-13 15:25:16 +02:00
Alessio Morale
1067ea59d1
OP-1379 - Split pios_ws2811.h in config and public api header
2014-08-12 22:19:30 +02:00
Alessio Morale
1f74977472
OP-1379 add base types for colour, Initial ext rgb led api definition
2014-08-12 09:44:44 +02:00
Corvus Corax
c5fae5ee84
Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation
2014-08-09 10:43:48 +02:00
Gasté Olivier
dfb21482f4
DSM protocol improvement
...
added item in DSM protocol in GCS
2014-08-08 13:14:39 +02:00
Alessio Morale
a6502518be
OP-1405 - Add support for 25qxxx series of flash memories
2014-08-02 23:05:36 +02:00
Alessio Morale
6a3cb7b808
OP-1403 - Add support for multiple hmc* devices
2014-08-02 20:48:41 +02:00
Alessio Morale
57a43a5587
OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one
2014-08-02 20:48:34 +02:00
Alessio Morale
2a8429320d
OP-1403 - Support HMC5983 temperature sensor/compensation
2014-08-02 20:48:24 +02:00
Alessio Morale
3c1b689224
OP-1403 - Add generic I2C/SPI HMC5x83 mag driver
2014-08-02 20:48:16 +02:00
Corvus Corax
5edb2dbae3
Merge branch 'andrecillo/OP-1317_IMU_wind_estimation' into corvuscorax/OP-1317_IMU_wind_estimation
2014-07-26 17:01:03 +02:00
Andres
d6a93cccaf
OP-1317 added M_2PI_F and M_2PI_D constants for 2*pi in pios_math.h
2014-07-23 08:03:12 +02:00
Alessio Morale
711c3609b6
OP-1395 - Add support for Fast read, explicitly set SPI clock speed to maximum allowed by all parts used
2014-07-08 02:53:25 +02:00
Alessio Morale
c6a773363f
Merge branch 'amorale/OP-943_add_malloc_for_ccsram' into next
...
Conflicts:
flight/pios/common/pios_adxl345.c
make/apps-defs.mk
2014-06-22 19:31:03 +02:00
Alessio Morale
a03ad41bab
Merge branch 'amorale/OP-1365_pios_instrumentation' into next
...
Conflicts:
flight/modules/Attitude/attitude.c
2014-06-22 19:13:46 +02:00
Alessio Morale
fa24d21237
OP-1365 fix comments
2014-06-18 02:01:16 +02:00
Alessio Morale
b3b90f1f66
OP-943 inline pios_mem function have issues with simposix.
2014-06-11 22:15:40 +02:00
Alessio Morale
6226aec2a7
OP-943 uses pios_mem API for heap allocation
2014-06-11 22:15:40 +02:00
Alessio Morale
d8f08a7916
OP-943 Add Malloc for "FastHeap" (ccsram)
...
- Use a separate mallocs for thread stack and RTOS structures heap
- Add a pios_mem API to be able to use fast ram (CCM) when available
2014-06-11 22:15:30 +02:00
Alessio Morale
622519b7c2
OP-1365 Flight code instrumentation API: add documentation to pios_instrumentation_helper, uncrustification
2014-06-10 22:13:20 +02:00
Alessio Morale
8ba5741f99
OP-1365 Flight code instrumentation API: Add some helper macros to simplify the addition of instrumentation code to a module.
...
Note: Look at next commit for an example use case.
2014-06-10 21:34:33 +02:00
Alessio Morale
698d132f9c
OP-1365 Flight code instrumentation API: Changed API to use handlers (opaque pointers) to counter struct instead of an index, fix Search function, create does check if coutner exists and return existing handler
2014-06-10 21:24:28 +02:00
Alessio Morale
a9f1d55fea
OP-1227 Fix high CPU usage: Optimize Memory usage in ADC driver.
...
- performs undersampling in two steps operating with a half buffer at time;
- Skip costly undersampling for Temperature channel;
- some optimizations to the downsample loops;
- apply compiler speed optimization to PIOS_ADC_downsample_data()
2014-06-08 22:01:05 +02:00
Alessio Morale
a0d68c6afb
OP-1227 Fix high CPU usage: Reduce Accel rate to 1600Hz, optimize sample reading, explicitly set bus speed
...
Note: Counter 0xA3450001 is the time it takes to transfer the requested number of samples
2014-06-08 21:33:18 +02:00
Alessio Morale
197d381937
OP-1365 Flight code instrumentation API: Add helper function to track mean period between its calls
2014-06-07 18:11:34 +02:00
Alessio Morale
520e721bdd
OP-1365 Flight code instrumentation API: PiOS Implementation
2014-06-06 22:15:18 +02:00
Alessio Morale
58bba31c72
Merge remote-tracking branch 'origin/amorale/OP-1312_pios_ws2811_driver' into next
2014-05-15 20:30:43 +02:00
Alessio Morale
8bbb56337b
OP-1312 keep pulse timings low to have more margin to handle bus contentions and irq response time.
2014-05-11 18:57:06 +02:00
Alessio Morale
e5d6726bb6
Merge remote-tracking branch 'origin/next' into amorale/OP-1302_updated_led_behaviour
2014-05-08 22:27:08 +02:00
Alessio Morale
19caa57dc6
OP-1312 fix copy/paste-naming issue
2014-05-03 11:45:30 +02:00
Alessio Morale
3897106f4d
OP-1312 remove boilerplate from config using macros.
...
Use four locations for ch1+update dma source to exploit fifo and memory read bursts
2014-05-01 10:33:44 +02:00
Alessio Morale
a0b857337f
OP-1312 Add support for Revolution (right now always active on pin3). Configurability not yet added
2014-04-26 18:40:59 +02:00
Alessio Morale
46f70a74c8
OP-1312 Initial version running on DiscoveryF4
2014-04-26 16:57:16 +02:00
Alessio Morale
f01cf66095
Merge remote-tracking branch 'origin/andrecillo/OP-1273_OP-1282_OP-1283_Diverse_Airspeedsensor_improvements' into next
...
Conflicts:
ground/openpilotgcs/src/plugins/systemhealth/systemhealthgadgetwidget.cpp
2014-04-15 21:52:34 +02:00
Alessio Morale
299f388245
OP-1302 Add a stub pios_notify API for user interaction/notifications
...
right now all notifications produces the same output, the DRAW_ATTENTION sequence
2014-04-13 17:42:57 +02:00
Philippe Renon
3b7b06aad0
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
2014-04-09 09:11:54 +02:00
Alessio Morale
6540c69698
Merge remote-tracking branch 'origin/andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO' into next
2014-04-01 22:05:12 +02:00
Andres
830f13596e
OP-1273 OP-1282 OP-1283 uncrustify
2014-03-31 22:17:58 +02:00
Andres
5ed417323e
OP-1273 OP-1282 OP-1283 bug fixes on I2C library: check for intialization and hot-plug robustness
2014-03-31 22:16:29 +02:00
Andres
7067f4f8ff
Merge branch 'andrecillo/OP-1283_SystemHealthGadgetWidget_updateAlarms_coordinate_calculation_correction' into andrecillo/OP-1273_OP-1282_OP-1283_Diverse_Airspeedsensor_improvements
...
Merged correction on coordinate calculation in SystemHealth gadget for correct display of Airspeed-Alarm
2014-03-28 17:01:44 +01:00
Andrés Chavarría Krauser
4dff86dc9c
OP-1273 New files for the MS4525DO PixHawk speed sensor: PIOS files and module files
2014-03-25 10:37:10 +01:00
Alessio Morale
519d74ad1b
OP-1026 fix review issues
2014-03-09 16:08:27 +01:00
Philippe Renon
b2168a4982
OP-1033 moved f1 specific usb include files to stm32f10x/inc directory
2014-03-02 14:46:01 +01:00
Alessio Morale
73d0b93829
OP-1026 Add a task monitor api to calculate idle percentage
2014-02-22 00:29:02 +01:00
Corvus Corax
7ec21a8f36
OP-942 duplicated exact API of task_monitor to also monitor callbacks
...
This allows cleaner and fine grained handling of STACKOVERFLOW alarms
2014-02-07 22:39:16 +01:00
Corvus Corax
9a6072d58c
Merge branch 'next' into corvuscorax/OP-942_task-diagnostics-for-callbacks
...
Conflicts:
flight/targets/boards/simposix/firmware/Makefile
2014-02-07 00:31:32 +01:00
Corvus Corax
6566a29054
OP-942 reliable and fast free stack test algorithm - will always 'see' overflows
2014-02-06 23:54:30 +01:00
Corvus Corax
723e22aa1a
OP-1211 time_measurement_helper
2014-02-04 19:05:17 +01:00
Corvus Corax
49a1c4c28f
OP-942 refactored callback scheduler to fit into PiOS naming scheme
2014-02-02 22:08:16 +01:00
Corvus Corax
5b9a17f630
OP-942 moved DelayedCallbackScheduler into pios/common
2014-02-02 20:31:37 +01:00
Alessio Morale
7188394e39
Uncrustification
2014-01-19 12:37:25 +01:00
Mikael Blomqvist
b1d2c1b83e
Adding R7008SB end byte as a possible end of frame check for S.Bus
2014-01-03 18:25:44 +01:00
Corvus Corax
be9faabe92
Merge branch 'next' into corvuscorax/onboardlogging
2013-11-26 00:34:01 +01:00
Alessio Morale
bacc4d3d79
Merge branch 'master' into next
...
Conflicts:
flight/targets/boards/oplinkmini/firmware/pios_board.c
ground/openpilotgcs/copydata.pro
2013-11-25 01:12:10 +01:00
Corvus Corax
fcc479f5cb
more intelligent log interfacing, including flash formatting option
2013-11-17 20:14:50 +01:00
Corvus Corax
6031200aea
Some fixes in debuglog to compile and run on all firmware platforms
2013-11-17 18:04:47 +01:00
Corvus Corax
a0746d87fa
Logging facility: logs debug data to logfs and exports it through container UAVObject
2013-11-17 02:54:26 +01:00
Alessio Morale
e91bc28667
OP-1058 Get rid of Unions.
...
They caused stack usage increase with -fstrict-aliasing as stack slots are not reused when dealing with unions.
It has now been added the cast_struct_to_array macro in pios_struct_helper.h to handle such case where it is useful to access those homogeneous structs as arrays
+review OPReview-552
2013-09-01 12:10:55 +02:00
Brian Webb
5ac1f33c47
Adds missing pios_gpio_priv.h
2013-08-02 22:01:44 -07:00
Brian Webb
e246ecf536
Moves pios_led functionality to pios_gpio and makes pios_led a thin layer over pios_gpio. Supports configuring multiple sets of GPIOs.
2013-07-28 07:01:08 -07:00
Richard Flay (Hyper)
c3e3521001
OP-1049: Hotfix to 13.06.02 for MPU6000 FIFO overflow on CC3D when board initialisation takes
...
longer than 150ms.
2013-07-28 01:16:22 +09:30
Alessio Morale
11bc7804d0
Merge branch 'amorale/OP-994_adc_cleanup' into next
2013-07-16 12:23:25 +00:00
Brian Webb
c2df59498b
Merge remote-tracking branch 'origin/master' into next
2013-07-06 07:08:30 -07:00
Brian Webb
491e5fe685
Adds a failsafe on PPM output on OPLink that kicks in when the link goes down. Also updates all air datarate settings and adds new 64 and 100 kbps modes.
2013-06-29 15:00:38 -07:00
Brian Webb
2aea2342ab
OP-932 Adds a direct PPM channel on each Tx packet when in PPM mode, and adds a PPM only mode that uses a 9600 bps air datarate. Also updates the OPLink configuration tab and moves all OPLink configuration to the OPLink configuration tab on the Revo, and customizes the OPLink configuration tab for the Revo.
2013-06-26 18:01:54 -07:00