Search found 186 matches

by marfis
Sun Aug 02, 2015 1:18 pm
Forum: Development of MicroPython
Topic: Makefile structure for stmhal
Replies: 12
Views: 3898

Re: Makefile structure for stmhal

On the wiki page http://libopencm3.org/wiki/Licensing they say: While esden and others have indicated that they consider linking with libopencm3 to _not_ require the linked application to become lgpl, the lack of an explicit linking exception bothers a few people. So as far as I understand, that's a...
by marfis
Sat Aug 01, 2015 10:07 pm
Forum: Development of MicroPython
Topic: Makefile structure for stmhal
Replies: 12
Views: 3898

Re: Makefile structure for stmhal

I ran into some of the USB issues when I was bringing up the M7. Yes - It is really hard to separate common usb code and port specific staff with the STM hal. So to expand the discussion a bit: What do people think about STM's HAL code quality? My view is that it is... well crap. It is such a pity ...
by marfis
Wed Jul 29, 2015 7:48 pm
Forum: Development of MicroPython
Topic: Makefile structure for stmhal
Replies: 12
Views: 3898

Re: Makefile structure for stmhal

To that end we should make stmhal/mpconfigport.h more like py/mpconfig.h in that it checks to see if a macro is defined, and only defines it if it's not already. Got the picture. If lots of things become common to a given series, then we can add boards/Makefile.f4, boards/Makefile.f2, etc files (as...
by marfis
Mon Jul 27, 2015 8:29 pm
Forum: Development of MicroPython
Topic: Makefile structure for stmhal
Replies: 12
Views: 3898

Re: Makefile structure for stmhal

Thanks for the feedback. I like the fact that you don't need to know which type of processor a given board uses. Thats fair enough. The benefit I see that it would give a certain structure that would indicate which performance level each board might have. And it would be synchronised with the separa...
by marfis
Sun Jul 26, 2015 8:29 pm
Forum: Development of MicroPython
Topic: Makefile structure for stmhal
Replies: 12
Views: 3898

Makefile structure for stmhal

I saw that in a recent commit that the hal/cmsis subdirectory were preprared for a STMF2xx port. That's good news towards a better variety of (STM-)ARM targets.. I'm working on a port to a STML151 target (also cortex M3 based) and have some code running (python shell on UART). Yet I was wondering ho...
by marfis
Sun Mar 15, 2015 9:51 pm
Forum: General Discussion and Questions
Topic: uPy for wearable applications
Replies: 5
Views: 2041

Re: uPy for wearable applications

excellent news. Btw, ST announced 4 weeeks ago a new low power L4xx line, the L476 http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1580/LN1840/PF260095# its in the price range between the pyboard MCU and the F411. Has 3x 5 Msps (!) ADC and 2 OpAmps which is handy to have for simple amplifiers, filt...
by marfis
Sun Mar 15, 2015 6:45 pm
Forum: General Discussion and Questions
Topic: uPy for wearable applications
Replies: 5
Views: 2041

Re: uPy for wearable applications

you're going to be restricted to some pretty basics scripts I beliebe most (wearable) Apps will be simple. The scripts on the adafruit website are mostly less than 100 lines of c code. that would be less if they are written in Python ;) Finding a low cost MCU to make a sub-$10 board running uPy is ...
by marfis
Tue Mar 03, 2015 9:50 pm
Forum: General Discussion and Questions
Topic: uPy for wearable applications
Replies: 5
Views: 2041

uPy for wearable applications

My intention is to run small uPy scripts on relatively cheap HW that can be used for wearable applications (something like http://www.adafruit.com/product/1222 ). No more Arduino! How nice would that be. And Adafruit seems to sell the pyboards well :) A Cortex M4 is simply overpowering the requireme...
by marfis
Mon Dec 01, 2014 8:22 pm
Forum: Development of MicroPython
Topic: Bytearray support
Replies: 3
Views: 3723

Re: Bytearray support

with uPy Version pybv10-2014-12-01-v1.3.7-12-g17c5ce3.dfu running:

Code: Select all

>>> a+b
bytearray(b'\x01\x02\x01\x02')
perfect - thanks!
by marfis
Sat Nov 29, 2014 11:52 am
Forum: Development of MicroPython
Topic: Bytearray support
Replies: 3
Views: 3723

Re: Bytearray support

So as a follow up, https://docs.python.org/3/library/stdtypes.html#binaryseq states that As bytearray objects are mutable, they support the mutable sequence operations in addition to the common bytes and bytearray operations described in Bytes and Bytearray Operations. mutable sequence operations in...