Alberto García Hierro
ba30bd9ab8
[CI] Trigger CI workflow on PRs coming from forks
2020-03-28 14:16:51 +00:00
Konstantin Sharlaimov
301dd301f2
Merge pull request #5545 from iNavFlight/agh_gh_ci_2
...
[CI] Make the GH CI test job require all the build jobs first
2020-03-28 12:27:06 +01:00
Alberto García Hierro
3ba7452351
[CI] Make the GH CI test job require all the build jobs first
...
This way we only need to mark the test job as required.
2020-03-28 10:11:53 +00:00
Konstantin Sharlaimov
2c6eba4bc6
Merge pull request #5544 from iNavFlight/agh_github_ci
...
[CI] Add GH action for CI
2020-03-28 10:52:42 +01:00
Alberto García Hierro
ace367beb1
[CI] Add GH action for CI
...
Add a workflow file which is triggered on every commit, runs the
tests and tries to compile all targets with -Werror.
On each run of the actions, all the built binaries are saved as
build artifacts, so this can be helpful for providing binaries
for testing.
2020-03-27 17:14:28 +00:00
Konstantin Sharlaimov
b8f4f0cf45
Merge pull request #5542 from iNavFlight/agh_fix_werror
...
[BUILD] Fix compilation with -Werror
2020-03-27 09:23:04 +01:00
Alberto García Hierro
9099634d3d
[BUILD] Fix compilation with -Werror
2020-03-26 23:54:43 +00:00
Alberto García Hierro
5ce0f326f7
Merge pull request #5539 from iNavFlight/agh_fix_double_added_cflags
...
[MAKE] Avoid adding our custom CFLAGS twice
2020-03-26 22:59:37 +00:00
Alberto García Hierro
67c6e9d6c8
[MAKE] Avoid adding our custom CFLAGS twice
...
We don't clear CFLAGS becase we want to allow them to be passed
via command line. However, when building a target we add our
custom ones once in the first parsing of the Makefile and then
again a second time when we invoke make recursively for each target.
This breaks compilation with -Werror.
To workaround this, save the initial CFLAGS in a variable, then
pass them to the recursive invocation of make.
2020-03-26 20:20:55 +00:00
Konstantin Sharlaimov
99949317d3
Merge pull request #5504 from sadsoldier/master
...
added FreeBSD OS identification as Linux
2020-03-26 20:19:56 +01:00
Konstantin Sharlaimov
b3c93ac229
Merge pull request #5487 from iNavFlight/de_vtx_fixes
...
[VTX] Remove unused check; Fix Pit mode CMS
2020-03-26 12:29:09 +01:00
Konstantin Sharlaimov
ef19601b68
Merge pull request #5536 from iNavFlight/agh_speedup_micros
...
[SYSTEM] Avoid performing a 64bit division in micros()
2020-03-26 12:28:47 +01:00
Konstantin (DigitalEntity) Sharlaimov
396f4cceeb
[SYSTEM] Reduce type witdth for usTicks to uint32_t to avoid unneccessary 64-bit math
2020-03-26 10:16:13 +01:00
Alberto García Hierro
ace2c35c5c
[SYSTEM] Avoid performing a 64bit division in micros()
...
Since the sub-ms step fits in an uint32_t, we can do the calculation
using just 32 bits, then perform a 64 bit add to the (ms * 1000)
value. This is way faster because cortex-m[4,7] do have 32 bit
integer division in HW, but not for 64 bit.
This reduces the number of cycles used by micros() from ~177
to ~57 (there's a small 3-4 cycle variance due to pipelining).
2020-03-25 22:16:38 +00:00
Konstantin Sharlaimov
3beaec79c2
Merge pull request #5527 from iNavFlight/de_acc_cal_robustness
...
[ACC] Make accelerometer calibration more robust
2020-03-24 16:36:15 +01:00
stronnag
659fef8338
enable embedded / rearmed JUMPs ( #5515 )
...
* Missions may contain multiple, embedded JUMPs
*The jump counter is reset to the designed value at the end of each jump so JUMP is re-entrant
* Save to EEPROM of a completed JUMP mission is correct and safe
2020-03-24 15:26:21 +00:00
Konstantin (DigitalEntity) Sharlaimov
ea174b4edf
[ACC] Make accelerometer calibration more robust
2020-03-24 14:39:28 +01:00
Paweł Spychalski
c872613fb8
Merge pull request #5524 from iNavFlight/dzikuvx-fix-mr-podhold
...
Remove PID iterm constrain for NAV PID controller
2020-03-23 14:51:21 +01:00
Paweł Spychalski
897e6920e2
Merge pull request #5518 from iNavFlight/dzikuvx-simplify-notch-q-computation
...
Simplify notch Q computation
2020-03-22 19:15:50 +01:00
Pawel Spychalski (DzikuVx)
169d75403d
Fix compilation
2020-03-22 16:27:22 +01:00
stronnag
1368e8e88b
* Accept JUMP WP in CLI wp command ( #5499 )
...
* Support WP p2 and p3 in CLI wp command
2020-03-22 15:09:11 +00:00
Paweł Spychalski
3918a704fb
Merge pull request #5500 from nmaggioni/nm_update_docker_toolchain
...
Sync Dockerfile with newer toolchain
2020-03-22 14:29:30 +01:00
Pawel Spychalski (DzikuVx)
c00c24924d
Simplify notch Q computation
2020-03-22 14:26:09 +01:00
Pawel Spychalski (DzikuVx)
d7fa48b2e6
Remove PID iterm constrain for NAV PID controller
2020-03-22 14:21:00 +01:00
Michel Pastor
0cb3ce4ede
Lower pos_hold_deadband minimum and default ( #5505 )
2020-03-21 23:07:02 +01:00
stronnag
7655d1871e
Support WP LAND ( #5485 )
...
Add LAND way point type
2020-03-20 14:15:58 +00:00
Konstantin Sharlaimov
588732d24c
Merge pull request #5509 from iNavFlight/de_remove_msp_displayport_alone
...
[OSD/CMS] Avoid initializing CMS when OSD is disabled
2020-03-20 09:54:48 +01:00
Paweł Spychalski
e31c9f2b2a
Merge pull request #5513 from snaewe/patch-1
...
Document telemetry sensor 0x450
2020-03-19 19:04:34 +01:00
Stefan Naewe
ee04f6fbb5
Document telemetry sensor 0x450
...
Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com>
2020-03-19 10:22:51 +01:00
Paweł Spychalski
1c31549c5c
Merge pull request #5508 from iNavFlight/dzikuvx-ustick-out-again
...
Revert "Merge pull request #5449 from iNavFlight/dzikuvx-ustick-to-fa…
2020-03-17 08:25:05 +01:00
Konstantin (DigitalEntity) Sharlaimov
416249a608
[OSD/CMS] Avoid initializing CMS when OSD is disabled
2020-03-16 20:20:46 +01:00
Pawel Spychalski (DzikuVx)
abe8b7f94f
Revert "Merge pull request #5449 from iNavFlight/dzikuvx-ustick-to-fastram"
...
This reverts commit c451c176ee
, reversing
changes made to 9cb3ada195
.
2020-03-16 15:21:34 +01:00
Paweł Spychalski
f987b1e10f
Merge pull request #5501 from iNavFlight/dzikuvx-fastram-rewise-part-2
...
Dzikuvx fastram rewise part 2
2020-03-13 17:39:56 +01:00
Oleg Borodin
1c2e1b5657
added FreeBSD OS identification as Linux
2020-03-13 10:02:22 +02:00
Pawel Spychalski (DzikuVx)
683449600e
Fix tests
2020-03-12 09:36:11 +01:00
Pawel Spychalski (DzikuVx)
fce005f7f9
Switch compiler to _Ofast for critical files
2020-03-11 21:48:57 +01:00
Niccolò Maggioni
9a3e65eb69
Sync Dockerfile with 02382d4
2020-03-11 21:02:27 +01:00
Pawel Spychalski (DzikuVx)
f26c189233
gyro, imu and other
2020-03-11 20:50:24 +01:00
Pawel Spychalski (DzikuVx)
0a443a958c
Fix always enabled RPM filter
2020-03-11 20:28:27 +01:00
Pawel Spychalski (DzikuVx)
0d0929aaa1
remove rpm filter from fast_code
2020-03-11 20:27:05 +01:00
Paweł Spychalski
63b0bd74ff
Merge pull request #5497 from iNavFlight/dzikuvx-fix-compilation-on-mac
...
Fix compilation on Mac
2020-03-11 16:05:59 +01:00
Pawel Spychalski (DzikuVx)
9a723680b7
Fix compilation on Mac
2020-03-11 13:18:33 +01:00
Paweł Spychalski
2f990a7799
Merge pull request #5489 from iNavFlight/dzikuvx-experimantal-gcc-optimizations
...
Allow some files to be compiled with -O2 instead of -Os
2020-03-11 10:40:56 +01:00
Paweł Spychalski
656e824f61
Merge pull request #5495 from iNavFlight/dzikuvx-remove-obsolete-code
...
remove obsolete code from gyroanalyse.c
2020-03-11 09:21:44 +01:00
Paweł Spychalski
2e773c5074
Merge pull request #5494 from iNavFlight/dzikuvx-osd-pg-version-bump
...
Bump osdConfig PG version
2020-03-11 09:21:24 +01:00
Pawel Spychalski (DzikuVx)
3b1e70ced2
remove obsolete code from gyroanalyse.c
2020-03-10 20:48:39 +01:00
Pawel Spychalski (DzikuVx)
c897f6bf47
Bump osdConfig PG version
2020-03-10 20:39:49 +01:00
Pawel Spychalski (DzikuVx)
200d61eed0
Drop minor functionality do fix warning
2020-03-10 20:31:49 +01:00
Pawel Spychalski (DzikuVx)
a6bdbe6f2e
Fix ftoa warning
2020-03-10 20:25:50 +01:00
Pawel Spychalski (DzikuVx)
4fc53b4bcd
Merge remote-tracking branch 'origin/development' into dzikuvx-experimantal-gcc-optimizations
2020-03-10 20:06:48 +01:00