𓁟 host1.bitchan.one

𓀐 @p~KvvCyw: Here we discuss microcontrollers (MCUs), single board computers (SBCs), and their accessories, such as Atmel mega and tiny AVRs (Arduinos), PICs, ARM boards such as blue/black pill STM32, ESP8266/32s, RP2040, Raspberry Pi, and others. For general electronics questions (power supplies, level shifting, motor driving, etc.) please ask /ohm/. >where can I find verified quality microcontrollers and other electronic sensors or parts digikey.com mouser.com arrow.com newark.com >but that's too expensive aliexpress.com (many parts here are fake, particularly specific parts out of stock in the above sites) lcsc.com >I need a part that does X and Y, with Z specifications. How can I find it? use DigiKey's or Octopart's parametric part search. Then purchase from one of the sellers listed above. >how do I get started with microcontrollers, where should I start? There is no defined starting point, grab a book and start reading or buy an arduino off ebay/amazon and start messing around. There are a plethora of examples online to get started. >resources: https://github.com/kitspace/awesome-electronics >RISC-V microcontroller list: https://codeberg.org/20-100/Awesome_RISC-V/raw/branch/master/RISC-V_MCU_development_boards.pdf

>got my first microcontroller, an ESP32 >the toolchain is a schizophrenic mess of various python and bash scripts held together with glue and cotton candy >you HAVE to use cmake >you HAVE to use a python script to build your project >if you make one change to cmakelists then the ENTIRE toolchain is rebuilt Are all microcontroller toolchains this dogshit?

⧖expiring ~28d0/3 kept2d ago

𓀐 @ab?kMNC*

⏱ 1w 👍 0

⬆ upvote 0

[⇥] sort oldest ⏱
filter [-]
𓀐 @kwcdQAG~: >Are all microcontroller toolchains this dogshit? There's a reason that arduino was so popular. For all of its (many) faults, setup is a breeze compared to most industry solutions. No, I will not install your multi-gigabyte tool chain and shitty eclipse fork that I have to make an account to download. No, I will not buy your overpriced external programmer. There's no excuse in this day and age to not have a tiny self contained toolchain, and no excuse for any moderately powerful chip to not be directly flashable over USB. For chips/debugging without USB, there's no excuse for the tool to cost more than a few dollars. It's weird how the industry manages to merge the worst parts of 90s corporate lockdown with the worst parts of modern software bloat. More weird is how butthurt professionals get when you point it out.+

⬆ upvote 0↩ reply 0

𓀐 @RAfXLTS~: try the RP2040/RP2350 C/C++ sdk. it's a VSCode extension so it takes like 30 seconds to install their debugger just werks, and costs like $12. or try a pico with debugger firmware if you're cheap+

⬆ upvote 0↩ reply 0