Laurent Lalanne
4c27a78072
OP-1674 Allow channel 250
2015-01-12 12:57:01 +01:00
Fredrik Arvidsson
c8c3a46735
Uncrustify
2015-01-09 21:49:03 +01:00
Mathieu Rondonneau
acc124cacb
OP-1625: DSM: more robust detection of resolution
...
This allows switching back and forth between 10 and 11 bit
code which prevents getting locked up in one or the other.
It also avoids a situation that can cause an infinite
recursion.
This changeset is cherry-picked from TauLabs (b7eaf87502085666d9738ae16c66170f187f3981).
Thanks to Taulabs for improving OpenPilot's DSM autodetect feature.
2014-12-30 21:29:06 -08:00
Mathieu Rondonneau
6844f8351d
run uncrustify.
2014-12-04 20:17:29 -08: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
Alessio Morale
99d73426b8
Uncrustify
2014-11-27 12:05:59 +01: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
Mathieu Rondonneau
b0cc9ce021
OP-1625: DSM2/DSMX autodetection of channel resolution.
2014-11-20 19:58:34 -08:00
Mathieu Rondonneau
1c6ac29218
OP-1625: DSM2/DSMX autodetection of channel resolution.
2014-11-18 19:35:57 -08:00
Werner Backes
4b68deb878
Disable the "preamble invalid" interrupt for the RFM22b module. It causes
...
high CPU load and isn't used anyway.
2014-11-16 20:16:02 +11:00
Werner Backes
d9a3fac502
Disable the "preamble invalid" interrupt for the RFM22b module. It causes
...
high CPU load and isn't used anyway.
2014-11-15 11:37:06 +01:00
Corvus Corax
c21d3d8a67
uncrustification!
2014-11-08 12:59:16 +01:00
Fredrik Larsson
2dc777304e
Merge remote-tracking branch 'origin/abeck/OP_1503v3-yaffs' into next
2014-10-31 10:09:39 +11:00
Alex Beck
e2b38d0d7d
Yaffs or dosfs now conditional linkage for simposix yaffs testing
2014-10-28 08:48:38 +11:00
Alex Beck
b4e3fe137b
Removed unrequired signals from handler
2014-10-25 20:01:32 +11:00
Alex Beck
c6aa4ed1d6
Added signal handler that on ctrl-c will unmount the yaffs device(s) and save to the em-norsim file
2014-10-25 19:55:56 +11:00
abeck70
942945850b
Merge branch 'next' into abeck/OP_1503v3-yaffs
2014-10-23 21:25:54 +11:00
a*morale
d1a229a9cb
OP-1553 OPLink does not work as non coordinator
...
Revert "OP-1535 - SPI:Use pio for small blocks"
This reverts commit 823a1afad2
.
2014-10-20 21:46:14 +02:00
Karl Knutsson
5ab924c07e
Revert "OP-1522 Robustness of OPLink radio"
...
This reverts commit 00d9c66867
.
2014-10-16 08:23:10 +02:00
Karl Knutsson
5ef8d3803d
Revert "OP-1530 Use rfm22b_dev->num_channels"
...
This reverts commit 4e365f6dff
.
2014-10-16 08:23:10 +02:00
Karl Knutsson
b69e222456
Revert "OP-1532 fix non-ppm mode"
...
This reverts commit 9fd4fb26b9
.
2014-10-16 08:23:10 +02:00
Alessio Morale
a9f35e2afe
Merge branch 'amorale/OP-1535_mpu_overhaul' into next
2014-10-16 00:51:02 +02:00
abeck70
de68e0179f
First round review comments
2014-10-14 17:17:59 +11:00
Alessio Morale
823a1afad2
OP-1535 - SPI:Use pio for small blocks
2014-10-11 09:57:25 +02:00
Stefan Karlsson
3285519380
OP-1536 Send only the available bytes, not the entire buffer, to the USB CDC RX callback function
2014-10-10 23:51:04 +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
Karl Knutsson
9fd4fb26b9
OP-1532 fix non-ppm mode
...
Always send packets from the coordinator.
Previously the coordinator only always sent packets
on channel 0. This scheme doesn't work with
with the change to use 32 channel.
2014-10-08 20:59:51 +02:00
Fredrik Larsson
cb6e9fda6d
Merge remote-tracking branch 'origin/havyan/oplink-0' into next
2014-10-08 08:02:48 +11:00
Karl Knutsson
4e365f6dff
OP-1530 Use rfm22b_dev->num_channels
...
Use the number of allocated channel from the num_channels field
in the pios_rfm22b_dev struct rather than from the maximum number
of possible of channels given the configured speed.
2014-10-07 22:50:52 +02: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
Karl Knutsson
1c6e9b3cc4
OP-1510 don't hard code tx_power to 100mW
2014-10-03 22:20:11 +02:00
Alessio Morale
8e2e534c60
Uncrustify/clean commented code
2014-10-03 11:41:26 +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
9cfd55d006
Merge branch 'amorale/OP-1507_gps_module_cpu_optimization' into next
2014-10-03 00:37:39 +02:00
Alessio Morale
ae9f30c729
OP-1477 - Fix mag exti config, set correct rate, set correct SPI speed for hmc5x83. Note: GPIO is disabled as it seems there is some issues with Exti on PB0
2014-10-01 02:07:46 +02:00
Alessio Morale
0ffb99f228
OP-1477 - Fix issue with quick request to DDC port, change baud rate to 57600, fix sys rate, optimize uart tx
2014-10-01 02:06:03 +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
93cf6b457f
OP-1507 - optimize com fifo usage when RX callback receives a single byte
2014-09-27 00:20:15 +02:00
Alessio Morale
7e789ccc69
OP-1379 - Clear output pin at the end of dma cycle
2014-09-25 00:59:39 +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
3c6a8e0395
OP-1379 - Prevent loosing any update to background notification and notifications with priority higher than current
2014-09-21 23:32:52 +02:00
Alessio Morale
7e73c59e90
OP-1476 - Fixes for Bootloader
...
- Allocate 10KBytes for bootloader;
- Replace pios_com_msg with pios_com for ssp support
- Change Speed to 9600 for higher reliability
2014-09-16 22:40:53 +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
81ae43ac40
OP-1275 - fix Watchdog
2014-09-16 22:40:50 +02:00
Alessio Morale
984a7a675c
OP-1275 - add ChangeBaud to PIOS_COM_MSG
2014-09-16 00:42:51 +02:00
Alessio Morale
20273e77aa
OP-1275 - Fix CPU usage due to uncleared irq flags
2014-09-16 00:42:51 +02:00
Alessio Morale
94c39caa50
OP-1275 - Fix PIOS_COM to be used with no PIOS_INCLUDE_FREERTOS defined
2014-09-16 00:42:51 +02:00
Alessio Morale
0c7f4905da
OP-1275 - Fix PiOS_EXTI
2014-09-16 00:42:51 +02:00
Alessio Morale
de4180f990
OP-1275 - Reenable usart after init in ChangeBaud
2014-09-16 00:42:51 +02:00
Alessio Morale
212170bcb9
OP-1275 Fix pios_delay DiffuS
2014-09-16 00:42:51 +02:00
Alessio Morale
3c2300ffda
OP-1275 Change several parameters const
2014-09-16 00:42:50 +02:00
Alessio Morale
0682e60053
OP-1275 Add a memory barrier before remapping the vector table
2014-09-16 00:42:50 +02:00
Alessio Morale
baad216810
OP-1275 uncrustification
2014-09-16 00:42:50 +02:00
Alessio Morale
55d52ceab0
OP-1275 Working initial PIOS_I2C implementation
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
5986e72a29
OP-1275 Add SPI Implementation. DMA block transfer needs to be fixed with handling for LDMA_TX and LDMA_RX
2014-09-16 00:42:49 +02:00
Alessio Morale
2ca1adafe5
OP-1275 support HSI oscillator, fix gpio, usart and sys (vector remapping not working yet)
2014-09-16 00:42:49 +02:00
Alessio Morale
7a3bc518c2
OP-1275 fixes unused vars in SPL
2014-09-16 00:42:49 +02:00
Alessio Morale
bb7d4aef04
OP-1275 fixes for ld scripts, fix for pios_delay timer setup. pios_sys
2014-09-16 00:42:49 +02:00
Alessio Morale
4d1e8cf5a7
OP-1275 F0 support: fix make scripts, bootloader size, linker scripts, add other missing pios drivers.
2014-09-16 00:42:49 +02:00
Alessio Morale
5ab9806279
OP-1275 add Stack_Change support
2014-09-16 00:42:48 +02:00
Alessio Morale
5a60c254ed
OP-1275 copy relevant F1 PiOS drivers (yet unmodified)
2014-09-16 00:42:48 +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
Alessio Morale
b4c1a856c7
OP-1274 Implement 4 bytes aligment for standard malloc (while keeping 8byte alignment for RTOS Stuctures) as done for M3
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
3d8d803c33
OP-922 Fix missing ppm_id to ppm_out_id rename
2014-08-16 16:58:16 +02:00
Stefan Karlsson
34983a2d28
OP-922 Fix typo in pios_tim.c
2014-08-16 16:58:15 +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
6c38eda192
OP-1395 - Reset log num when changing flight num. fix flight num update logic
2014-07-09 23:05:38 +02:00
Alessio Morale
61d26d7fd8
op-1395 - automatically increment flight number after disabling log.
2014-07-09 08:39:32 +02:00
Alessio Morale
03d03cfb06
OP-1395 add a vTaskDelay when waiting for dma transfer to complete when using FreeRTOS.
2014-07-08 02:54:17 +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
55b325966a
OP-1395 - Pack several objects on a single Debug Log "slot", after ten consecutive failures (log full) gives up trying to save to prevent wasting time. Use PIOS_Delay for timestamp
2014-07-08 02:47:09 +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
263fd64ab5
Merge branch 'amorale/OP-1274_freertos_v8.0.0' into next
2014-06-22 16:06:21 +02:00