Search found 26 matches

by charlesrwest
Mon Mar 04, 2019 4:20 pm
Forum: ChibiOS/HAL
Topic: Simple USB serial
Replies: 3
Views: 250

Re: Simple USB serial

Further investigation indicates that it was due to the compile version issue that your code warns against. I got the same errors with your hal demo that I did with my code. I am surprised that they haven't fixed a problem that popped up in GCC 6 by GCC 8. I will used GCC 5 for the immediate future b...
by charlesrwest
Thu Feb 28, 2019 9:16 pm
Forum: ChibiOS/HAL
Topic: Simple USB serial
Replies: 3
Views: 250

Simple USB serial

Hello, I'm trying to get serial communication over USB working on the STM32F072B Discovery board. I'ved tried to port over the USB config files from the RT-STM32F429-DISCOVERY project with the only change being changing USBD2->USBD1. However, any time I call usbDisconnectBus, usbConnectBus or chnWri...
by charlesrwest
Fri Feb 15, 2019 8:52 pm
Forum: ChibiOS/HAL
Topic: Issue compiling ChibiOS/testhal/STM32/STM32F0xx/USB_CDC
Replies: 3
Views: 210

Re: Issue compiling ChibiOS/testhal/STM32/STM32F0xx/USB_CDC

Thank you. I am currently trying to get USB to work. Am I likely to run into other issues related to licensing with that? Also, are there any examples that can do USB read/write while using the exception version?

Thanks again,
Charlie West
by charlesrwest
Fri Feb 15, 2019 5:21 pm
Forum: ChibiOS/HAL
Topic: Issue compiling ChibiOS/testhal/STM32/STM32F0xx/USB_CDC
Replies: 3
Views: 210

Issue compiling ChibiOS/testhal/STM32/STM32F0xx/USB_CDC

Hello. I'm having some issues compiling my project which I've been trying to hunt down. Much to my surprise, I am getting the same issue when I try to compile the HAL test programs: ../../../../os/various/shell/shell_cmd.c: In function 'cmd_test': ../../../../os/various/shell/shell_cmd.c:182:8: warn...
by charlesrwest
Sat Feb 11, 2017 5:32 pm
Forum: Development and Feedback
Topic: C++ wrappers
Replies: 84
Views: 14941

Re: C++ wrappers

Hello all, I would like to report a bug fix for C++ with ChibiOS. I was working with a simple hello world program compiled with cpp but without any C++ features (using direct OS calls, not the wrapper) and got linker errors (originally reported in this thread in Sept 2015, http://www.chibios.com/for...
by charlesrwest
Wed Feb 08, 2017 6:09 am
Forum: ChibiOS/RT
Topic: Linking errors with C++
Replies: 4
Views: 2055

Re: Linking errors with C++

Hello.

I'm doing another project and noticed that I seem to be getting the same issue. I guess the next step is to submit to the source forge bug tracker?

Thanks,
Charlie
by charlesrwest
Fri Sep 25, 2015 3:20 pm
Forum: ChibiOS/RT
Topic: Increasing tick resolution without affecting delay functions
Replies: 4
Views: 1229

Re: Increasing tick resolution without affecting delay funct

Thanks for the detailed response! I will check for overflow when using that macro and reimplement my LED object to use millisecond delay to reduce the likelihood of trouble.

Thanks again,
Charlie
by charlesrwest
Fri Sep 25, 2015 1:58 am
Forum: ChibiOS/RT
Topic: Increasing tick resolution without affecting delay functions
Replies: 4
Views: 1229

Re: Increasing tick resolution without affecting delay funct

I apologize, but I am not sure how to do that. I've replicated the error with a minimal length program (below). In testing, I noticed that the (currently commented out) chThdSleepMilliseconds function performs as expected (same frequency despite resolution changes) while the microseconds delay funct...
by charlesrwest
Wed Sep 23, 2015 8:07 pm
Forum: ChibiOS/RT
Topic: Increasing tick resolution without affecting delay functions
Replies: 4
Views: 1229

Increasing tick resolution without affecting delay functions

Hello, I was hoping increase the tick frequency of my ChibiOS frequency by increasing CH_CFG_ST_FREQUENCY, but I've noticed that my calls to chThdSleepMicroseconds seem to be returning sooner when I increase that value. If I may ask, what is the best way to increase tick resolution (primarily so the...
by charlesrwest
Fri Sep 18, 2015 2:48 am
Forum: ChibiOS/RT
Topic: Linking errors with C++
Replies: 4
Views: 2055

Linking errors with C++

Hello, I experienced an odd intermittent problem where calling certain functions would suddenly cause the following errors to appear: /usr/lib/gcc/arm-none-eabi/4.8/../../../arm-none-eabi/lib/armv6-m/libg.a(lib_a-abort.o): In function `abort': /build/buildd/newlib-2.1.0+git20140818.1a8323b/build/arm...

Go to advanced search