当前位置: 首页 > news >正文

二级域名iis建立网站网站设计的设计方案

二级域名iis建立网站,网站设计的设计方案,昆明做网站优化,有个做搞笑视频的网站安装 JLINK JLINK 官网链接 下载安装后找到安装路径下的可执行文件 将此路径添加到环境变量的 Path 中。 创建 JFlash 项目 打开 JFlash#xff0c;选择新建项目 选择单片机型号 在弹出的窗口中搜索单片机 其他参数根据实际情况填写 新建完成#xff1a; 接下来设置…安装 JLINK JLINK 官网链接 下载安装后找到安装路径下的可执行文件 将此路径添加到环境变量的 Path 中。 创建 JFlash 项目 打开 JFlash选择新建项目 选择单片机型号 在弹出的窗口中搜索单片机 其他参数根据实际情况填写 新建完成 接下来设置一下项目 把 Start Application 勾上复位方式选择通过复位引脚复位。如果没有这个硬件条件则使用软件复位。 最后保存工程 编写 powershell 脚本 新建一个脚本叫 jlink-release-download.ps1 # 项目参数 $project_name test $cmake_config gcc-release $project_path Split-Path -Path $MyInvocation.MyCommand.Definition -Parent $workspace_path Split-Path $project_path -Parent $build_path $workspace_path/out/build/$cmake_config $install_path $workspace_path/out/install/$cmake_config# 开始操作 New-Item -Path $build_path -ItemType Directory -Force Push-Location $build_path try {cmake -G Ninja $workspace_path --preset $cmake_configif ($LASTEXITCODE){throw 配置失败}ninja -j12if ($LASTEXITCODE){throw 编译失败}ninja install } finally {Pop-Location }Push-Location $install_path try {arm-none-eabi-objcopy -O binary $install_path/bin/${project_name}.elf $install_path/bin/${project_name}.bin$jflash_arg_array (-openprj${workspace_path}/jflash-project.jflash,-open${install_path}/bin/${project_name}.bin,0x8000000,-auto,-startapp,-exit)$jflash_arg $jflash_arg_array -join $jflash_arg $jflash_arg.Trim()Write-Host $jflash_argStart-Process -FilePath JFlash.exe -ArgumentList $jflash_arg -WindowStyle Normal -Waitif ($LASTEXITCODE){throw 将 ${project_name}.bin 下载到单片机失败。}Write-Host 将 ${project_name}.bin 下载到单片机成功。 } finally {Pop-Location } 项目参数部分根据实际情况修改。 为 DEBUG 配置也创建一个 powershell 脚本叫作 jlink-debug-download.ps1 # 项目参数 $project_name test $cmake_config gcc-debug $project_path Split-Path -Path $MyInvocation.MyCommand.Definition -Parent $workspace_path Split-Path $project_path -Parent $build_path $workspace_path/out/build/$cmake_config $install_path $workspace_path/out/install/$cmake_config# 开始操作 New-Item -Path $build_path -ItemType Directory -Force Push-Location $build_path try {cmake -G Ninja $workspace_path --preset $cmake_configif ($LASTEXITCODE){throw 配置失败}ninja -j12if ($LASTEXITCODE){throw 编译失败}ninja install } finally {Pop-Location }Push-Location $install_path try {arm-none-eabi-objcopy -O binary $install_path/bin/${project_name}.elf $install_path/bin/${project_name}.bin$jflash_arg_array (-openprj${workspace_path}/jflash-project.jflash,-open${install_path}/bin/${project_name}.bin,0x8000000,-auto,-startapp,-exit)$jflash_arg $jflash_arg_array -join $jflash_arg $jflash_arg.Trim()Write-Host $jflash_argStart-Process -FilePath JFlash.exe -ArgumentList $jflash_arg -WindowStyle Normal -Waitif ($LASTEXITCODE){throw 将 ${project_name}.bin 下载到单片机失败。}Write-Host 将 ${project_name}.bin 下载到单片机成功。 } finally {Pop-Location } 创建 task.json 在 vscode 项目根目录下的 .vscode 目录创建 task.json 文件 填入以下内容 {version: 2.0.0,tasks: [{label: stflash-release-download,type: shell,command: pwsh,args: [./stflash-release-download.ps1],options: {cwd: ${workspaceFolder}/test},problemMatcher: []},{label: stflash-debug-download,type: shell,command: pwsh,args: [./stflash-debug-download.ps1],options: {cwd: ${workspaceFolder}/test},problemMatcher: []},{label: jlink-debug-download,type: shell,command: pwsh,args: [./jlink-debug-download.ps1],options: {cwd: ${workspaceFolder}/test},problemMatcher: []},{label: jlink-release-download,type: shell,command: pwsh,args: [./jlink-release-download.ps1],options: {cwd: ${workspaceFolder}/test},problemMatcher: []},], } args 是传递给 pwsh 进程的参数向它传递 ps1 文件。cwd 是启动 pwsh 进程时赋予它的当前路径将它改成刚刚创建的 ps1 文件所在的目录。 创建 launch.json 在 vscode 项目根目录的 .vscode 目录创建 launch.json 文件 填入以下内容 {// 使用 IntelliSense 了解相关属性。// 悬停以查看现有属性的描述。// 欲了解更多信息请访问: https://go.microsoft.com/fwlink/?linkid830387version: 0.2.0,configurations: [{name: ST-Link Debug,preLaunchTask: stflash-debug-download,cwd: ${workspaceFolder}/out/install/gcc-debug/bin/,executable: ${workspaceFolder}/out/install/gcc-debug/bin/test.elf,request: launch,type: cortex-debug,runToEntryPoint: main,servertype: stlink,showDevDebugOutput: raw,liveWatch: {enabled: true,samplesPerSecond: 4},},{name: JLink Debug,preLaunchTask: jlink-debug-download,cwd: ${workspaceFolder}/out/install/gcc-debug/bin/,executable: ${workspaceFolder}/out/install/gcc-debug/bin/test.elf,request: launch,type: cortex-debug,runToEntryPoint: main,servertype: jlink,showDevDebugOutput: raw,device: STM32H743II,liveWatch: {enabled: true,samplesPerSecond: 4},serverArgs: [-if,JTAG],}] } CMakePresets.json 附上我的 CMakePresets.json 文件的内容。这不是本文要讲述的。本文只讲述如何在已经配置好 cmake 和 GNU 工具链的情况下配置 JLINK {version: 3,configurePresets: [{name: options,hidden: true,cacheVariables: {platform: arm-none-eabi-cortex-m7,obj_copy: arm-none-eabi-objcopy,CMAKE_SYSTEM_PROCESSOR: arm,CMAKE_SYSTEM_ARCH: armv7-m,CMAKE_SYSTEM_NAME: Generic,CMAKE_C_COMPILER: arm-none-eabi-gcc,CMAKE_CXX_COMPILER: arm-none-eabi-g,CMAKE_ASM_COMPILER: arm-none-eabi-gcc,CMAKE_LINKER: arm-none-eabi-ld,CMAKE_SIZE: arm-none-eabi-size,CMAKE_STRIP: arm-none-eabi-ld},vendor: {microsoft.com/VisualStudioSettings/CMake/1.0: {intelliSenseMode: linux-gcc-arm,disableExternalAnalysis: true}}},{name: gcc-debug,displayName: gcc-debug,inherits: options,generator: Ninja,binaryDir: ${sourceDir}/out/build/${presetName},installDir: ${sourceDir}/out/install/${presetName},cacheVariables: {CMAKE_BUILD_TYPE: Debug}},{name: gcc-release,displayName: gcc-release,inherits: options,generator: Ninja,binaryDir: ${sourceDir}/out/build/${presetName},installDir: ${sourceDir}/out/install/${presetName},cacheVariables: {CMAKE_BUILD_TYPE: Release}}] }
http://www.hkea.cn/news/14344834/

