超低功耗 48 MHz Arm® Cortex®-M23 内核;最高 256 KB 代码闪存;32 KB SRAM;电容触摸感测单元(CTSU2);12 位 A/D 转换器;12 位 D/A 转换器;安全与安保特性.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0+ | |
/* ============================================================================= | |
* FIXUP NOTICE (by TaterLi): | |
* 本文件为去除 TLV/EEPROM 依赖后的版本(fb_spacemit_no_tlv.c). | |
* 主要变更: | |
* 1) 删除 <tlv_eeprom.h> 头文件依赖. | |
* 2) fastboot_oem config 相关接口改为仅访问 U‑Boot 环境变量,flush=saveenv. | |
* 3) 清除存储的 eeprom 擦除分支改为直接 FAIL,提示不再支持. | |
* 4) 在修改处添加了 "FIXUP" 标记与中文注释,方便审阅与回退. | |
* 注意:若仍需 EEPROM/TLV,请在上层通过 env 注入数据或自行恢复相关代码. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************** (C) COPYRIGHT ******************************* | |
* File Name : VendorDefinedDev.C | |
* Author : WCH | |
* Version : V1.7 | |
* Date : 2023/05/31 | |
* Description : CH554模拟USB Module(CH554),厂商自定义接口设备,需要安装驱动, | |
驱动搜索CH37XDRV或者安装ISPTool会自动安装该设备类驱动,该设备类除了控制传输外,还是直插端点2批量上下传和端点1 | |
中断上传,可以通过372DEBUG.EXE获取其他USB调试工具进行收发数据演示 | |
********************************************************************************* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source [find interface/cmsis-dap.cfg] | |
transport select swd | |
set CHIPNAME stm32h7b0xx | |
if {![info exists OCTOSPI1]} { | |
set OCTOSPI1 1 | |
set OCTOSPI2 0 | |
} | |
source [find target/stm32h7x.cfg] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************** (C) COPYRIGHT ******************************* | |
* File Name : Main.c | |
* Author : WCH | |
* Version : V1.1 | |
* Date : 2022/01/25 | |
* Description : 模拟USB复合设备,键鼠,支持类命令 | |
********************************************************************************* | |
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd. | |
* Attention: This software (modified or not) and binary are used for | |
* microcontroller manufactured by Nanjing Qinheng Microelectronics. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************** (C) COPYRIGHT ******************************* | |
* File Name : Main.c | |
* Author : WCH | |
* Version : V1.1 | |
* Date : 2022/01/25 | |
* Description : 模拟兼容HID设备 | |
********************************************************************************* | |
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd. | |
* Attention: This software (modified or not) and binary are used for | |
* microcontroller manufactured by Nanjing Qinheng Microelectronics. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.bleapplication; | |
import android.annotation.SuppressLint; | |
import android.bluetooth.BluetoothGattCharacteristic; | |
import android.bluetooth.BluetoothGattDescriptor; | |
import android.bluetooth.BluetoothGattService; | |
import android.bluetooth.BluetoothManager; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.util.Log; |
NewerOlder