Writing docs for a new flash driver

2024-12-31 Thread Andrew Shelley
I am adding support for the new PIC32CZ family from Microchip. Confusingly these bear no relation to the original PIC32 devices and are actually relatively powerful ARM Cortex7 MCUs. The internal flash controller does bear some similarity with the already supported PIC32MX implementation but not en

[PATCH]: 73efd5a56f transport: use helper/list.h for the list of transports

2024-12-31 Thread gerrit
This is an automated email from Gerrit. "Antonio Borneo " just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8684 -- gerrit commit 73efd5a56fccaefcb6b79c8eed8c5d9146053704 Author: Antonio Borneo Date: Tue Dec 31 16:29:46 2024 +0100 tran

[PATCH]: 98fed3e348 transport: store the transports sorted by alphabetic name order

2024-12-31 Thread gerrit
This is an automated email from Gerrit. "Antonio Borneo " just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8685 -- gerrit commit 98fed3e3483a4e6b74c0af36e6b7de5f117d6385 Author: Antonio Borneo Date: Tue Dec 31 17:01:41 2024 +0100 tran

Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Michael Schwingen
On 31.12.24 12:07, Antonio Borneo wrote: Mistake in the reply above, src/helper/list.h is now a copy from BSD. The Linux code has been dropped to use a more permissive license. Then, the file is part of GNU libc, it's not an abuse from MacOS environment. https://sourceware.org/git/?p=glibc.git;

Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Antonio Borneo
Please have a look at https://review.openocd.org/c/openocd/+/8683 Regards Antonio On Tue, Dec 31, 2024 at 12:07 PM Antonio Borneo wrote: > > On Tue, Dec 31, 2024 at 9:05 AM Antonio Borneo > wrote: > > > > > > > > On Mon, Dec 30, 2024, 23:07 Andrew Shelley wrote: > >> > >> In file included fro

[PATCH]: efcdef2397 helper: list: rename macro clashing with sys/queue.h

2024-12-31 Thread gerrit
This is an automated email from Gerrit. "Antonio Borneo " just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8683 -- gerrit commit efcdef2397ed1788de0366796938b9952476c7bf Author: Antonio Borneo Date: Tue Dec 31 14:47:02 2024 +0100 help

Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Antonio Borneo
On Tue, Dec 31, 2024 at 9:05 AM Antonio Borneo wrote: > > > > On Mon, Dec 30, 2024, 23:07 Andrew Shelley wrote: >> >> In file included from src/target/espressif/esp32_apptrace.c:25: >> >> ./src/helper/list.h:49:9: error: 'LIST_HEAD' macro redefined >> [-Werror,-Wmacro-redefined] >> >>49 | #d

[openocd:tickets] #446 New compile error in debian docker container

2024-12-31 Thread Antonio Borneo
Thanks for the ticket. Please check https://review.openocd.org/c/openocd/+/8682 Our autobuild failed to detect the issue because other drivers requiring bitbang code were included, hiding the broken dependency of 'dummy' adapter. --- **[tickets:#446] New compile error in debian docker container

[PATCH]: 5cc915fed5 configure: fix dependency of bitbang from dummy adapter

2024-12-31 Thread gerrit
This is an automated email from Gerrit. "Antonio Borneo " just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8682 -- gerrit commit 5cc915fed5164b1e107016680adf7d5c47565e92 Author: Antonio Borneo Date: Tue Dec 31 10:38:28 2024 +0100 conf

[openocd:tickets] #446 New compile error in debian docker container

2024-12-31 Thread Andrew Shelley
I also hit this last night after pulling latest master. I am building on Apple Silicon aarch64 and got a linker error that the bitbang methods were undefined for ARM64. I worked around it by enabling the broadcom (PI) bitbanger in configure to force inclusion of the bitbang source. I am a newbi

Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Antonio Borneo
On Mon, Dec 30, 2024, 23:07 Andrew Shelley wrote: > In file included from src/target/espressif/esp32_apptrace.c:25: > > *./src/helper/list.h:49:9: **error: **'LIST_HEAD' macro redefined > [-Werror,-Wmacro-redefined]* > >49 | #define LIST_HEAD(name) \ > > | *^* > > */Applications