• 大小: 8.98MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-17
  • 语言: 其他
  • 标签: PIXHAWK  飞控源码  

资源简介

PIXHAWK飞控源码

资源截图

代码片段和文件信息

# This file is NOT licensed under the GPLv3 which is the license for the rest
# of YouCompleteMe.
#
# Here‘s the license text for this file:
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy modify publish use compile sell or
# distribute this software either in source code form or as a compiled
# binary for any purpose commercial or non-commercial and by any
# means.
#
# In jurisdictions that recognize copyright laws the author or authors
# of this software dedicate any and all copyright interest in the
# software to the public domain. We make this dedication for the benefit
# of the public at large and to the detriment of our heirs and
# successors. We intend this dedication to be an overt act of
# relinquishment in perpetuity of all present and future rights to this
# software under copyright law.
#
# THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
# EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM DAMAGES OR
# OTHER LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE
# ARISING FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# For more information please refer to 

import os
import ycm_core

# These are the compilation flags that will be used in case there‘s no
# compilation database set (by default one is not set).
# CHANGE THIS LIST OF FLAGS. YES THIS IS THE DROID YOU HAVE BEEN LOOKING FOR.
flags = [
‘-Wall‘
‘-Wextra‘
‘-Werror‘
#‘-Wc++98-compat‘
‘-Wno-long-long‘
‘-Wno-variadic-macros‘
‘-fexceptions‘
‘-DNDEBUG‘
# You 100% do NOT need -DUSE_CLANG_COMPLETER in your flags; only the YCM
# source code needs it.
#‘-DUSE_CLANG_COMPLETER‘
# THIS IS IMPORTANT! Without a “-std=“ flag clang won‘t know which
# language to use when compiling headers. So it will guess. Badly. So C++
# headers will be compiled as C headers. You don‘t want that so ALWAYS specify
# a “-std=“.
# For a C project you would set this to something like ‘c99‘ instead of
# ‘c++11‘.
‘-std=c++11‘
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
# relevant for c++ headers.
# For a C project you would set this to ‘c‘ instead of ‘c++‘.
‘-x‘
‘c++‘
‘-undef‘ # get rid of standard definitions to allow us to include arm math header
‘-I‘ os.path.join(os.path.expanduser(“~“)‘gcc-arm-none-eabi-4_7-2013q3/arm-none-eabi/include‘)
‘-I‘ ‘Build/px4io-v1_default.build/nuttx-export/include/‘
‘-I‘ ‘Build/px4io-v2_default.build/nuttx-export/include/‘
‘-I‘ ‘./NuttX/nuttx/arch/arm/include‘
‘-include‘ ‘./src/include/visibility.h‘
‘-I‘ ‘./src‘
‘-I‘ ‘./src/modules‘
‘-I‘ ‘./src/include‘
‘-I‘ ‘./src/lib‘
‘-I‘ ‘./NuttX‘
]


# Set this to the absolute

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-12-11 17:23  Firmware-master\
     文件        1006  2015-12-11 17:23  Firmware-master\.gitignore
     文件        1118  2015-12-11 17:23  Firmware-master\.gitmodules
     文件        5482  2015-12-11 17:23  Firmware-master\.travis.yml
     文件        6279  2015-12-11 17:23  Firmware-master\.ycm_extra_conf.py
     文件       12293  2015-12-11 17:23  Firmware-master\CMakeLists.txt
     文件        1571  2015-12-11 17:23  Firmware-master\CONTRIBUTING.md
     目录           0  2015-12-11 17:23  Firmware-master\Debug\
     文件        4002  2015-12-11 17:23  Firmware-master\Debug\ARMv7M
     文件        7286  2015-12-11 17:23  Firmware-master\Debug\NuttX
     文件          85  2015-12-11 17:23  Firmware-master\Debug\NuttX_BMP
     文件       21487  2015-12-11 17:23  Firmware-master\Debug\Nuttx.py
     文件        1363  2015-12-11 17:23  Firmware-master\Debug\PX4
     文件         377  2015-12-11 17:23  Firmware-master\Debug\dot.gdbinit
     文件         313  2015-12-11 17:23  Firmware-master\Debug\memdump
     文件         542  2015-12-11 17:23  Firmware-master\Debug\olimex-px4fmu-debug.cfg
     文件         367  2015-12-11 17:23  Firmware-master\Debug\openocd.gdbinit
     文件        7500  2015-12-11 17:23  Firmware-master\Debug\poor-mans-profiler.sh
     文件         899  2015-12-11 17:23  Firmware-master\Debug\px4fmu-v1-board.cfg
     文件         144  2015-12-11 17:23  Firmware-master\Debug\runopenocd.sh
     目录           0  2015-12-11 17:23  Firmware-master\Documentation\
     文件       63627  2015-12-11 17:23  Firmware-master\Documentation\Doxyfile
     文件        1180  2015-12-11 17:23  Firmware-master\Documentation\README
     文件       12021  2015-12-11 17:23  Firmware-master\Documentation\arming_state_machine.odg
     文件        9039  2015-12-11 17:23  Firmware-master\Documentation\arming_state_machine.pdf
     文件       17975  2015-12-11 17:23  Firmware-master\Documentation\code_structure_diagrams.odg
     文件       36240  2015-12-11 17:23  Firmware-master\Documentation\code_structure_diagrams.pdf
     文件      537965  2015-12-11 17:23  Firmware-master\Documentation\control_flow.graffle
     文件          29  2015-12-11 17:23  Firmware-master\Documentation\doxygen.sh
     文件       27123  2015-12-11 17:23  Firmware-master\Documentation\dsm_bind.odt
     文件      323311  2015-12-11 17:23  Firmware-master\Documentation\dsm_bind.pdf
............此处省略1782个文件信息

评论

共有 条评论