Search found 185 matches

by dflogeras
Thu Jan 23, 2020 1:07 pm
Forum: General Support
Topic: Zip compression on a micro
Replies: 7
Views: 122

Re: Zip compression on a micro

Thanks guys for the helpful insight: @Giovanni: Yep, I did look briefly at p7zip, but it seems it is LGPL which will not be compatible with static linkage. Also, it is written predominantly as C++ code which I don't think would fly for this project. @Polux Yes, this is a case of the end-user reqs do...
by dflogeras
Wed Jan 22, 2020 11:50 pm
Forum: General Support
Topic: Zip compression on a micro
Replies: 7
Views: 122

Zip compression on a micro

Hi all, I was asked today about implementing zip file compression on a micro, most likely using fatfs on top of an SDCard. Just wondering if anyone has blazed this trail before and could offer any advice on existing software (preferably free licensed, but commercial licenses wouldn't necessarily be ...
by dflogeras
Tue Nov 12, 2019 9:11 pm
Forum: Bug Reports
Topic: C++ exceptions in cortex-m7 vs. cortex-m4
Replies: 14
Views: 1257

Re: C++ exceptions in cortex-m7 vs. cortex-m4

Unfortunately, those changes do not seem to fix my original issue. I tried both trunk (r13183), as well as stable_19.1.x branch (r13176) from SVN. I verified both had the line steved mentioned in the corresponding rules_code.ld. I tried with both gcc-arm-none-eabi-7-2017-q4-major and gcc-arm-none-ea...
by dflogeras
Mon Nov 11, 2019 2:49 pm
Forum: Development and Feedback
Topic: GCC 9
Replies: 8
Views: 484

Re: GCC 9

That's a shame they missed merging the cortex-m0 fix prior to the last round of releases. Giovanni, based on what you've seen so far (and ignoring the cortex-m0 issue), is GCC 9 shaping up to be decent across most of the spectrum? I recall reading the last benchmark thread done between GCC 7 and 8, ...
by dflogeras
Sun Nov 10, 2019 12:50 pm
Forum: Bug Reports
Topic: C++ exceptions in cortex-m7 vs. cortex-m4
Replies: 14
Views: 1257

Re: C++ exceptions in cortex-m7 vs. cortex-m4

Hi Giovanni,

I'd be happy to test, it will be at least mid next week before I'll be near that hardware. Should I be testing off the trunk, or 19.x maintenance branch, or both?

Dave
by dflogeras
Fri Jun 07, 2019 11:31 am
Forum: STM32 Support
Topic: STM32L496 external oscillator
Replies: 7
Views: 540

Re: STM32L496 external oscillator

Usually when I'm setting up a new project, I use ST Micro's CubeMX tool as an augmentation to the manual. It has a graphical clock tree for each device, and you can immediately see the outcome of changes you make on all the various subsystems. As Giovanni said, it's quite complex (especially the new...
by dflogeras
Wed May 29, 2019 9:58 pm
Forum: STM32 Support
Topic: STM32F4 disco HID demo
Replies: 0
Views: 269

STM32F4 disco HID demo

Hi Giovanni, Please have a look at this example I threw together. It simply enumerates as a HID gamepad, then cycles through pressing each button and joystick direction on a timer. See readme for how to view the gamepad on the host OS. It is derived from the current 19.1.2 release. I fashioned it li...
by dflogeras
Fri May 24, 2019 1:41 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 15
Views: 1475

Re: USB on STM32F103 blue pill

Yep, simple is what I'm thinking. I have found that modern desktop OS's usually have some UI support for reading and displaying the state of joystick/gamepad devices but the trick is in making a descriptor that it accepts as such. I've found that just having a HID with some buttons isn't enough, you...
by dflogeras
Fri May 24, 2019 10:59 am
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 15
Views: 1475

Re: USB on STM32F103 blue pill

Ok, I got back to this project again and tried a fresh tact. I found an older demo code in the forum pointing to this repo https://github.com/guiduc/usb-hid-chibios-example.git Which was based upon 2.6.x Chibi release, but it worked as advertised and was simple enough to understand. I then modified ...
by dflogeras
Tue May 14, 2019 2:53 pm
Forum: STM32 Support
Topic: USB on STM32F103 blue pill
Replies: 15
Views: 1475

Re: USB on STM32F103 blue pill

Giovanni wrote:It should be an interrupt endpoint, I think it is part of the standard but it is not used in demos.


Yep, but shouldn't I be able to write to it? It may mess up the host end, but I would expect it to transmit the bytes)?

Go to advanced search