Go to advanced search

by hippy
Wed Jul 28, 2021 6:25 pm
Forum: General
Topic: Pi Pico - the most user un-friendly MCU?
Replies: 306
Views: 9213

Re: Pi Pico - the most user un-friendly MCU?

I'm not quite sure about the approach that the pico team took when it comes to Windows. I feel like going fully the WSL route would have been a wiser option, and - unless I misunderstood - the argument that some Windows users don't want to bother with it seems weak since it's just a few clicks away...
by hippy
Wed Jul 28, 2021 2:07 pm
Forum: SDK
Topic: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)
Replies: 38
Views: 845

Re: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)

But I suspect "whinging customers" don't sway things in their favour, certainly don't for me. They way I see it; if I have provided customers with something and it doesn't do what I said it would do, stops doing what I said it would do, my customers have complete legitimacy in whinging ab...
by hippy
Wed Jul 28, 2021 12:05 pm
Forum: SDK
Topic: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)
Replies: 38
Views: 845

Re: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)

But I suspect "whinging customers" don't sway things in their favour, certainly don't for me. They way I see it; if I have provided customers with something and it doesn't do what I said it would do, stops doing what I said it would do, my customers have complete legitimacy in whinging ab...
by hippy
Wed Jul 28, 2021 11:49 am
Forum: SDK
Topic: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)
Replies: 38
Views: 845

Re: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)

But I suspect "whinging customers" don't sway things in their favour, certainly don't for me. They way I see it; if I have provided customers with something and it doesn't do what I said it would do, stops doing what I said it would do, my customers have complete legitimacy in whinging ab...
by hippy
Wed Jul 28, 2021 11:36 am
Forum: SDK
Topic: Where are my files?
Replies: 16
Views: 1087

Re: Where are my files?

There is a C library called LittleFS which implements a robust filesystem for use on microcontrollers. It takes about 15 lines of code to customize it so it works on the Pico. In my opinion LittleFS is such an obvious choice (I think it's used behind the scenes with Python) that it should be includ...
by hippy
Wed Jul 28, 2021 11:23 am
Forum: SDK
Topic: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)
Replies: 38
Views: 845

Re: Setting PICO_SDK_PATH in your CMakeLists.txt (hint: dont)

$ sudo apt update $ sudo apt full-upgrade could be used to keep everything including the SDK up to date. It's obviously not a big deal. We did consider this, but there are downsides which meant we were not happy with it as the main install process. Just in case anyone is wondering, there is nothing...
by hippy
Wed Jul 28, 2021 11:03 am
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

