1
\$\begingroup\$

When asking my question about software drivers, when tagging it I noticed that there doesn't seem to be a tag appropriate for software device drivers.

Current description for indicates it is about driver circuits and ICs. Just looking at recently active for shows two mislabeled questions about software drivers.

Should one be created?

\$\endgroup\$
3
  • \$\begingroup\$ perhaps the help center should clarify whether microcontroller programming is on-topic \$\endgroup\$ Apr 4, 2023 at 18:03
  • \$\begingroup\$ @user253751 I don't have a link at hand, but there's a question, I think back from the time this site was beta, stating that programming related to interacting with hardware is on-topic. So drivers - be it bare metal or under an OS - are on-topic. \$\endgroup\$
    – jaskij
    Apr 5, 2023 at 9:20
  • 1
    \$\begingroup\$ It's arguable if anything that is powerful enough to run Linux is really an embedded system to begin with. Please note that "embedded systems programming" is not necessarily on topic here, the help pages say "writing of firmware for bare-metal or RTOS applications". That covers microcontroller and FPGA programming. Historically PLC programming questions have also been considered on-topic. \$\endgroup\$
    – Lundin
    Apr 6, 2023 at 8:49

1 Answer 1

1
\$\begingroup\$

"Driver" is a pretty bad name for a tag, since it is awfully broad and ambiguous. In this context it could mean:

  • The code in your microcontroller that handles a certain hardware peripheral, or
  • Libraries delivered together with some piece of hardware for use in a hosted system (off-topic here), or
  • Driver circuits such as charge pumps, LED drivers, motor drivers, high/low side drivers, you name it.

Instead, you could use the tag or better yet, the specific tag for the MCU family you are using. In case no tag exists for the MCU family, then feel free to create one.

In this specific case, I don't think we benefit from an "i.MX" tag since that's also very broad and could mean a lot of different things. The i.MX RT and i.MX 7 families could perhaps do with tags since they are on-topic here. The rest of them, well that's hosted system Cortex A and I really don't think they are on-topic here. Questions about Cortex A programming using hosted systems should instead be asked on Stack Overflow.

Unless of course your question is about the hardware/electronics aspects of whatever your software is doing, then it should be on-topic here.

\$\endgroup\$
2
  • \$\begingroup\$ I was going off of this old question here on meta EE. The problem with giving good and bad categories comes when something falls in neither. It is most certainly worth asking a separate question which I will be asking shortly. \$\endgroup\$
    – jaskij
    Apr 6, 2023 at 14:06
  • \$\begingroup\$ Disregarding the issue of whether hosted OS drivers are on-topc, microcontroller or tag for a specific MCU don't solve the issue of interacting with external peripherals (say, code talking to an ADC or a radio transceiver over SPI). \$\endgroup\$
    – jaskij
    Apr 6, 2023 at 14:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .