Andrew Tridgell
961a97a8c9
HAL_ChibiOS: expand docs on STDOUT_SERIAL
7 years ago
Andrew Tridgell
0cd6c9e5fb
HAL_ChibiOS: added commented block on enable debug for builds
7 years ago
Andrew Tridgell
556f3ba53f
HAL_ChibiOS: make UARTs non-blocking by default
...
we never want blocking ports any more with ArduPilot, so defaulting to
blocking makes no sense
7 years ago
Andrew Tridgell
33dd14b8d9
HAL_ChibiOS: use PULLUP on UART TX/RX lines
...
this can prevent spurious bytes on disconnected pins
7 years ago
Andrew Tridgell
91c741ef07
HAL_ChibiOS: use a non-blocking lock for UART shared DMA
...
we can have multiple UARTs on the same thread sharing the same DMA TX
channel. That can lead to deadlock with blocking locks on DMA. This
makes UART requests for DMA locks non-blocking to fix the issue
7 years ago
Andrew Tridgell
76c76f61c0
git: change submodules to default to git protocol
...
this fixes submodule update on cygwin
7 years ago
Andrew Tridgell
3e9f0f83f0
waf: fixed cygwin build for ChibiOS
...
keep path lengths to linker short
7 years ago
Andrew Tridgell
08634903c8
HAL_ChibiOS: use relative path for common.ld
...
this avoids a path length issue under cygwin
7 years ago
Andrew Tridgell
5d627ae2bc
waf: submodule update
7 years ago
Andrew Tridgell
9ab695b7ca
HAL_ChibiOS: fixed namespace error
...
thanks to Peter for noticing
7 years ago
Andrew Tridgell
93bd546e6c
AP_Common: fixed cygwin ChibiOS build
...
handle short path length errors
7 years ago
Andrew Tridgell
706a0c1b2f
waf: define CYGWIN_BUILD for ChibiOS under cygwin
...
and for SITL
7 years ago
Andrew Tridgell
403ba0c325
HAL_SITL: cope with cygwin64
7 years ago
Andrew Tridgell
d75e47a4d8
SITL: cope with cygwin64
7 years ago
Andrew Tridgell
153ad95398
HAL_ChibiOS: added hwdef.dat for minimal F405 and F427 boards
7 years ago
Andrew Tridgell
306d35655e
HAL_ChibiOS: allow for bare board builds
...
this allows for a build with no UARTs, no SPI, no I2C, no PWM. Great
for initial board bringup with just USB
7 years ago
Andrew Tridgell
64bda71da5
AP_HAL: added generic ChibiOS board type
7 years ago
Andrew Tridgell
455c0e25e1
AP_InertialSensor: allow for HAL_INS_NONE
7 years ago
Andrew Tridgell
8b3db7c09f
AP_Compass: allow for HAL_COMPASS_NONE
7 years ago
Andrew Tridgell
43f1b43b6c
waf: auto-generate board targets for ChibiOS
...
this allows porting to a new board by just adding the hwdef.dat, with
no other changes
7 years ago
Andrew Tridgell
2075a3da7d
waf: use pre_build hook for ChibiOS
...
this fixes dynamic uavcan building
7 years ago
Andrew Tridgell
2476a51908
waf: allow for pre_build hook in board modules
7 years ago
Andrew Tridgell
74ed19f460
HAL_ChibiOS: moved more board setup into hwdef.dat
7 years ago
Andrew Tridgell
7d5ed1bc9b
waf: simplify board classes for ChibiOS
...
rely in hwdef.dat
7 years ago
Andrew Tridgell
ebbd15ea17
HAL_ChibiOS: auto-enable CAN when pins are defined
7 years ago
Andrew Tridgell
fed1579187
waf: auto-enable CAN for ChibiOS builds
...
use presence of CAN pins in hwdef.dat to automatically enable if
available
7 years ago
Andrew Tridgell
d84c487a60
HAL_ChibiOS: generate env.py from hwdef.dat
...
allowing for environment override in hwdef.dat
7 years ago
Andrew Tridgell
89430793dd
waf: allow env variable overrides in hwdef.dat
...
this allows hwdef.dat to control files that are built and flags to the
build
7 years ago
Andrew Tridgell
5f353b5c85
HAL_ChibiOS: fixed build of I2C without I2C1 defined
7 years ago
Andrew Tridgell
61debe95e0
Tools: started on OMNIBUSF7V2 support
7 years ago
Andrew Tridgell
3c0e5a315f
AP_HAL: started on OMNIBUSF7V2 support
7 years ago
Andrew Tridgell
6b6c35a435
waf: use relative paths for ChibiOS build
...
this fixes the ChibiOS build on cygwin by reducing path lengths to
below the cygwin limit
7 years ago
Andrew Tridgell
21951243f0
HAL_ChibiOS: default debug checks off
...
these can be enabled as needed for board bringup, but are too
expensive for general use
7 years ago
Andrew Tridgell
0cf104f2f3
HAL_ChibiOS: added scale_esc_to_unity()
...
needed for per-motor compass cal
7 years ago
Andrew Tridgell
21d401e844
HAL_ChibiOS: fixed compass orientation for revo-mini
7 years ago
Andrew Tridgell
46c3308964
HAL_ChibiOS: enable mag on crazyflie2
7 years ago
Andrew Tridgell
487b615faa
AP_Compass: allow for override of MAG_BOARD_ORIENTATION
7 years ago
Andrew Tridgell
d5fc1ff3d4
HAL_ChibiOS: fixed crazyflie motor order
7 years ago
Andrew Tridgell
cf00bd99ea
Copter: enanle RC override by default
7 years ago
Andrew Tridgell
7e8ceb1121
HAL_ChibiOS: define ALLOW_ARM_NO_COMPASS
7 years ago
Andrew Tridgell
30572692c4
Copter: added ALLOW_ARM_NO_COMPASS
...
for skyviper-f412
7 years ago
Andrew Tridgell
e05bac425f
HAL_ChibiOS: setup crazyflie2 IMU and baro
7 years ago
Andrew Tridgell
2b0a3272fd
AP_HAL: support LPS25H on MPU AUX
7 years ago
Andrew Tridgell
75a262ebf9
AP_Baro: support LPS25H on MPU9250 AUX
7 years ago
Andrew Tridgell
9e84c45035
HAL_ChibiOS: dynamically create name for bus threads
7 years ago
murata
5da13774d5
Sub: Adjust to the defined value.
7 years ago
Peter Barker
a7647e77d9
AP_Airspeed: fix compiler warnings
...
In file included from
../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.cpp:21:
../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.h:57:11: warning: private
field '_temperature' is not used [-Wunused-private-field]
float _temperature;
^
../../libraries/AP_Airspeed/AP_Airspeed_SDP3X.h:58:11: warning: private
field '_pressure' is not used [-Wunused-private-field]
float _pressure;
7 years ago
Peter Barker
b6191578dc
AP_ADC: correct compilter warnings
...
../../libraries/AP_ADC/AP_ADC_ADS1115.h:34:25: warning: private field
'_last_update_timestamp' is not used [-Wunused-private-field]
uint32_t _last_update_timestamp;
^
1 warning generated.
7 years ago
Peter Barker
816045c1ab
AP_GPS: correct compiler warnings
...
In file included from ../../libraries/AP_GPS/AP_GPS_SBF.cpp:22:
../../libraries/AP_GPS/AP_GPS_SBF.h:75:14: warning: private field
'last_injected_data_ms' is not used [-Wunused-private-field]
uint32_t last_injected_data_ms = 0;
^
../../libraries/AP_GPS/AP_GPS_SBF.h:210:7: warning: private field
'RxError_bits' is not used [-Wunused-private-field]
} RxError_bits;
7 years ago
Peter Barker
4288133ce0
AP_InertialSensor: correct compiler warning
...
../../libraries/AP_InertialSensor/AP_InertialSensor_Invensense.h:108:14:
warning: private field '_error_count' is not used
[-Wunused-private-field]
uint16_t _error_count;
7 years ago