W
W
Wissen Wissen2016-04-29 22:51:20
Arduino
Wissen Wissen, 2016-04-29 22:51:20

Will this c-like language used on the ST Nucleo platform make full use of all the features of the MCU?

STM MCUs are extraordinarily difficult to program compared to their smaller counterparts, but the flexibility of these MCUs even allows functions to be moved from output to output, to facilitate wiring, and so on. I have an ambiguous impression: ST Nucleo offers products with high frequency of operation, large Flash capacity, sufficient number of general purpose ports - in a word, a powerful product for difficult projects. On the other hand, the language with which programming is carried out is similar to the Arduino language, which, like an elephant in a china shop, does not spare MK resources. Gentlemen, I ask you to confirm or refute my fears.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly Pukhov, 2016-04-30
@Wissen1

The struggle for "resources" in MK was relevant 15 years ago, now a cheap duini chip for 50 rubles / piece. has enough memory and everything else on board to solve 99% of existing tasks. The "Arduino language" itself is the most common C, just like the STM, it has a lot of sugar in the form of macros and other things. The efficiency of resource spending directly depends on the curvature of the hands of the programmer who writes the firmware.

A
Alexander Volkov, 2016-04-29
@a_volkov1987

C is just the language that allows you to efficiently use the resources of the microcontroller. If you want even more control - use assembler, but if the project is large - it is very difficult to maintain an assembler program. Especially a couple of months after it was written.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question