I don't know why Arduino doesn't use Make, or CMake, or Ant, or one of the other "standard" (isn't it great that there are so many standards to choose from?) build-aid things. I don't see why it couldn't, even with the pre-processing it does of the user "sketch." It would certai...
by hippy
Wed Jul 28, 2021 9:53 am
Forum: General
Topic: Pi Pico - the most user un-friendly MCU?
Replies: 306
Views: 9213

Re: Pi Pico - the most user un-friendly MCU?

Note that the command line length issue happens when you dont use the provided SDK CMake build. The command line issue on Windows is a Windows limitation that CMake itself already works around. I am not exactly sure how you mean by "the provided SDK CMake build". I followed the recommende...
by hippy
Tue Jul 27, 2021 4:39 pm
Forum: MicroPython
Topic: send an sms using sim800l and raspberry pi pico on thonny
Replies: 3
Views: 113

Re: send an sms using sim800l and raspberry pi pico on thonny

It may possibly be a case of having to add print("Got here...") between each line so you can see where it's stalling or hanging, is and isn't going.
by hippy
Tue Jul 27, 2021 4:29 pm
Forum: General
Topic: Pi Pico - the most user un-friendly MCU?
Replies: 306
Views: 9213

Re: Pi Pico - the most user un-friendly MCU?

Note that the command line length issue happens when you dont use the provided SDK CMake build. The command line issue on Windows is a Windows limitation that CMake itself already works around. I am not exactly sure how you mean by "the provided SDK CMake build". I followed the recommende...
by hippy
Tue Jul 27, 2021 4:03 pm
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

The Arduino team appear to have recognised that Java-based may not have been the best path, is not the path for the future, and Arduino IDE 2.0 is no longer based on Java. It is now 'electron' using the Theia IDE framework. So, even slower then.... Quite possibly. Electron is what VS Code is built ...
by hippy
Tue Jul 27, 2021 2:53 pm
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

Arduino java eats tons of CPU according to top Being Java-based has been my biggest criticism of Arduino IDE but that had to be tempered by the fact that it does work. I don't know why they chose to be Java-based. That decision was taken two decades ago and my guess would be it was felt to be the b...
by hippy
Tue Jul 27, 2021 2:34 pm
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

And on the topic of IDEs, I do not understand the appeal of very dumbed down ones like the Arduino IDE. I can; "edit, click, done" is perfect for me. I don't need more than that. And others obviously share the same sentiment. Some people prefer minimalism, see that as an ideal. Other peop...
by hippy
Tue Jul 27, 2021 12:41 pm
Forum: MicroPython
Topic: Speed measurement on a Triton router
Replies: 6
Views: 204

Re: Speed measurement on a Triton router

I would use a PIO to increment decrement the X or Y register during the revolution and then push that. 30,000 RPM is 500 RPS, one revolution per 2ms at the fastest rate which should be easily handled by polling and checking if there's any data in the sm.get() queue, and should work with interrupts. ...
by hippy
Tue Jul 27, 2021 12:19 pm
Forum: MicroPython
Topic: send an sms using sim800l and raspberry pi pico on thonny
Replies: 3
Views: 113

Re: send an sms using sim800l and raspberry pi pico on thonny

Some indication of what results you get, where and how it diverges from what was expected, might help others help you to determine what is going wrong. You can substitute your SIM800 with a PC running a terminal emulator so you can check what it is receiving, send back responses to check the code ha...
by hippy
Tue Jul 27, 2021 12:08 pm
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

Pretty sure that their entire thing is custom, and I don't know how they could actually leverage an existing build system with the kind of insane stuff they do: You are looking at it from the wrong perspective, criticising how it's done, what you don't like about the implementation, rather than see...
by hippy
Tue Jul 27, 2021 11:52 am
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

Perhaps the question should be why did Arduino not use CMake and instead wrote their own system? (Or whatever they actually did) To expand on my previous answer to that; they wanted an accessible and easy to use cross-platform tool. Something which was not intimidating or complicated to those who h...
by hippy
Tue Jul 27, 2021 10:46 am
Forum: General
Topic: Pico as USB display?
Replies: 36
Views: 1353

Re: Pico as USB display?

Not sure, could DSI be done on the PIO too? VGA/HDMI has been done. Not sure because I know little of DSI but it would still face the constraints which VGA and DVI (HDMI) have on a Pico; it is not blindingly fast and doesn't have enough RAM for larger resolution display buffers. There is not enough...
by hippy
Tue Jul 27, 2021 10:33 am
Forum: General
Topic: Pi Pico - the most user un-friendly MCU?
Replies: 306
Views: 9213

Re: Pi Pico - the most user un-friendly MCU?

I think the SDK adding so many options that limits on the Windows command line can overflow is a bit weird. That is a problem which prevents MicroPython for Pico building on Windows. The solution there is to install MingW rather than the officially recommended Microsoft build tools. Not only is Min...
by hippy
Mon Jul 26, 2021 6:28 pm
Forum: General
Topic: A Pico Z-machine
Replies: 34
Views: 1327

Re: A Pico Z-machine

ejolson wrote:
Mon Jul 26, 2021 4:48 pm
I've been unable to find an RP2040 on a circuit board designed to plug directly into a USB A socket. Does anyone make one?
The only one I know of is -

Adafruit Trinkey QT2040 - https://www.adafruit.com/product/5056
by hippy
Mon Jul 26, 2021 4:41 pm
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

Why, oh why did opencv devloppers , dlib developper and tons of others forget Arduino and use CMake? My guess would be it was because they aimed for a particular target audience and did not care so much if that did not suit other sections of their potential audience ? One should also ask why the Ar...
by hippy
Mon Jul 26, 2021 4:18 pm
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

In its basic installation,. VSCode IS a pretty simple IDE. Editor, terminal etc. It just works. Indeed it does and I am sure plenty are happy with it. I simply think there are better alternatives for me and like-minded others. As for doing our own simple IDE, that's a multi man year project, just n...
by hippy
Mon Jul 26, 2021 3:52 pm
Forum: General
Topic: Pico as USB display?
Replies: 36
Views: 1353

Re: Pico as USB display?

USB-IF would not approve ofc, the VID is revoked after all, but they can't prevent its use, only prevent certification. That's where I am not so sure. True, they can't prevent it, but they could seek damages and other legal remedies. I do recall there was a case where using someone else's VID was t...
by hippy
Mon Jul 26, 2021 1:41 pm
Forum: SDK
Topic: is the arduino support for RPI2040 better then CMAKE ????
Replies: 43
Views: 964

Re: is the arduino support for RPI2040 better then CMAKE ????

I am happy with it all - installation and use. I hit a few hurdles, have a few more to overcome, but it's been far easier than other environments I have encountered. But that doesn't mean everyone else finds it that way, or that things couldn't be made easier for those who do want it even easier. An...
by hippy
Mon Jul 26, 2021 1:12 pm
Forum: General
Topic: Current consumption on sleep modes
Replies: 28
Views: 691

Re: Current consumption on sleep modes

if Pico doesn't meet your requirements then you may need to choose another microcontroller. Indeed but how does one know if they need to or don't if they don't know how much power it uses or by how much power can be reduced. It would be a shame if someone did discount using an RP2040 because of the...

Go to advanced search