Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request/Question: Baremetal core without Arduino #45

Open
jonathanlundstrom opened this issue Mar 28, 2023 · 5 comments
Open

Request/Question: Baremetal core without Arduino #45

jonathanlundstrom opened this issue Mar 28, 2023 · 5 comments

Comments

@jonathanlundstrom
Copy link

Hi there,

How hard would it be to adapt this platform to only bundle the Pico SDK, debug tools and other nice things from this project? The reason for my question being that we want to avoid the bloated and inefficient Arduino framework all together and only work with C and the Pico SDK but retain the ability to build and debug our code. We've previously relied on Wizio-Pico but that project has since been scrapped.

Thank you!

Regards,
Jonathan

@savejeff
Copy link

savejeff commented Mar 28, 2023

I can recommend the alternative semi official Arduino pico core. It's IMHO a better rp2040 Arduino core. It builds on the pico sdk with good multi core support and optional rtos tasks.

See https://github.com/earlephilhower/arduino-pico

You can use it in platform Io by including the platform package

@jonathanlundstrom
Copy link
Author

Thank you. I'm aware of this one as well – but I dread Arduino and do not want it anywhere near my hardware. The earlephilhower core has tons of crippling Wi-Fi and socket issues that are just not possible to work around. I want to run a pure C core with only the Pico SDK and nothing else.

@savejeff
Copy link

then you will have to use the sdk directly. just use bare Visual studio code with c++ extension for intelisense.
platformio is very rarely offering not arduino sdks and i understand that desission. arduino ist way more unified and easier maintainable. maybe for the pico SDK there will be an exception like for the esp-idf but not in the near future.

about the wifi socket issues, could you elaborate. im planing to work on wifi stuff on rp2040 in the future, would be good to know what problems are known.

also about power consumption, that rp2040 is just not that good at low power mode. you will not be able to go below 1mA

@RudolphRiedel
Copy link

+1 for offering Baremetall as well.
I also used to use Wizio-Pico and unfortunately found that to be defunct now.
And no, I do not have any appreciation for the decision to not allow any other framework than Arduino and even going so far to block pull-requests like with the Atmel-Sam platform.
How is offering a CMSIS or native SDK or whatever you want to call it framework difficult to maintain when all that is necessary for it is already included in the Arduino framework?

@Ironman-007
Copy link

[env:stable]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = picosdk
; framework = arduino
board_build.core = earlephilhower

debug_tool = jlink
upload_protocol = jlink

this works for me, I can use the sdk to develop the firmware for 2040, but not sure if this has limited functions and also not sure if this support the PIO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants