欧美日韩欧美,女人和拘做受大片免费看,麻花豆传媒剧国产mv免费版特色,欧美成人精品高清在线观看,麻豆产精国品一二三产区区

【E136】通過(guò)MQTT、JSON和SMING的STM32引導(dǎo)加載程序驅(qū)動(dòng)程序

2021-08-15 19:50:39      索煒達(dá)電子      718     

項(xiàng)目編號(hào):E136

文件大?。?9M

源碼說(shuō)明:帶中文注釋

開(kāi)發(fā)環(huán)境:C編譯

STM32 bootloader driver via MQTT , JSON , SMING

topics are structured like this /stm32/in/ : to send something to driver, who is sucbsribed to /stm32/in/# Topics

request : JSON structure for incoming request { "cmd" : string, "id":number ,"data":string base64 encoded } the data is a strean of byte codes steering the driver *X_RESET : toggle reset pin and send SYNC byte to stm32 , more details see STM32 bootloader protocol *X_WAIT_ACK : wait 10 msec on an ACK , return error if failed *X_SEND : send count+1 bytes *X_BOOT0 <high/low> : set boot pin *X_RECV_VAR : receive variable number of bytes *X_RECV : receive count+1 bytes

/stm32/ : topics to which the device/driver is publishing data Topics : log : log output of device reply : JSON object containing result data and error code

文件列表:

目錄│文件列表:

 └ stm32_bootloader

    └ stm32_bootloader

       │ .cproject

       │ .project

       │ Makefile

       │ Makefile-user.mk

       ├ .settings

       │  └ language.settings.xml

       ├ app

       │  │ application.cpp

       │  │ Log.cpp

       │  │ Stm32.cpp

       │  └ Stm32.h

       └ include

          └ user_config.h

TAGSTM32
  • 11 次
  • 1 分