Search found 719 matches

by steved
Fri Jun 05, 2020 2:46 pm
Forum: Development and Feedback
Topic: GCC 9
Replies: 20
Views: 1554

Re: GCC 9

Does the problem trigger assertions or other traps? Giovanni No. The visible symptom is that the QSPI address register gets set to zero, which should never happen once the code is running. I've added a check in the IRQ prologue and epilogue macros, and entry to the idle thread, and break on zero. T...
by steved
Fri Jun 05, 2020 9:17 am
Forum: Development and Feedback
Topic: GCC 9
Replies: 20
Views: 1554

Re: GCC 9

Giovanni wrote:Do you have ISRs without macros in your system? those can cause a similar issue if placed at lower priority than any OS-aware ISR.

No, all standard Chibi HAL ISRs.
(Just clutching at straws really; that one-line description seemed to describe my apparent problem so well!)
by steved
Fri Jun 05, 2020 8:34 am
Forum: Development and Feedback
Topic: GCC 9
Replies: 20
Views: 1554

Re: GCC 9

The general problem is: In an ISR epilogue how can I tell if the ISR is returning into normal code or into another ISR ? The intrinsic used in the v6m port is bugged, it is done differently in v7m because that architecture has a dedicated status bit for this which is missing in M0. Interesting, bec...
by steved
Wed Jun 03, 2020 9:06 am
Forum: Small Change Requests
Topic: LWIP improvements Topic is solved
Replies: 27
Views: 3658

Re: LWIP improvements Topic is solved

Actually I think the stats problem is both ChibiiOS restriction & lwip bug. The code in stats.c: void stats_display_mem(struct stats_mem *mem, const char *name) { LWIP_PLATFORM_DIAG(("\nMEM %s\n\t", name)); LWIP_PLATFORM_DIAG(("avail: %"MEM_SI...
by steved
Tue Jun 02, 2020 3:12 pm
Forum: ChibiStudio
Topic: Various with latest ChibiStudio on Drive D:
Replies: 4
Views: 209

Re: Various with latest ChibiStudio on Drive D:

RoccoMarco, Thanks for the feedback - nice to know its not 100% down to me! I don't appear to have a problem with editing and building the project - I created a new one. It's only debug. The error message when starting debugging is quite interesting: Failed to execute MI command: file D:\ChibiStudio...
by steved
Tue Jun 02, 2020 12:24 pm
Forum: ChibiStudio
Topic: Various with latest ChibiStudio on Drive D:
Replies: 4
Views: 209

Various with latest ChibiStudio on Drive D:

I have ChibiStudio 2020 installed on Drive D:, and can edit and compile with no problem (in fact, I think less to change than previous versions of Studio). But I have a number of issues with debug, which I suspect might be due to hard-configured C: paths somewhere in the bowels of Eclipse. 1. I don'...
by steved
Sun May 31, 2020 4:18 pm
Forum: STM32 Support
Topic: warning in hal_pwm_lld?
Replies: 8
Views: 240

Re: warning in hal_pwm_lld?

IIRC the acceptable format for the 'FALLTHROUGH' comment varies across compilers - at one point I have a recollection of checking compiler version first. Most recently I've been using /* FALLTHROUGH */ which hasn't produced any errors, but not sure whether the standard Chibi compile options include ...
by steved
Sun May 31, 2020 12:34 pm
Forum: STM32 Support
Topic: warning in hal_pwm_lld?
Replies: 8
Views: 240

Re: warning in hal_pwm_lld?

I saw it in mingw32 last October (http://www.chibios.com/forum/viewtopic.php?f=35&t=5234&p=36331) which I think is GCC. Looks like its been in GCC7 for a while: https://stackoverflow.com/questions/45129741/gcc-7-wimplicit-fallthrough-warnings-and-portable-way-to-clear-them https://stackoverf...
by steved
Tue May 26, 2020 4:28 pm
Forum: Development and Feedback
Topic: [DEV] STM32G4xx support
Replies: 67
Views: 8690

Re: [DEV] STM32G4xx support

About bit field, true it is not portable and MISRA complains but it is compatible among all ARM compilers and that is good enough for this use case, the structures are defined in the LLD because of this, I would not accept those in the HLD. For this type of application, where processor and peripher...
by steved
Mon May 25, 2020 9:34 am
Forum: ChibiStudio
Topic: I can't download files(ChibiStudio)
Replies: 1
Views: 193

Re: I can't download files(ChibiStudio)

All the files moved to OSDN a while back:
https://osdn.net/projects/chibios/

Go to advanced search