add:填写硬件配置和app信息,成功运行示例程序

This commit is contained in:
tangchao0503
2023-08-04 11:04:28 +08:00
parent 59b71864e4
commit 8c834c4884
4 changed files with 91 additions and 8 deletions

83
.gitignore vendored Normal file
View File

@ -0,0 +1,83 @@
# tc
/.idea/*
/build/*
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# AWS User-specific
.idea/**/aws.xml
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# SonarLint plugin
.idea/sonarlint/
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

View File

@ -35,12 +35,12 @@ extern "C" {
/* Exported constants --------------------------------------------------------*/
// ATTENTION: User must goto https://developer.dji.com/user/apps/#all to create your own dji sdk application, get dji sdk application
// information then fill in the application information here.
#define USER_APP_NAME "your_app_name"
#define USER_APP_ID "your_app_id"
#define USER_APP_KEY "your_app_key"
#define USER_APP_LICENSE "your_app_license"
#define USER_DEVELOPER_ACCOUNT "your_developer_account"
#define USER_BAUD_RATE "460800"
#define USER_APP_NAME "imager"
#define USER_APP_ID "90210"
#define USER_APP_KEY "2c309ca22fb1e67cc166ccc9dc261f4"
#define USER_APP_LICENSE "JYdEUQRW5lsZANuJnMr9qGsD/1I3KyJL+es97f0qkC4QuCITbCjTIzQNkjk63nuShBtjtC4cCf9PdlLfGCGQWQ5rJDBURg9JbotJEXejpXJgTV/1Jq3ZAp9Jp7ajOhvClcKDzfOllPj/216BtYrC7G92CED39p4iUec5p4cG/ClHYAEKys+1cyHWufcV3COgqqCdxlveY0LlWXP44Q1e4vcFMfo4AqN4LghOO7fMdqsN6CLWNN0WEZu8GnU1TWzXAUE9uLjzqxH8WJLDJChBQvXdsxm/RTuER2mCu8NflMNDhnl+sWASiqTXJyZwN8gdu2fuDkU8umlhxQP+1Gk8ig=="
#define USER_DEVELOPER_ACCOUNT "735056338@qq.com"
#define USER_BAUD_RATE "115200"
/* Exported types ------------------------------------------------------------*/

View File

@ -42,7 +42,7 @@ extern "C" {
#ifdef PLATFORM_ARCH_x86_64
#define LINUX_NETWORK_DEV "enxf8e43b7bbc2c"
#else
#define LINUX_NETWORK_DEV "l4tbr0"
#define LINUX_NETWORK_DEV "eth1"
#endif
/**
* @attention

View File

@ -45,7 +45,7 @@ extern "C" {
/* Exported constants --------------------------------------------------------*/
//User can config dev based on there environmental conditions
#define LINUX_UART_DEV1 "/dev/ttyUSB0"
#define LINUX_UART_DEV1 "/dev/ttyUSB1"
#define LINUX_UART_DEV2 "/dev/ttyACM0"
/* Exported types ------------------------------------------------------------*/