flyboy
flyboy

Registered on 3 years ago

Answers
18
Article
0
Follower
0

From these pictures, I can't see the problem related to RTT. However, I can see from the first picture that you have disabled the DMA interrupt after starting the DMA acquisition of the ADC. I wonder if there is a problem here?

Yes, You are right!

微信截图_20230223100628.png

  1. Make sure the SConscript file in applications directory have that code.
  2. Make sure your SConscript file's name is 'SConscript'.

Sorry, currently RT thread STUDIO does not support the debugging of this development board, you can search for other solutions on the Internet.

I noticed that the sys tick of the previous ported version is not accurate, a patch has been submitted, you can refer to the modification.

https://github.com/RT-Thread/rt-thread/pull/6242

It seems that the versions of the stm32Hal library are incompatible. The driver uses v1.13.0 and your cubemex uses v1.17.1. You can try to fix these issues, or downgrade the version
image.png

  1. get a samd21 microchip device
  2. The hardware can run, and the data can be printed through the serial port
  3. Port modbus protocol stack, such as freemodbus https://github.com/RT-Thread-packages/freemodbus

I found the package of hts221: https://github.com/RT-Thread-packages/hts221, which can collect data conveniently. Then, if it is transmitted to the cloud, different clouds have different methods, depending on which cloud platform is used.

You need to use the usb2ttl tool to connect to the corresponding pins of the board

In RT-Thread, the LCD driver is not provided in the form of a software package, but directly placed in the corresponding bsp directory, such as: https://github.com/RT-Thread/rt-thread/blob/master/bsp/stm32/stm32f429-st-disco/board/ports/ili9341.c

This is a common problem, you can use scons -c to clear the previous cache file cconfig.h, and then execute the scons command.

If the problem is not resolved, you can check the version number of the gcc toolchain, which needs to be greater than 10. You can download Arm ToolChains 10-2020-q4 from here.

https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2

Good idea, looking forward to your finished product

Create
Post