Commit Graph

14 Commits

Author SHA1 Message Date
Gautier Hattenberger 167b1768e5 Fix collection errors from ci (#3296)
* [chibios] remove unecessary option that makes a warning on H7

see ChibiOS forum: http://forum.chibios.org/viewtopic.php?t=5830

* [guidance] fix hybrid guidance

after merging #3248

* [natnet] remove call to function that doesn't exist

issue were only on verbose mode

* [conf] remove bebop_flip aiframe file

The FLIP mode is not supported anymore, better remove this example.
If flip is really needed, it should be implemented as a custom mode in
generated autopilot.
2024-06-11 14:26:53 +02:00
Freek van Tienen fbddc942b3 [chibios] Make constants consistent with different architectures (#2860) 2022-04-14 14:40:26 +02:00
alexandre bustico 6e6e2f11ce Update chibios fatfs lfn2 dmastack (#2806)
* [sdlog] update chibios and fatfs, fix bug due to DMA/cache issue

- sdlog on F7 was not using a DMA compatible ram for log thread
- update chibios for latest fix in 20.3.x branch
- update fatfs to v0.14 with pprz patch to suppress warnings
- factorize the ffconf.h file for all chibios boards
- set LFN option to 2 (use stack for long file name memory space)

* [sdlog] increase stack size to avoid stack overflow

Co-authored-by: Gautier Hattenberger <gautier.hattenberger@enac.fr>
2021-12-06 09:39:38 +01:00
Gautier Hattenberger 827f79eeb5 [build] ChibiOS binary is produced in OBJDIR folder
prevent unnecessary linking when uploading
2020-09-08 14:58:40 +02:00
Freek van Tienen 009b121cfd [ins] Add EKF2 from the PX4 ECL library (#2402)
* [abi] Add timestamp to AGL and BARO_ABS

* [make] Add support for c++0x for all architectures

* [math] Add air density calculation

* [gps] Add horizontal and vertical position accuracy

* [boards] PX4FMU change default baudrate and add SBUS

* [ins] Add EKF2

* [tests] Add Bebop2 with EKF2

* [nps] Fix jsbsim simulator initialisation and GPS accuracy
2019-04-12 23:12:31 +02:00
Gautier Hattenberger 1ddf343009 [build] allow compilation of C++ on stm32 (libopencm3 and chibios) 2018-09-05 15:31:03 +02:00
Gautier Hattenberger f3f0c7c043 [chibios] upgrade to chibios 18.2.2 (#2296)
port code and boards to latest stable chibios
also fix bug when time_t is 64 bits wide with meteostick
it should also remove most of the warnings with recent GCC 7
2018-07-19 15:47:28 +02:00
Gautier Hattenberger 4e5d863291 [board] support of the Chimera autopilot based on STM32F7 (#2018)
* [board] support of the Chimera autopilot based on STM32F7

- based on ChibiOS only (updated to master for proper support of F7)
- requires some specific ram for DMA operations
- SBUS driver updated and support of internal inverted logic option of F7

* [chibios] fix some compilation errors

* [chibios] fix some a few PR comments

- test less MCU types
- support F1 for uart driver
- more autodetect for VTOR_INIT

* use correct path

* choose a working version of chibios

* [chibios] fix some comments from PR review

- add some doc
- protect LED
- update TRUE/FALSE for lowercase
- pick a slightly older version of chibios (wrong path in makefile not
  fixed yet)
2017-02-23 10:31:50 -08:00
Gautier Hattenberger 73e93b0956 [chibios] Add support for a full ChibiOS arch (#1699)
[chibios] Add support for a full ChibiOS arch

This is replacing the previous mix chibios/libopencm3:
- all drivers are ported to the new arch
- it was hard to go forward and take advantages of the RTOS, now it is much easier
- switch to v3 of ChibiOS
- for now, it is functionaly the same than before
- the previous variable length array mechanism used internaly by the
  sdlog is replaced by a more efficient library called TLSF (allow
  constant time malloc/free)
2016-06-07 09:44:38 +02:00
Felix Ruess 6e75ed84e2 [build] use VPATH for pprzlink
for better dependency resolution and avoid having home/var/share/pprzlink instead of pprzlink in var/aircrafts/<AC>/<target>
2016-02-12 14:48:41 +01:00
Gautier Hattenberger 6dc4fe3c21 [build] fix some compilations warnings with chibios 2016-01-28 11:04:09 +01:00
Gautier Hattenberger 469f426598 [chibios] fix compilation with chibios
was broken when moving generators due to tricky dependency effect
2014-04-02 23:35:01 +02:00
Gautier Hattenberger 8af1bdac4e [usb] add usb-storage for apogee SD logger
[usb] fix usb-storage when mounting before starting log
2014-02-06 23:13:32 +01:00
Gautier Hattenberger 6ff0fc973b [chibios] add chibios-libopencm3 support
Only the realtime scheduler and SDIO driver from ChibiOS is used.
This brings the support of the SD log on Apogee boards. The current
solution is not fully satisfactory and is an intermediate solution
before switching to a 'pure' ChibiOS arch.
Some of the implementations can be cleaned and/or improved, but since it
is not a long term solution, I doubt it is worth the effort here.
Normal bare-metal libopencm3 code is of course still working.
Git submodules:
- chibios: 2.6.2
- fatfs: patched version for chibios+pprz
2014-01-24 12:59:08 +01:00