Skip to content

STM32 with ethernet shield w5100 shield to make an prototype of MQTT for learning purpose

Notifications You must be signed in to change notification settings

kallmanjaa/STM32F401RE_MQTT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build project:

$mkdir build
$cd build
$rm -rf * && cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain_makeFile/toolchain.cmake ../ && make -j4

Binary : stm32_app

Is found in cd /build/src directory

Flashing the binary on Nucleo stm32F401RE board

$openocd -f /usr/share/openocd/scripts/board/st_nucleo_f4.cfg -c "program stm32_app verify reset exit"

Install MQTT on Raspberry pi or On your PC

Start the broker:

$mosquitto -c /etc/mosquitto/mosquitto.conf

start the Mqtt client to subcribe to your stm32 board

$mosquitto_sub -h hostIP -p port -t topic/name -u username -P pwd

About

STM32 with ethernet shield w5100 shield to make an prototype of MQTT for learning purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages