[riot-notifications] [RIOT-OS/RIOT] pkg: micropython: initial commit (#2968)

Kaspar Schleiser notifications at github.com
Thu Jul 18 12:25:10 CEST 2019


kaspar030 commented on this pull request.



> +
+/**
+ * @brief   Initialize RIOT MicroPython port
+ *
+ * @param[in]   heap        ptr to heap MicroPython should use
+ * @param[in]   heap_size   size of heap
+ */
+void mp_riot_init(char* heap, size_t heap_size);
+
+/**
+ * @brief   Execute a string as MicroPython code
+ *
+ * @param[in]   src pointer to Python code
+ * @param[in]   len length of src
+ */
+void mp_do_str(const char *src, int len);

I guess I need to add a note like "please read the micropython documentation before using"

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/2968#discussion_r304844970
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190718/f966f2e9/attachment.htm>


More information about the notifications mailing list