Search found 18 matches

by HarryOz
Sat Oct 24, 2020 1:33 pm
Forum: MicroPython pyboard
Topic: Initialising GPIO’s in the Hal file or boot.Pty file?
Replies: 1
Views: 1553

Initialising GPIO’s in the Hal file or boot.Pty file?

Are there any examples of how to set pins as outputs and then configure them to low or high.

I would certain pins on the STM32 to be set as outputs and set low on startup.

Any help is appreciated.
Harry


Sent from my iPhone using Tapatalk
by HarryOz
Fri Oct 23, 2020 3:49 pm
Forum: Development of MicroPython
Topic: Micropython Build Step by Step
Replies: 4
Views: 2866

Re: Micropython Build Step by Step

Hi Again,

Is there a way to set a GPIO pin to 1 or 0 in the HAL configuration file?

I have a regulator that is turned on or off using an output pin and i would like to have the firmware pre define that pin to 0 so on startup the regulator is off.

Thanks,
Harry
by HarryOz
Tue Oct 13, 2020 11:07 am
Forum: Development of MicroPython
Topic: Micropython Build Step by Step
Replies: 4
Views: 2866

Re: Micropython Build Step by Step

Many thanks, got it working.
by HarryOz
Fri Oct 09, 2020 2:11 am
Forum: Development of MicroPython
Topic: Micropython Build Step by Step
Replies: 4
Views: 2866

Micropython Build Step by Step

Hi All, Are there step by step instructions on building a .dfu file for an STM32 custom board? *edit. I have Ubuntu 18 installed on a virtual machine for this. 1. Install Ubuntu on virtual box 2. Sudo apt-get install git 3. Sudo apt-get install screen 4. Git clone https://github.com/micropython/micr...
by HarryOz
Thu Oct 08, 2020 11:30 pm
Forum: Development of MicroPython
Topic: Getting Started with STM32
Replies: 5
Views: 3748

Re: Getting Started with STM32

I have been having all sorts of trouble trying to get the build to work. Can you share a brief guid on how you did it with Ubuntu 18?
by HarryOz
Wed Jan 16, 2019 2:20 am
Forum: Hardware Projects
Topic: How do you configure MicroPython for a custom board?
Replies: 11
Views: 70471

Re: How do you configure MicroPython for a custom board?

Thank you for the information, ill give it a go.
by HarryOz
Mon Jan 14, 2019 5:43 am
Forum: Hardware Projects
Topic: How do you configure MicroPython for a custom board?
Replies: 11
Views: 70471

Re: How do you configure MicroPython for a custom board?

I am using the STM32F405RGT6, the same as the PyBoard 1.0. I changed the accelerometer and added some modules.
by HarryOz
Thu Jan 10, 2019 12:50 am
Forum: Hardware Projects
Topic: How do you configure MicroPython for a custom board?
Replies: 11
Views: 70471

How do you configure MicroPython for a custom board?

Hi All,

Apologies if this question has been answered already, I have a custom board that is being built and i would like to prepare a custom micropython fimware for it. Is there any documentation or guidance available on how to do this?

Thank you in advance,
Harry
by HarryOz
Tue Jan 08, 2019 3:01 am
Forum: Other Boards
Topic: How to port Micropython to new Microcontroller
Replies: 13
Views: 13585

Re: How to port Micropython to new Microcontroller

Have you had any luck finding out how to port Micropython to a new micro controller / custom board? I want to do the same thing.
by HarryOz
Fri Mar 17, 2017 1:07 am
Forum: Drivers for External Components
Topic: LSM9DS1 9DOF gyro
Replies: 5
Views: 6773

Re: LSM9DS1 9DOF gyro

Apologies for the noob question. Is this class usable on the micropython board attached to a LSM9DS1 sensor board?