Search found 1 match

by MightyNate
Fri Apr 09, 2021 12:29 pm
Forum: Raspberry Pi microcontroller boards
Topic: How to compile native C extension (that uses pico sdk) into .mpy file
Replies: 1
Views: 1871

How to compile native C extension (that uses pico sdk) into .mpy file

Greetings, I'm writing a C extension for micropython on the Pico. The goal is to be able to interface a certain sensor from micropython. The sensor API is written in C. As described in the micropython documentation https://docs.micropython.org/en/latest/ ... ython.html, there are two ways to do this...