Search found 15 matches
- Sat Feb 22, 2020 6:23 pm
- Forum: General Discussion and Questions
- Topic: HID keyboard polling interval
- Replies: 2
- Views: 1521
- Fri Feb 21, 2020 4:07 pm
- Forum: General Discussion and Questions
- Topic: HID keyboard polling interval
- Replies: 2
- Views: 1521
HID keyboard polling interval
On stm32 port HID keyboard is slow. In current condition, you have to put at least 10ms delay before and after each characters to send out characters. In order to improve this I have reduced the polling interval from 8ms to 1ms and safely sent out characters with 2ms delays. This is 5 times faster. ...
- Fri Feb 21, 2020 3:50 pm
- Forum: General Discussion and Questions
- Topic: Factory reset custom boot.py and main.py
- Replies: 1
- Views: 1186
Factory reset custom boot.py and main.py
I believe Factoryreset.c contains default for boot.py and main.py. I think having this in a way to be customizable for a given board would be a good idea. Basically creating avenue to define fresh_boot_py[] and fresh_main_py[] at board level.
What do you think?
What do you think?
- Thu Feb 20, 2020 10:03 pm
- Forum: General Discussion and Questions
- Topic: Help file to be specific to a custom board
- Replies: 2
- Views: 1503
Re: Help file to be specific to a custom board
Thanks Jimmo,
sent out a pull request on this.
sent out a pull request on this.
- Wed Feb 19, 2020 10:48 pm
- Forum: General Discussion and Questions
- Topic: Help file to be specific to a custom board
- Replies: 2
- Views: 1503
Help file to be specific to a custom board
This is regarding stm32 port. I understand that there is a help() command that prints contents of help variable set in Help.c file. I was wondering if there is any provision to have custom board help. or maybe move this file to board related folders all together to be customized for each board in th...
- Wed Sep 25, 2019 8:12 pm
- Forum: General Discussion and Questions
- Topic: Frozen Modules based on board
- Replies: 3
- Views: 2097
- Wed Sep 25, 2019 6:05 pm
- Forum: General Discussion and Questions
- Topic: Frozen Modules based on board
- Replies: 3
- Views: 2097
Frozen Modules based on board
Hello, I was wondering if there is a way to include frozen files based on board. I am doing this on stm32 port. My understanding is that anything put in the ../ports/stm32/modules folder will be packed as frozen regardless of what board is compiled for. For example is there anyway to set the path fo...
- Thu Aug 29, 2019 3:42 pm
- Forum: General Discussion and Questions
- Topic: Using LSI instead of LSE
- Replies: 6
- Views: 3742
Re: Using LSI instead of LSE
I have made some changes to system_stm32.c in two locations noted below to resolve this problem for stm32L4. To use the HSE/LSI a preprocessor must be defined in stm32l4xx_hal_conf.h as USE_HSE_LSI (1). ***If something like this is acceptable to the developers of Micropython please consider to make ...
- Wed Aug 28, 2019 4:21 pm
- Forum: General Discussion and Questions
- Topic: Using LSI instead of LSE
- Replies: 6
- Views: 3742
Re: Using LSI instead of LSE
Thanks for your input, I just added a 8MHz HSE to the board (32KHz crystal removed). How do I set mpconfigboard.h and stm32l4xx_hal_conf.h to use HSE and LSI I tried the following for mpconfigboard but it does not work. // MSI is used and is 4MHz //#define MICROPY_HW_CLK_PLLM (1) //#define MICROPY_H...
- Tue Aug 27, 2019 3:51 pm
- Forum: General Discussion and Questions
- Topic: Using LSI instead of LSE
- Replies: 6
- Views: 3742
Re: Using LSI instead of LSE
Hi,
Thanks for the reply but I do not think USB clock is coming from low speed clock, it is sourced from High speed clock (HSE or HSI) and has nothing to do with LSE or LSI.
Thanks for the reply but I do not think USB clock is coming from low speed clock, it is sourced from High speed clock (HSE or HSI) and has nothing to do with LSE or LSI.