相关文章:

  • 江苏优化网站关键词intellij idea做网站
  • 网页设计网站建设流程内蒙古建设项目环保备案网站
  • 遂宁市建设局网站杭州投资公司自适应网站
  • 南昌seo搜索优化优化公司流程制度
  • 湖北建设人力资源网站经济型网站建设
  • 电子商务网站设计公司网站后台建设软件
  • 外贸产品推广网站win7配置不能运行wordpress
  • 新昌网站制作荆州论坛
  • 优秀flash网站欣赏wordpress还是自己写
  • 网站的百度推广怎么做怎么做网站的搜索栏
  • 辽中网站建设wordpress 面板
  • 智盈中心网站建设好网站建设公司开发
  • 企业做网站需注意什么做直播导航网站好
  • 无锡自助建站网站主题网站界面设计
  • 创一东莞网站建设北京建设银行网站田村
  • 电子商务官方网站网站开发项目需求文档
  • 如何写网站建设方案做渔具最大的外贸网站
  • 惠州企业网站seo公司电商网站设计规划书
  • 企石仿做网站wordpress 防伪查询
  • 百度宣传做网站多少钱国外 素材 网站
  • 做好网站建设工作总结wordpress4.7.3漏洞
  • ps做网站教程国外网站排名 top100
  • 响应式网站模板代码数据库工程师
  • 大连金豆网站建设东莞 网站建设多少钱
  • 移动网站开发与维护创新的网站建设公司排名
  • 保洁公司做网站有什么作用江苏建设工程网站
  • 小众网站论文网站风格的特点
  • 工伤做实的那个网站建网站多少钱一个月
  • 北京专业网站制作大概费用wordpress 搜索提示
  • 网站托管目的是什么承德网站建设怎么做