Hi all.
I am trying to start-up a micropython system on my STM32F407 DISCO board.
Can I do it using windows OS and an IAR IDE?
Or should I using linux OS and gcc?
If the answer is yes (i.e., I can) - how to find a quick start for that?
Thanks in advance
Build project with IAR compiler on windows
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
Re: Build project with IAR compiler on windows
You can find it in here:Yonatan wrote:Hi all.
I am trying to start-up a micropython system on my STM32F407 DISCO board.
Can I do it using windows OS and an IAR IDE?
Or should I using linux OS and gcc?
If the answer is yes (i.e., I can) - how to find a quick start for that?
Thanks in advance
https://github.com/micropython/micropyt ... ter/stmhal
Re: Build project with IAR compiler on windows
Thank you, but It is for Linux only
Re: Build project with IAR compiler on windows
Well that's definitely not true. You can build MicroPython under Windows, OSX, and linux (and I've done it in all 3 environments).Yonatan wrote:Thank you, but It is for Linux only
I was using gcc in all 3 platforms. I'm not sure whether MicroPython will compile under non-gcc compilers or not since I haven't tried it.
Re: Build project with IAR compiler on windows
I assume you are right.
My question was about the IAR, rather than the OS.
Anyway, that is my I am trying to do:
I have an "empty" (but working) project for the STM32F4DISCO in IAR IDE.
I want to add the minimal number of files that implementing the mpython on the MCU,
write a short-and-simple script of calling to a python-function that wrapping a simple c
function that I know it works (toggle LEDs for example)
Is there any way to do that?
My question was about the IAR, rather than the OS.
Anyway, that is my I am trying to do:
I have an "empty" (but working) project for the STM32F4DISCO in IAR IDE.
I want to add the minimal number of files that implementing the mpython on the MCU,
write a short-and-simple script of calling to a python-function that wrapping a simple c
function that I know it works (toggle LEDs for example)
Is there any way to do that?
Re: Build project with IAR compiler on windows
The minimal port of MicroPython would be a good place to start.
Check this thread:
http://forum.micropython.org/viewtopic. ... 11&p=12028
for discussions around calling C and python.
Check this thread:
http://forum.micropython.org/viewtopic. ... 11&p=12028
for discussions around calling C and python.