Search found 51 matches

by badi
Tue Dec 08, 2015 4:10 pm
Forum: General Discussion and Questions
Topic: const() function
Replies: 17
Views: 31904

Re: const() function

Regarding "using const for class variable": I define following class class foo: stVar = const(42) stVar1=24 def __init__(self): print(self.stVar) print(self.stVar1) print(foo.stVar) print(foo.stVar1) which gives me: >>> a =foo() <class 'foo'> 24 <class 'type'> 24 Why?
by badi
Sun Nov 22, 2015 3:55 pm
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

What is the best port to check - https://github.com/tobbad/micropython?
Just use the stm32f429_integration branch. I will push that further till I get to a version which I will push back to micropythons main repo.
by badi
Fri Nov 20, 2015 8:20 am
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

I propose following next steps which I will do:
1. Finalize testing for proper function.
2. Implement sensors on board including python access.
3. Shift flash for scripts to the second flash bank
4. ..?
Then i would like to push it to micropython main Repo.
by badi
Thu Nov 19, 2015 3:44 pm
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

USB_HS on STM32F4 does not like WFI :-(( I could reproduce the bug I hunt in the minimal USB_CDC example at: https://github.com/tobbad/UsbCom Google USB_HS and WFI results in some interesting links: http://parttimeelectronics.blogspot.ch/2015/04/stm32f4-usb-hid-headbashing-time.html https://my.st.co...
by badi
Wed Nov 18, 2015 7:49 am
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

Thank you for the input. There are two #defines for buffer size on the user size APP_RX/TX_DATA_SIZE which are used for the data come or leaving the device. I don't think they have an influence as I doubled them and nothing changed (CDC/Com does not work better). In the USB_HS hardware there is a ce...
by badi
Wed Nov 11, 2015 10:31 am
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

You can find as well a CDC example with the latest STCube for STM32F429Disco kit in my github https://github.com/tobbad/UsbCom I reduced my micropython code in main.c to have a minimal CDC (No SCSCI/MSC stuff!) version which as well allows connectivity over a virtual com port. For this build I suppl...
by badi
Tue Nov 10, 2015 10:01 am
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

Hello Thank you for the feedback to my branch on github. My work is - as mentioned - in the stm32f429_integration branch of my repo. I am currently try to fix the issue related to the USB Com (or CDC) device. These are my observations: 1. The device boots fine IF i keep it in the interpretation of a...
by badi
Tue Oct 13, 2015 1:29 pm
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

Hello Yes -as mentioned in my post - there is a github at: https://github.com/tobbad/micropython/tree/stm32f429_integration You must choose the stm32f429_integration in git by issuing: git branch tm32f429_integration in the cloned repo to get the correct source. I am currently fighting with USB. If ...
by badi
Tue Aug 25, 2015 4:07 pm
Forum: Other Boards
Topic: Porting to STM32F429, where to increase code size?
Replies: 56
Views: 72073

Re: Porting to STM32F429, where to increase code size?

Hi I searched for the github repo for the discussed code - but did not found anything. As I port micropython as well to this board I forked master into my github account and starting the board integration in the stm32f429_integration branch: https://github.com/tobbad/micropython/tree/stm32f429_integ...
by badi
Fri Aug 14, 2015 4:09 pm
Forum: Other Boards
Topic: Porting to Nordic Semiconductor nRF52
Replies: 45
Views: 53137

Re: Porting to Nordic Semiconductor nRF52

I found a statement by pfalcon (http://forum.micropython.org/viewtopic.php?f=12&t=685) "MicroPython requires minimum 128K of Flash, 8K of RAM".

Therefore micropython should fit on the chip.