Who got the board of Raspberry Pi PICO?

Created at 2021-01-22 10:52:15

Hey guys.

Raspberry Pi's first microcontroller-class product: Raspberry Pi Pico is landing. Has anyone got the board already??? If we can run RT-Thread on Raspberry Pi Pico???

Raspberry-Pi-Pico-at-an-angle-768x549.webp

  • Dual-core Arm Cortex-M0+ @ 133MHz
  • 264KB (remember kilobytes?) of on-chip RAM
  • Support for up to 16MB of off-chip Flash memory via dedicated QSPI bus
  • DMA controller
  • Interpolator and integer divider peripherals
  • 30 GPIO pins, 4 of which can be used as analogue inputs
  • 2 × UARTs, 2 × SPI controllers, and 2 × I2C controllers
  • 16 × PWM channels
  • 1 × USB 1.1 controller and PHY, with host and device support
  • 8 × Raspberry Pi Programmable I/O (PIO) state machines
  • USB mass-storage boot mode with UF2 support, for drag-and-drop programming

更多

Follower
0
Views
1.8k
8 Answers
mysterywolf
mysterywolf 2021-01-22

I am no idea about this board, but it sounds cool. I found some resources and datasheets. Hope this stuff can help you guys! https://www.micropython.org.cn/forum/viewtopic.php?f=16&t=1763

GPSridhar
GPSridhar 2021-01-25

Hello, I have received my RaspberryPi Pico board. Looking forward to loading RT-Thread and do some exciting projects.

varun
varun 2021-01-26

I have no Idea what to Build with Raspberry Pi PICO have any one got any Ideas to share?

RTThread_IoT_OS
RTThread_IoT_OS 2021-01-22

Super Wowww. And Yesss. RT-Thread can run the Raspberry Pi Pico!
Does anyone has the interest to give it a try, RT-Thread wants to offer New Raspberry Pi Pico.

bernard
bernard 2021-01-22

real cool!

And if you have no board right now, you maybe try it under QEMU. QEMU has the ability to simulate ARM Cortex-M.

davidticker
davidticker 2021-01-23

Is anyone know how to quickly get started MicroPython between RT-Thread and Raspberry?

davidticker
davidticker 2021-01-26

Good for you. I'm waiting for my board to get ready. I'll update my project here later on. Also look forward to seeing yours.

wojstod
wojstod 2021-12-10

I've got mine PICO board and followed succesfully tutorial: https://rt-thread.medium.com/getting-started-with-raspberry-pi-pico-in-rt-thread-studio-ide-5bb08c01363f. But for me it would be wonderful run an IDE RT-Thread-Studion on a greater brother of PICO - the Raspberry PI4 under Linux but there is no Linux version yet. I also consider porting my old code written in Arduino to RT-Thread.
So simplest Arduino code:
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_PIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_PIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_PIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
should be translated into RT-Thread version:
while (1)

{
    rt_pin_write(LED_PIN, 1);
    rt_thread_mdelay(1000);
    rt_pin_write(LED_PIN, 0);
    rt_thread_mdelay(1000);
}

Also original PICO Raspberry SDK example from [http://github.com/raspberrypi/pico-examples/blob/master/blink/blink.c] (http://github.com/raspberrypi/pico-examples/blob/master/blink/blink.c) can be easily ported:

include "pico/stdlib.h"

int main() {

ifndef PICO_DEFAULT_LED_PIN

warning blink example requires a board with a regular LED

else

const uint LED_PIN = PICO_DEFAULT_LED_PIN;
gpio_init(LED_PIN);
gpio_set_dir(LED_PIN, GPIO_OUT);
while (true) {
    gpio_put(LED_PIN, 1);
    sleep_ms(250);
    gpio_put(LED_PIN, 0);
    sleep_ms(250);
}

endif

}

I consider to write a simple script or Python code to automatic translate of Arduio code

Write Your Answer

Log in to publish your answer,Click here to log in.

Create
Post

Share