mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:43:34 +08:00
qurt: Change to Hexagon 7.2.10 compiler
Switched to 7.2.10 since the Linux version of this is available. Added -DHAS_C9X flag to fix isses with undefined math functions when using hexagon-clang++. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -224,8 +224,6 @@ __END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__PX4_QURT)
|
||||
|
||||
#define PX4_ROOTFSDIR
|
||||
#define DEFAULT_PARAM_FILE "/fs/eeprom/parameters"
|
||||
|
||||
@@ -234,16 +232,6 @@ __END_DECLS
|
||||
// Missing math.h defines
|
||||
#define PX4_ISFINITE(x) __builtin_isfinite(x)
|
||||
|
||||
// FIXME - these are missing for clang++ but not for clang
|
||||
#if defined(__cplusplus)
|
||||
#define isfinite(x) true
|
||||
#define isnan(x) false
|
||||
#define isinf(x) false
|
||||
#define fminf(x, y) ((x) > (y) ? y : x)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
*Defines for all platforms
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user