Search found 11 matches

by flindt
Tue Jan 30, 2018 7:17 am
Forum: Development of MicroPython
Topic: Eclipse setup - missing definitions
Replies: 7
Views: 6894

Re: Eclipse setup - missing definitions

Can you explain what you are trying to do? The way the build system is setup, you build for a specific target - there should be no need to to comment out code. See the README file here : https://github.com/micropython/micropython/tree/master/ports/minimal The minimal target port should be able to co...
by flindt
Tue Oct 31, 2017 9:41 am
Forum: Development of MicroPython
Topic: Entry point for hard realtime C statemachine
Replies: 1
Views: 1987

Entry point for hard realtime C statemachine

We've implemented a simple protocol in micropython delivering input and output values for a fairly complex motordrive with feedback on current and position. Micropython works great for the ease and speed of implementation, however the feedback loop we have for the motor is way too slow. Currently ou...
by flindt
Tue Aug 01, 2017 8:10 am
Forum: General Discussion and Questions
Topic: Overall stability
Replies: 9
Views: 6728

Re: Overall stability

@graemef
Ok. I will keep this in mind. Our product will no have USB available to the user, so this problem should be limited to development.

@pythoncoder
Thanks for the input. 4x18mths is still a big jump from my ½ hour tests :)
by flindt
Mon Jul 31, 2017 12:47 pm
Forum: General Discussion and Questions
Topic: Overall stability
Replies: 9
Views: 6728

Re: Overall stability

For testing we are using an STM32F429DISC1.
And we will most likely be using the STM32F429 for the product.
by flindt
Mon Jul 31, 2017 9:42 am
Forum: General Discussion and Questions
Topic: Overall stability
Replies: 9
Views: 6728

Overall stability

Hi Does anyone know have examples / references to instances of uPy being used in commercial products? We are building products that will be running 24/7 for years on end, and while uPy will offer speed of implementation that are orders of magnitudes higher than plain C, I am not sure how to evaluate...
by flindt
Mon Jul 24, 2017 9:41 am
Forum: Other Boards
Topic: [STM32F429] DAC support
Replies: 1
Views: 1925

Re: [STM32F429] DAC support

Update.
Managed to build the latest version with DAC enabled. All it took was a pull and a clean build.

However, the DAC module does not show up in the REPL. Besides enabling it in "mpconfigboard.h" is any thing else needed to use the DAC?

Cheers
by flindt
Mon Jul 24, 2017 8:58 am
Forum: Other Boards
Topic: [STM32F429] DAC support
Replies: 1
Views: 1925

[STM32F429] DAC support

Hi Guys Sorry for the noice - it works just fine. Just had to do it all one more time... I will chalk this one up to not enough coffee :) If anyone can find the delete post button... Does anyone know if DAC support is supposed to work on the STM32F429 builds? It is disabled by default and enabling i...
by flindt
Mon Jul 24, 2017 7:24 am
Forum: Development of MicroPython
Topic: eclipse+gcc compiler and debugging micropython
Replies: 3
Views: 4941

Re: eclipse+gcc compiler and debugging micropython

First check the output of the st-util. The easiest way to do this is to run it in a separate terminal. Then try the same thing "manually" by using gdb directly - this will let you know whether it is an eclipse problem or not. The gdb commands you need are: arm-none-eabi-gdb target remote localhost:4...
by flindt
Fri Jun 23, 2017 8:03 am
Forum: Development of MicroPython
Topic: Eclipse setup - missing definitions
Replies: 7
Views: 6894

Re: Eclipse setup - missing definitions

Thanks Dave. The project builds fine, and in the process creates genhdr/qstrdefs.generated.h. I was hoping to use the this file, as it seems like double the work to build it again just for eclipse... Ill play around a little and if I cant coerce eclipse to look in the build folder and include it wit...
by flindt
Tue Jun 20, 2017 10:08 am
Forum: Development of MicroPython
Topic: eclipse+gcc compiler and debugging micropython
Replies: 3
Views: 4941

Re: eclipse+gcc compiler and debugging micropython

Assuming you are running eclipse-cdt, you need just a few steps for this. 1) Import the code as "existing makefile project" (Im using the sthal build to run on a STM32F429DISC board) 2) define a new build variable "BOARD" = "STM32F429DISC" in the project properties. 3) Build the project 4) Create an...