Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aocodarcf4 #33

Open
wants to merge 567 commits into
base: unofficial_targets_backup
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
567 commits
Select commit Hold shift + click to select a range
d67a2b0
[Doc] update blackbox.md for 6.0 cli options (#8732)
stronnag Jan 24, 2023
900cf60
Delete setting_generate.c/h
Scavanger Jan 24, 2023
1af0e61
Fix tests
Scavanger Jan 25, 2023
ec49d0b
Merge branch 'iNavFlight:master' into bfhd
mmosca Jan 25, 2023
dfabcbd
limit update rate + use Ms
breadoven Jan 25, 2023
5a4f319
update
breadoven Jan 26, 2023
b75519d
Merge pull request #8737 from breadoven/abo_landing_detector_tweaks
DzikuVx Jan 27, 2023
bb79ad8
Merge pull request #8686 from breadoven/abo_manual_emerg_landing
DzikuVx Jan 27, 2023
62514d8
Merge branch 'iNavFlight:master' into bfhd
mmosca Jan 27, 2023
4a7a2a7
update
breadoven Jan 27, 2023
0e29fd3
Correct INAv to INAV
pwnept Jan 28, 2023
b9781ff
Merge pull request #8746 from pwnept/patch-1
MrD-RC Jan 28, 2023
881bfaf
Update Flight Mode operand in programming framework
MrD-RC Jan 28, 2023
f115462
add icm42688p support in MatekF411TE target
MATEKSYS Jan 28, 2023
3be7326
Merge pull request #8748 from MATEKSYS/MATEKF411TE_42688
DzikuVx Jan 28, 2023
90451dc
Merge pull request #8743 from breadoven/abo_landing_detector_fallback…
DzikuVx Jan 28, 2023
b355551
Merge pull request #8747 from iNavFlight/MrD_Update-flight-mode-opera…
DzikuVx Jan 29, 2023
0e796a7
ESP32 Radar: Replace side arrows with cardinal indicator
MrD-RC Jul 15, 2022
8112c8d
Improvements
MrD-RC Jul 15, 2022
285fa9b
Updates after flight test
MrD-RC Jul 16, 2022
01bb69b
Added OSD symbol for pan servo offset
MrD-RC Jul 18, 2022
10ebb5c
Added customisations and options
MrD-RC Jul 19, 2022
a29726c
Updated docs
MrD-RC Jul 20, 2022
8c46e5a
PG bump
MrD-RC Jul 20, 2022
88b17e3
Update settings.yaml
MrD-RC Jul 20, 2022
7649c5f
Updated the `osd_pan_servo_index` max to 16
MrD-RC Jul 20, 2022
64b23db
Fixed a miscopy/paste
MrD-RC Jul 22, 2022
40cce65
Fixed incorrect degrees in centre position
MrD-RC Oct 2, 2022
3b13709
Reverse pan direction of offset OSD element
MrD-RC Jan 20, 2023
215075a
Add a mapping for 3D kph and mph symbols
DzikuVx Feb 2, 2023
b576b8d
Merge pull request #8761 from iNavFlight/dzikuvx-bf43compat-3d-speed-…
DzikuVx Feb 3, 2023
e97c7a6
Add a mapping for 3D kph and mph symbols
DzikuVx Feb 2, 2023
c5e4bcd
ahrs parameter names change
shota3527 Feb 4, 2023
bdb9ac9
ahrs paramter name change
shota3527 Feb 5, 2023
1a75f11
Merge pull request #8699 from iNavFlight/MrD_ESP32-Radar-use-cardinal…
MrD-RC Feb 5, 2023
61b88d1
Fix WS2812 led definition
mmosca Feb 5, 2023
400c72a
Merge pull request #8770 from iNavFlight/mosca-blitz-f722-led-fix
DzikuVx Feb 6, 2023
dad0c3d
Merge pull request #8767 from shota3527/ahrs_parameter_rename
DzikuVx Feb 6, 2023
f3de644
osd batt cleanup
breadoven Feb 7, 2023
d4cdab4
Initial test setup
mmosca Feb 7, 2023
445b4e8
Move format centi function to a separate ifdef
mmosca Feb 7, 2023
92ec1db
Change ifdef for easier unit testing
mmosca Feb 7, 2023
6665b6a
Tests are running
mmosca Feb 7, 2023
ad219fa
Unit tests to valid issue
mmosca Feb 7, 2023
24bbe6e
Handle special case when only . is left to keep numbers aligned to th…
mmosca Feb 7, 2023
bd3caf6
Add comment
mmosca Feb 7, 2023
595b17b
formatting changes
mmosca Feb 7, 2023
f727232
Move things around for build.
mmosca Feb 7, 2023
14404e0
Cleanup changes and move testable code to a separate file
mmosca Feb 8, 2023
994e0b2
Cleanup includes
mmosca Feb 8, 2023
2113217
Merge pull request #8776 from iNavFlight/mosca-8769-bf43compat-curren…
DzikuVx Feb 8, 2023
7dcf095
Simplify and fix altitude processing for BF43COMPAT
DzikuVx Feb 8, 2023
4f7dc8e
Fix casting
DzikuVx Feb 8, 2023
92b237e
Merge pull request #8779 from iNavFlight/dzikuvx-simplified-altitude-…
DzikuVx Feb 8, 2023
fed5044
Merge branch 'iNavFlight:master' into bfhd
mmosca Feb 8, 2023
3ad11fb
remove unused code
breadoven Feb 8, 2023
9c32094
[tools] add script used to generate RN new/changed/removed settings s…
stronnag Feb 9, 2023
c5fa502
Merge branch 'iNavFlight:master' into bfhd
mmosca Feb 10, 2023
c352dcf
Update cms.c
breadoven Feb 12, 2023
389e9e9
add at32 bsp driver lib
shanggl Jan 29, 2023
a502106
add support for at32 chips
shanggl Jan 29, 2023
1df3f07
add support for lsm6dxx imu
shanggl Jan 29, 2023
b8d263b
fix bug flashdrivers idx overflow
shanggl Jan 29, 2023
37c417e
add three targets based on at32 chips
shanggl Jan 29, 2023
507f61d
Update Programming Framework.md
MrD-RC Feb 13, 2023
eba9413
Merge pull request #8797 from iNavFlight/MrD_Extended-PF-docs
MrD-RC Feb 13, 2023
1754be6
Merge pull request #8793 from breadoven/abo_cms_eeprom_save_fix
breadoven Feb 13, 2023
aadf5ec
Update Temperature sensors - add picture to docs
WizzX-FPV Feb 15, 2023
2cad65a
Make CLI string input uppercase
MrD-RC Feb 16, 2023
07533c2
docs/Programming framework: Fix typo, add examples
sensei-hacker Feb 17, 2023
df2dd92
Merge pull request #8804 from iNavFlight/MrD_Force-string-input-for-p…
MrD-RC Feb 18, 2023
fb4553a
Merge pull request #8805 from sensei-hacker/plc_examples
DzikuVx Feb 18, 2023
13d4257
Enhance Linear Descent RTH feature
MrD-RC Feb 19, 2023
2941f7b
OSD updated leveltrim
tiriad Feb 19, 2023
e2810cc
Add files via upload
WizzX-FPV Feb 19, 2023
2fd91cc
Delete 218416736-b30f364f-aaeb-426e-b211-ea7ef1f3c20e.png
WizzX-FPV Feb 19, 2023
877d3bb
Update Temperature sensors.md
WizzX-FPV Feb 19, 2023
2fa94c5
Update Temperature sensors.md
WizzX-FPV Feb 19, 2023
5f0d902
add icm42688p support in MATEKF405SE target
MATEKSYS Feb 21, 2023
e64fd86
Merge pull request #8811 from WizzX-FPV/master
DzikuVx Feb 21, 2023
6200bb8
Update navigation_multicopter.c
breadoven Feb 21, 2023
2dc400c
Add AUTOLEVEL message and updated pitch trim
tiriad Feb 21, 2023
9330784
Merge branch 'master' of https://github.com/iNavFlight/inav into SITL
Scavanger Feb 21, 2023
217bb27
Update Windows 11 - VS Code - WSL2 - Hardware Debugging.md
whsMCU Feb 22, 2023
fc978a9
Merge pull request #8813 from breadoven/abo_landing_detection_failsaf…
DzikuVx Feb 22, 2023
feb65f1
Merge pull request #8812 from MATEKSYS/MATEKF405SE_42688
DzikuVx Feb 22, 2023
ef03605
Bugfix
Scavanger Feb 22, 2023
998493e
Update VTx.md
MrD-RC Feb 23, 2023
db9911a
Merge pull request #8821 from Scavanger/ContinuousServoAutotrim-Fix-I…
DzikuVx Feb 23, 2023
085b6ce
Merge pull request #8825 from iNavFlight/MrD-VTx-doc-update-(1G3SE)
MrD-RC Feb 23, 2023
f330bdd
Bugfixes and prepare configurator integration
Scavanger Feb 23, 2023
351c4ec
Revert "Bugfixes and prepare configurator integration"
Scavanger Feb 23, 2023
aa999a6
Improved wind estimator - stale reading state
MrD-RC Feb 27, 2023
f47851b
Merge pull request #8832 from iNavFlight/MrD_Fix-wind-estimator-units…
MrD-RC Feb 27, 2023
45342f6
show pitot failure status on osd
RomanLut Feb 27, 2023
936a7fd
use pitot values only if healty
RomanLut Feb 27, 2023
78b2fad
AXISFLYINGF7PRO target
nmaggioni Feb 27, 2023
eaf4f6b
Merge pull request #8831 from nmaggioni/nm_axisflying_f7pro
DzikuVx Mar 1, 2023
33223a6
Merge pull request #8815 from tiriad/Updated-level-trim-OSD-field-and…
DzikuVx Mar 1, 2023
18c1f07
Add ICM42688 to Betafpv F722 #8841
mmosca Mar 2, 2023
5d59914
SpeedyBee F405 Wing
DzikuVx Mar 2, 2023
9f55615
Drop not needed file
DzikuVx Mar 2, 2023
f71f2c3
Add MSP_BATTERY_STATE
mmosca Mar 2, 2023
f3c8bd0
Merge pull request #8846 from iNavFlight/mmosca-8840-o3-battery-volta…
DzikuVx Mar 3, 2023
e77b2f0
Also add BMI270
mmosca Mar 3, 2023
154ea34
- Bugfixes
Scavanger Mar 5, 2023
82be7d6
Merge branch 'SITL' of https://github.com/scavanger/inav into SITL
Scavanger Mar 5, 2023
1307549
WIndows Build for CI
Scavanger Mar 5, 2023
e1cbf96
X-Plane bugfix
Scavanger Mar 6, 2023
d90280e
Rangefinder OSD Element Bugfix
Scavanger Mar 6, 2023
d8b975a
Merge branch 'master' of https://github.com/RomanLut/inav into submit…
RomanLut Mar 6, 2023
efef4df
Merge branch 'master' of https://github.com/RomanLut/inav into submit…
RomanLut Mar 6, 2023
060973d
Drop the moron threshold
DzikuVx Mar 6, 2023
2aaefd4
Docs update
DzikuVx Mar 6, 2023
7e6f104
Fix compilation is OSD is disabled
DzikuVx Mar 6, 2023
5c5bf3b
not even INAV should dereference NULL pointers
stronnag Mar 6, 2023
bd28071
Merge pull request #8862 from iNavFlight/handle_no_osd_in_status
DzikuVx Mar 7, 2023
ba55f70
Initial mods
rmaia3d Mar 7, 2023
cafa34d
Update navigation_multicopter.c
breadoven Mar 7, 2023
7294618
Update rc_controls.c
breadoven Mar 7, 2023
b9e1de0
Fix typos and add HDOP
rmaia3d Mar 8, 2023
05092fb
Update navigation_multicopter.c
breadoven Mar 8, 2023
f4b7f57
Streamline code for mah/km display
rmaia3d Mar 8, 2023
d98beef
Add pre-processor checks for if BFCOMPAT mode is not supported
rmaia3d Mar 9, 2023
2887847
Merge pull request #8870 from breadoven/abo_disable_stick_commands_ac…
DzikuVx Mar 10, 2023
5895e1e
Drop D-term LPF2 as no longer used. First filter PT2 gives equivalent…
DzikuVx Mar 12, 2023
2452275
Update docs
DzikuVx Mar 12, 2023
1a058ac
Enable USE_SERVO_SBUS on all targets
DzikuVx Mar 12, 2023
692fe65
Allow scheduler to go down to 10us period
DzikuVx Mar 12, 2023
e7c9320
Drop FrSky D-series telemetry
DzikuVx Mar 12, 2023
728f291
Docs update
DzikuVx Mar 12, 2023
4f7d53d
Cleanup
DzikuVx Mar 12, 2023
5c6b682
Fix distance field and add total trip distance
rmaia3d Mar 12, 2023
c9a2c2c
Fix scaling of altitude and distance fields
rmaia3d Mar 13, 2023
e7a04fa
INAV 7
DzikuVx Mar 14, 2023
2f42925
INAV 6.1
DzikuVx Mar 14, 2023
0641d90
Show loiter instead of poshold in OSD for fixed wing
MrD-RC Mar 16, 2023
4597bce
Add SS on UART2 TX
DzikuVx Mar 20, 2023
dfb2415
Create target.h
HKR1987 Mar 21, 2023
257b53f
Create target.c
HKR1987 Mar 21, 2023
9f8b5aa
Change target name
HKR1987 Mar 21, 2023
d67122b
Add configs to Blackpill
HKR1987 Mar 21, 2023
c704260
Add 25Mhz HSE value
HKR1987 Mar 21, 2023
084101a
Merge pull request #8570 from YI-BOYANG/master
DzikuVx Mar 21, 2023
1154180
add option OSD or FLASH for Blackpill
HKR1987 Mar 21, 2023
27f610c
Add MPU6500 and MPU9250 for Blackpill
HKR1987 Mar 21, 2023
ede9774
Update system_stm32f4xx.c
HKR1987 Mar 21, 2023
be886be
edit cmake - skip releases
HKR1987 Mar 21, 2023
3fc1467
Add files via upload
HKR1987 Mar 22, 2023
4649120
Create BLACKPILL_F411.md
HKR1987 Mar 22, 2023
d29cb12
Create BLACKPILL_F411.md
HKR1987 Mar 22, 2023
b555335
Update BLACKPILL_F411.md
HKR1987 Mar 22, 2023
a55fb19
Add files via upload
HKR1987 Mar 22, 2023
e346994
Merge branch 'release_6.0.0' into release_6.1.0
DzikuVx Mar 23, 2023
71d34fd
Enable Auto RC Smoothing by default
DzikuVx Mar 23, 2023
ad3adc6
Update BLACKPILL_F411.md
HKR1987 Mar 23, 2023
b19c830
Merge pull request #8886 from iNavFlight/dzikuvx-inav-7
DzikuVx Mar 23, 2023
98547c3
Merge pull request #8876 from iNavFlight/dzikuvx-enable-servo-sbus-al…
DzikuVx Mar 23, 2023
d1f1525
Merge pull request #8763 from iNavFlight/release_6.0.0
DzikuVx Mar 23, 2023
c0a623b
Merge pull request #8875 from iNavFlight/dzikuvx-drop-dterm-lpf2
DzikuVx Mar 23, 2023
e197213
Merge pull request #8878 from iNavFlight/dzikuvx-drop-frsky-d-telemetry
DzikuVx Mar 23, 2023
e891f98
Merge pull request #8877 from iNavFlight/dzikuvx-adjust-scheduler-limit
DzikuVx Mar 23, 2023
81783f2
Merge pull request #8780 from breadoven/abo_osd_battery_cleanup
DzikuVx Mar 23, 2023
8c1a6b7
Merge pull request #8867 from breadoven/abo_multirotor_trackback_no_s…
DzikuVx Mar 23, 2023
4be5a2f
Merge pull request #8860 from iNavFlight/dzikuvx-fix-compilation-with…
DzikuVx Mar 23, 2023
a664cce
Merge pull request #8857 from RomanLut/submit-use-pitot-if-healthy
DzikuVx Mar 23, 2023
6b7d781
Merge pull request #8856 from RomanLut/submit-pitot-failure-osd-display
DzikuVx Mar 23, 2023
b074e67
Merge pull request #8842 from iNavFlight/8841-betafpv-f722-aio-icm426…
DzikuVx Mar 23, 2023
65fbe04
Merge pull request #8908 from iNavFlight/dzikuvx-enable-auto-rc-smoot…
DzikuVx Mar 23, 2023
3c7bbdb
Merge pull request #8853 from Scavanger/Rangefinder-OSD-Bugfix
DzikuVx Mar 23, 2023
f7f93f7
Merge pull request #8859 from iNavFlight/dzikuvx-moron-threshold
DzikuVx Mar 23, 2023
eab8b52
Merge pull request #8818 from whsMCU/patch-1
DzikuVx Mar 23, 2023
79840a7
Merge pull request #8752 from flightng/add-at32-bsp
DzikuVx Mar 23, 2023
acca688
Set ALLOW_BYPASS as default nav_extra_arming_safety
DzikuVx Mar 23, 2023
adb9129
Merge pull request #8892 from iNavFlight/MrD_Show-loiter-instead-of-p…
DzikuVx Mar 23, 2023
6ff514d
Merge branch 'release_6.1.0' into SITL
Scavanger Mar 23, 2023
1838188
Update timer_def.h
Scavanger Mar 23, 2023
de0494d
Update exti.c
Scavanger Mar 23, 2023
11612a2
Update osd.c
Scavanger Mar 23, 2023
5e739e9
Update osd.c
Scavanger Mar 23, 2023
ea69f9c
Update sitl.cmake
Scavanger Mar 23, 2023
819a75e
Update bus.c
Scavanger Mar 23, 2023
74cc4d8
Merge pull request #8731 from Scavanger/SITL
DzikuVx Mar 24, 2023
22e343c
Merge remote-tracking branch 'origin/release_6.0.0' into dzikuvx-spee…
DzikuVx Mar 24, 2023
7e7efe4
Merge pull request #8911 from iNavFlight/dzikuvx-speedybeef405wing
DzikuVx Mar 24, 2023
4fa7e50
Merge branch 'release_6.0.0' into release_6.1.0
DzikuVx Mar 24, 2023
227311f
Pull all servos to min when disarmed if thr is mixed in
DzikuVx Mar 25, 2023
ca19651
Update GCC to 10.3.1
DzikuVx Mar 25, 2023
064a809
6.1.0 sitl interop (#8913)
stronnag Mar 26, 2023
fb55800
Merge pull request #8912 from iNavFlight/release_6.0.0
DzikuVx Mar 26, 2023
83a77e7
Merge pull request #8902 from HKR1987/Blackpill_f411v2
mmosca Mar 26, 2023
6e2c273
Merge pull request #8916 from iNavFlight/dzikuvx-hold-thr-low-for-ser…
DzikuVx Mar 26, 2023
5f1de24
Merge pull request #8909 from iNavFlight/dziukvx-set-bypass-as-default
DzikuVx Mar 26, 2023
593f7ba
Merge pull request #8866 from rmaia3d/bfcompat_mods
DzikuVx Mar 26, 2023
46fba67
Merge branch 'master' into MrD_Enhance-RTH-Linear-Descent
MrD-RC Mar 27, 2023
b71148e
parameterise and reduce TASK_SERIAL rate (#8921)
stronnag Mar 28, 2023
3851b96
Update Betaflight 4.3 compatible OSD.md
mmosca Mar 29, 2023
1c60eed
Merge pull request #8707 from mmosca/bfhd
mmosca Mar 29, 2023
168af47
add support for MPU9255 IMU
VasilKalchev Mar 29, 2023
c22b23a
- Improve BF compatible character and icon mappings
rmaia3d Mar 30, 2023
0e4eead
Merge pull request #8926 from rmaia3d/bfcompat_mods2
DzikuVx Mar 30, 2023
97f3f9f
Merge pull request #8917 from iNavFlight/dzikuvx-gcc-update
DzikuVx Mar 30, 2023
c87d641
Revert "Improvements to BFCOMPAT character and icon mappings"
mmosca Mar 30, 2023
c48a884
Merge pull request #8928 from iNavFlight/revert-8926-bfcompat_mods2
mmosca Mar 30, 2023
5613250
Fixes mistakes and updates the doc
pwnept Mar 30, 2023
9e88b1f
Add osd menu option to preview font file
mmosca Mar 31, 2023
3a57ba0
Add required MSYS2 version and troubleshooting
pwnept Apr 1, 2023
4c01537
[SITL] Enable telemetry: LTM and MAVLink (#8940)
stronnag Apr 2, 2023
8a81699
Add the "GEPRCF722_BT_HD" target
YI-BOYANG Apr 3, 2023
0abf9f6
Delete src/main/target/GEPRCF722_BT_HD directory
YI-BOYANG Apr 3, 2023
ab2ae54
Add the "GEPRCF722_BT_HD" target
YI-BOYANG Apr 3, 2023
521f838
Merge remote-tracking branch 'origin/release_6.1.0'
DzikuVx Apr 3, 2023
bd75ede
small formatting changes
mmosca Apr 3, 2023
ba5284a
Merge remote-tracking branch 'origin/master' into mmosca-osd-font-test
mmosca Apr 3, 2023
6d72ee3
Merge branch 'iNavFlight:master' into master
pwnept Apr 5, 2023
5c8e5ff
Use branch name instead of tag, fix xpack link
pwnept Apr 5, 2023
81ba7c0
Add pacman continue install note
pwnept Apr 5, 2023
5b20ca1
docs: fix documentation of gvar set
sensei-hacker Apr 6, 2023
bc1e91c
Merge pull request #8955 from sensei-hacker/gvar_set_docs
DzikuVx Apr 6, 2023
66bf1ff
Merge pull request #8934 from pwnept/master
DzikuVx Apr 7, 2023
917d8cd
Merge pull request #8932 from iNavFlight/mmosca-osd-font-test
mmosca Apr 11, 2023
039dfae
Rename AUTOLEVEL
MrD-RC Apr 11, 2023
2bdd570
Jh update usb flash doc (#8974)
stronnag Apr 12, 2023
1c2b8fd
Merge pull request #8943 from YI-BOYANG/master
DzikuVx Apr 12, 2023
813bbad
Merge pull request #8927 from VaSe7u/recognize-mpu9255-imu
mmosca Apr 13, 2023
c48d11b
Cleanup flash detection code
mmosca Apr 14, 2023
b8ee938
Merge pull request #8985 from iNavFlight/mmosca-m25p16-cleanup
DzikuVx Apr 15, 2023
58fb50c
Merge pull request #8987 from iNavFlight/master
MrD-RC Apr 16, 2023
6f556e1
Add IFLIGHT_BLITZ_F7_AIO target (#8977)
mmosca Apr 16, 2023
90f0f01
Mark IFLIGHT_BLITZ_F7_AIO as SKIP_RELEASES (#8988)
mmosca Apr 16, 2023
e5720f1
Have you ever wish INAV had a mute switch?
mmosca Apr 16, 2023
e07bb73
Merge pull request #8989 from iNavFlight/mmosca-beeper-mute
mmosca Apr 17, 2023
3015857
Update PixRacer R14.md
ryet9 Apr 22, 2023
c63f866
Update mw-mission.xsd
ryet9 Apr 22, 2023
8dc3e3a
Update Building in Linux.md
ryet9 Apr 22, 2023
9816fde
Update Cmake usage.md
ryet9 Apr 22, 2023
8cb6147
Update Cmake usage.md
ryet9 Apr 22, 2023
68d1886
Update Building in FreeBSD.md
ryet9 Apr 22, 2023
00b5d22
Update Building in FreeBSD.md
ryet9 Apr 22, 2023
28045ca
Update draft_rn_settings.rb
ryet9 Apr 22, 2023
dfc0f75
Update Building in Vagrant.md
ryet9 Apr 22, 2023
1fe48fd
Update Building in Windows light.md
ryet9 Apr 22, 2023
7a66072
updated documentation
RomanLut Apr 23, 2023
d2d93e6
Merge pull request #8810 from iNavFlight/MrD_Enhance-RTH-Linear-Descent
MrD-RC Apr 23, 2023
87d97b8
Merge pull request #9002 from RomanLut/submit-update-bat-profile-doc
DzikuVx Apr 24, 2023
d8c3b10
Merge pull request #9001 from ryet9/inav-capitalized_again_again
DzikuVx Apr 24, 2023
f31f6fc
Merge pull request #8972 from iNavFlight/MrD_Rename-AUTO-LEVEL
DzikuVx Apr 24, 2023
f9b8cbe
Merge branch 'iNavFlight:master' into aocodarcf4
dlt2018 May 6, 2023
d387b46
Remove servo s3,s4
dlt2018 May 6, 2023
19c4357
Add magnetometer AK8975,IST8310,IST8308,MAG3110
dlt2018 May 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
70 changes: 68 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: pull_request

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
matrix:
id: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Expand Down Expand Up @@ -43,9 +43,75 @@ jobs:
name: ${{ env.BUILD_NAME }}.zip
path: ./build/*.hex

build-SITL-Linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y install ninja-build
- name: Setup environment
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
run: |
# This is the hash of the commit for the PR
# when the action is triggered by PR, empty otherwise
COMMIT_ID=${{ github.event.pull_request.head.sha }}
# This is the hash of the commit when triggered by push
# but the hash of refs/pull/<n>/merge, which is different
# from the hash of the latest commit in the PR, that's
# why we try github.event.pull_request.head.sha first
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}}
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID})
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }')
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV
- name: Build SITL
run: mkdir -p build_SITL && cd build_SITL && cmake -DSITL=ON -DWARNINGS_AS_ERRORS=ON -G Ninja .. && ninja
- name: Upload artifacts
uses: actions/upload-artifact@v2-preview
with:
name: ${{ env.BUILD_NAME }}_SITL.zip
path: ./build_SITL/*_SITL

build-SITL-Windows:
runs-on: windows-latest
defaults:
run:
shell: C:\tools\cygwin\bin\bash.exe -o igncr '{0}'
steps:
- uses: actions/checkout@v3
- name: Setup Cygwin
uses: egor-tensin/setup-cygwin@v4
with:
packages: cmake ruby ninja gcc-g++
- name: Setup environment
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
run: |
# This is the hash of the commit for the PR
# when the action is triggered by PR, empty otherwise
COMMIT_ID=${{ github.event.pull_request.head.sha }}
# This is the hash of the commit when triggered by push
# but the hash of refs/pull/<n>/merge, which is different
# from the hash of the latest commit in the PR, that's
# why we try github.event.pull_request.head.sha first
COMMIT_ID=${COMMIT_ID:-${{ github.sha }}}
BUILD_SUFFIX=ci-$(date '+%Y%m%d')-$(git rev-parse --short ${COMMIT_ID})
VERSION=$(grep project CMakeLists.txt|awk -F VERSION '{ gsub(/^[ \t]+|[ \t\)]+$/, "", $2); print $2 }')
echo "BUILD_SUFFIX=${BUILD_SUFFIX}" >> $GITHUB_ENV
echo "BUILD_NAME=inav-${VERSION}-${BUILD_SUFFIX}" >> $GITHUB_ENV
- name: Build SITL
run: mkdir -p build_SITL && cd build_SITL && cmake -DSITL=ON -DWARNINGS_AS_ERRORS=ON -G Ninja .. && ninja
- name: Upload artifacts
uses: actions/upload-artifact@v2-preview
with:
name: ${{ env.BUILD_NAME }}_SITL-WIN.zip
path: ./build_SITL/*.exe


test:
needs: [build]
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
settings_md:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand Down
35 changes: 23 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@ set(SVD_DIR "${CMAKE_CURRENT_SOURCE_DIR}/dev/svd")
set(DOWNLOADS_DIR "${MAIN_DIR}/downloads")
set(TOOLS_DIR "${MAIN_DIR}/tools")

set(TOOLCHAIN_OPTIONS none arm-none-eabi)
set(TOOLCHAIN "arm-none-eabi" CACHE STRING "Toolchain to use. Available: ${TOOLCHAIN_OPTIONS}")
option(SITL "SITL build for host system" OFF)

set(TOOLCHAIN_OPTIONS none arm-none-eabi host)
if (SITL)
set(TOOLCHAIN "host" CACHE STRING "Toolchain to use. Available: ${TOOLCHAIN_OPTIONS}")
else()
set(TOOLCHAIN "arm-none-eabi" CACHE STRING "Toolchain to use. Available: ${TOOLCHAIN_OPTIONS}")
endif()

set_property(CACHE TOOLCHAIN PROPERTY STRINGS ${TOOLCHAIN_OPTIONS})
if("" STREQUAL TOOLCHAIN)
set(TOOLCHAIN none)
Expand All @@ -33,11 +40,15 @@ include(settings)
if(TOOLCHAIN STREQUAL none)
add_subdirectory(src/test)
else()
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/${TOOLCHAIN}.cmake")
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/${TOOLCHAIN}-checks.cmake")
if (SITL)
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/${TOOLCHAIN}.cmake")
else()
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/${TOOLCHAIN}.cmake")
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/${TOOLCHAIN}-checks.cmake")
endif()
endif()

project(INAV VERSION 6.0.0)
project(INAV VERSION 7.0.0)

enable_language(ASM)

Expand All @@ -48,11 +59,6 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_program(RUBY_EXECUTABLE ruby)
if (NOT RUBY_EXECUTABLE)
message(FATAL_ERROR "Could not find ruby")
endif()

if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
set(IS_RELEASE_BUILD ON)
endif()
Expand All @@ -68,9 +74,14 @@ set(COMMON_COMPILE_DEFINITIONS
FC_VERSION_PATCH_LEVEL=${CMAKE_PROJECT_VERSION_PATCH}
)

include(openocd)
include(svd)
if (NOT SITL)
include(openocd)
include(svd)
endif()

include(stm32)
include(at32)
include(sitl)

add_subdirectory(src)

Expand Down
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
FROM ubuntu:focal
FROM ubuntu:jammy

ARG USER_ID
ARG GROUP_ID
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y git cmake make ruby gcc python3 python3-pip
RUN apt-get update && apt-get install -y git cmake make ruby gcc python3 python3-pip gcc-arm-none-eabi

RUN pip install pyyaml

RUN useradd inav
# if either of these are already set the same as the user's machine, leave them be and ignore the error
RUN addgroup --gid $GROUP_ID inav; exit 0;
RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID inav; exit 0;

USER inav
RUN git config --global --add safe.directory /src

VOLUME /src

Expand Down
9 changes: 9 additions & 0 deletions board/at32fc.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Boardconfig for AT-LINK for AT32F4-FC

source [find interface/atlink.cfg]

#transport select hla_swd

source [find target/at32f437xM.cfg]

reset_config none separate
16 changes: 13 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,29 @@ fi

if [ -z "$(docker images -q inav-build)" ]; then
echo -e "*** Building image\n"
docker build -t inav-build .
docker build -t inav-build --build-arg USER_ID="$(id -u)" --build-arg GROUP_ID="$(id -g)" .
echo -ne "\n"
fi

if [ ! -d ./build ]; then
echo -e "*** Creating build directory\n"
mkdir ./build
mkdir ./build && chmod 777 ./build
fi

if [ ! -d ./downloads ]; then
echo -e "*** Creating downloads directory\n"
mkdir ./downloads && chmod 777 ./downloads
fi

if [ ! -d ./tools ]; then
echo -e "*** Creating tools directory\n"
mkdir ./tools && chmod 777 ./tools
fi

echo -e "*** Building targets [$@]\n"
docker run --rm -it -v "$(pwd)":/src inav-build $@

if ls ./build/*.hex &> /dev/null; then
if [ -z "$(ls ./build/*.hex &> /dev/null)" ]; then
echo -e "\n*** Built targets in ./build:"
stat -c "%n (%.19y)" ./build/*.hex
fi
12 changes: 6 additions & 6 deletions cmake/arm-none-eabi-checks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ include(gcc)
set(arm_none_eabi_triplet "arm-none-eabi")

# Keep version in sync with the distribution files below
set(arm_none_eabi_gcc_version "10.2.1")
set(arm_none_eabi_base_url "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major")
set(arm_none_eabi_gcc_version "10.3.1")
set(arm_none_eabi_base_url "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10")
# suffix and checksum
set(arm_none_eabi_win32 "win32.zip" 5ee6542a2af847934177bc8fa1294c0d)
set(arm_none_eabi_linux_amd64 "x86_64-linux.tar.bz2" 8312c4c91799885f222f663fc81f9a31)
set(arm_none_eabi_linux_aarch64 "aarch64-linux.tar.bz2" 1c3b8944c026d50362eef1f01f329a8e)
set(arm_none_eabi_gcc_macos "mac.tar.bz2" e588d21be5a0cc9caa60938d2422b058)
set(arm_none_eabi_win32 "win32.zip" 2bc8f0c4c4659f8259c8176223eeafc1)
set(arm_none_eabi_linux_amd64 "x86_64-linux.tar.bz2" 2383e4eb4ea23f248d33adc70dc3227e)
set(arm_none_eabi_linux_aarch64 "aarch64-linux.tar.bz2" 3fe3d8bb693bd0a6e4615b6569443d0d)
set(arm_none_eabi_gcc_macos "mac.tar.bz2" 7f2a7b7b23797302a9d6182c6e482449)

function(arm_none_eabi_gcc_distname var)
string(REPLACE "/" ";" url_parts ${arm_none_eabi_base_url})
Expand Down
33 changes: 33 additions & 0 deletions cmake/at32-bootloader.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
main_sources(BOOTLOADER_SOURCES
common/log.c
common/log.h
common/printf.c
common/printf.h
common/string_light.c
common/string_light.h
common/typeconversion.c
common/typeconversion.h

drivers/bus.c
drivers/bus_busdev_i2c.c
drivers/bus_busdev_spi.c
drivers/bus_i2c_soft.c
drivers/io.c
drivers/light_led.c
drivers/persistent.c
drivers/rcc.c
drivers/serial.c
drivers/system.c
drivers/time.c
drivers/timer.c
drivers/flash_m25p16.c
drivers/flash_w25n01g.c
drivers/flash.c

fc/firmware_update_common.c
fc/firmware_update_common.h

target/common_hardware.c
)

list(APPEND BOOTLOADER_SOURCES ${MAIN_DIR}/src/bl/bl_main.c)
4 changes: 4 additions & 0 deletions cmake/at32-stdperiph.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
main_sources(AT32_STDPERIPH_SRC
drivers/bus_spi_at32f43x.c
drivers/serial_uart_hal_at32f43x.c
)
Loading