選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
|
4年前 | |
---|---|---|
Core | 4年前 | |
Drivers | 4年前 | |
Middlewares | 4年前 | |
USB_DEVICE | 4年前 | |
.cproject | 4年前 | |
.gitignore | 4年前 | |
.mxproject | 4年前 | |
.project | 4年前 | |
CMakeLists.txt | 4年前 | |
CMakeLists_template.txt | 4年前 | |
Makefile | 4年前 | |
README.md | 4年前 | |
STM32F103CBTX_FLASH.ld | 4年前 | |
STM32F103CBTx_FLASH.ld | 4年前 | |
bluepill-i2c-gw.ioc | 4年前 | |
startup_stm32f103xb.s | 4年前 |
README.md
Bluepill USB-I2C gateway
Hardware
This is a firmware for STM32F103R8T6 Bluepill.
Customization
The project can be customized using STM32CubeMX.
there's some changes in the i2c HAL driver, careful!
line 6364
// HACK - ignore HAL_I2C_ERROR_AF
if (hi2c->ErrorCode != HAL_I2C_ERROR_NONE && hi2c->ErrorCode != HAL_I2C_ERROR_AF)
this allows receiving frames of unknown length
Building & programming
use the makefile and flash using a st-link dongle.
Requires: Make, arm-none-eabi-gcc, st-flash
make -j
make flash