Search found 7 matches
- Sun Apr 11, 2021 10:20 am
- Forum: Raspberry Pi microcontroller boards
- Topic: PIO in Python with with multiple IOs
- Replies: 1
- Views: 2051
PIO in Python with with multiple IOs
Hi, Anyone figured out the syntax for multiple outputs (I'm guessing inputs as well) with 'pioasm' when output is for Python? It works fine in Python, multiple lines are given to the asm_pio() decorator as a tuple, e.g :- @rp2.asm_pio( out_init = ( rp2.PIO.OUT_LOW, rp2.PIO.OUT_HIGH, rp2.PIO.OUT_LOW)...
- Sun Apr 11, 2021 8:15 am
- Forum: General Discussion and Questions
- Topic: How does file transfer to target device work?
- Replies: 3
- Views: 1694
- Fri Apr 09, 2021 3:19 pm
- Forum: General Discussion and Questions
- Topic: How does file transfer to target device work?
- Replies: 3
- Views: 1694
Re: How does file transfer to target device work?
Have been browsing and I think I'll find the answer by playing with rshell.
- Fri Apr 09, 2021 8:48 am
- Forum: General Discussion and Questions
- Topic: How does file transfer to target device work?
- Replies: 3
- Views: 1694
How does file transfer to target device work?
How does code and other files get transferred to the PyBoard, or other target? It's not a problem, just curious. It's working fine with Thonny. I can see a ttyACM0 device over which the REPL is accessed, just curious how this is used to transfer files. Was thinking I might automate some things down ...
- Fri Apr 02, 2021 8:56 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Problem extending MicroPython in C on Pico
- Replies: 4
- Views: 2729
Re: Problem extending MicroPython in C on Pico
Hi Sonny, that works for me too but it's not what the instructions say. They explicitly say to the directory containing all modules :- "an extra make flag named USER_C_MODULES set to the directory containing all modules you want included (not to the module itself). For building the example modules w...
- Thu Apr 01, 2021 4:32 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Problem extending MicroPython in C on Pico
- Replies: 4
- Views: 2729
Re: Problem extending MicroPython in C on Pico
Thank you Sonny, Got the mpy module working with the cortex-m0 change. Been bitten by that one before with an NXP processor containing an M3 and and M0
Just pulled from GIT today, still can't build the examples/usercmodule for RP2. Will look more closely later
Just pulled from GIT today, still can't build the examples/usercmodule for RP2. Will look more closely later
- Thu Apr 01, 2021 10:06 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Problem extending MicroPython in C on Pico
- Replies: 4
- Views: 2729
Problem extending MicroPython in C on Pico
I'm trying to extend MicroPython with some C code. I've tried building .../examples/usercmodule but the build breaks. Changing the target to .../ports/stm32 and the build works ok so something wrong in the RP2 build tree. I also tried using native code in an '.mpy' module, again starting with the ex...