Search found 584 matches

by steved
Fri Jul 19, 2019 10:02 pm
Forum: Bug Reports
Topic: hal_Serial_nor.c
Replies: 1
Views: 85

Re: hal_Serial_nor.c

Also on the subject of QSPI, hal_wspi_lld.c has the following code: static void wspi_lld_serve_interrupt(WSPIDriver *wspip) { /* Portable WSPI ISR code defined in the high level driver, note, it is a macro.*/ _wspi_isr_code(wspip); /* Stop everything, we need to give DMA enough time to complete the ...
by steved
Fri Jul 19, 2019 9:49 pm
Forum: Development and Feedback
Topic: VPATH Bites Again...
Replies: 4
Views: 111

Re: VPATH Bites Again...

Turns out its quite straightforward to dump the contents of VPATH to a file. I added one line to {CHIBIOS}\os\common\startup\ARMCMx\compilers\GCC\mk\rules.mk: POST_MAKE_ALL_RULE_HOOK: $(file > $(BUILDDIR)/vpath.txt,$(VPATH)) This puts a space-separated list of paths into file vpath.txt in the build ...
by steved
Thu Jul 18, 2019 9:55 am
Forum: Development and Feedback
Topic: VPATH Bites Again...
Replies: 4
Views: 111

Re: VPATH Bites Again...

Would it be practicable to add an optional "check for duplicate files" step into the makefile immediately after setting VPATH? Either as an external program, or possibly MAKE itself is clever enough?
by steved
Mon Jul 15, 2019 1:36 pm
Forum: Bug Reports
Topic: hal_Serial_nor.c
Replies: 1
Views: 85

hal_Serial_nor.c

All with #define SNOR_SHARED_BUS FALSE 1. The empty macro for bus_acquire needs another parameter: #define bus_acquire(busp, config) 2. The 'real' bus_acquire() routine calls wspiStart() when required; the empty macro does not. (config is not (void)). So wspi does not start if there's no bus arbitra...
by steved
Fri Jul 12, 2019 11:58 am
Forum: Bug Reports
Topic: Flash - missing bracket Topic is solved
Replies: 5
Views: 110

Re: Flash - missing bracket Topic is solved

You would include a single set of device files, one crafted to support multiple devices. Current device files are not designed for that. Giovanni I wondered if that was what you had in mind. At one point you added a NULL field at the beginning of each flash descriptor with a view to supporting link...
by steved
Fri Jul 12, 2019 11:55 am
Forum: STM32 Support
Topic: Unhandled exception - how to debug
Replies: 26
Views: 299

Re: Unhandled exception - how to debug

Since I have all chibiOS debug options enabled, would I not see some debug message? After all dynamic thread and pool element allocations, I use "chDbgAssert" and check for NULL pointers. Stack overflows would also be indicated, as far as I am aware. Not necessarily - sometimes the except...
by steved
Thu Jul 11, 2019 1:57 pm
Forum: STM32 Support
Topic: Unhandled exception - how to debug
Replies: 26
Views: 299

Re: Unhandled exception - how to debug

I ended up defining some individual exception handlers in a similar situation, so that I could be confident of which vector was being triggered. (In my case I think it was due to a difference in how some feature was handled across Chibi versions, but might have misremembered that. Could have been a ...
by steved
Thu Jul 11, 2019 1:49 pm
Forum: Bug Reports
Topic: Flash - missing bracket Topic is solved
Replies: 5
Views: 110

Re: Flash - missing bracket Topic is solved

Hi, If you need devices selectable at runtime then you need to write a "device files" set with runtime checks on the chip IDs and all the required checks to handle command differences. Currently it is not supported but it should not require code changes in the common parts. Giovanni But t...
by steved
Thu Jul 11, 2019 10:43 am
Forum: Bug Reports
Topic: Flash - missing bracket Topic is solved
Replies: 5
Views: 110

Flash - missing bracket Topic is solved

In os\hal\lib\complex\serial_nor\devices\macronix_mx25\hal_flash_device.h line 201 there's a missing bracket (modified file attached). Also, the size field has been removed from type flash_descriptor_t in hal_flash.h, but is still present and set up in the device-specific code for both mx25 and n25q...
by steved
Tue Jul 02, 2019 11:58 am
Forum: Bug Reports
Topic: F7 processor type in demos Topic is solved
Replies: 1
Views: 123

F7 processor type in demos Topic is solved

The makefile for the F767 demo defines the target as cortex-m4; its actually cortex-m7 (not that there's an obvious difference in practice!)

Go to advanced search