From ee9482b9222d28f36e0013c5542269a8be81f421 Mon Sep 17 00:00:00 2001 From: cpq Date: Sun, 31 May 2026 15:37:11 +0100 Subject: [PATCH] Move AGENTS.md to the repo root --- resources/specs/CLAUDE.md => AGENTS.md | 0 resources/I-CUBE-Mongoose/README.md | 4 ++-- resources/downloads/Makefile | 2 +- resources/downloads/integrate_mongoose_cubemx.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename resources/specs/CLAUDE.md => AGENTS.md (100%) diff --git a/resources/specs/CLAUDE.md b/AGENTS.md similarity index 100% rename from resources/specs/CLAUDE.md rename to AGENTS.md diff --git a/resources/I-CUBE-Mongoose/README.md b/resources/I-CUBE-Mongoose/README.md index 93067398..2bf4087c 100644 --- a/resources/I-CUBE-Mongoose/README.md +++ b/resources/I-CUBE-Mongoose/README.md @@ -171,10 +171,10 @@ Rebuild and reflash ## AI agentic development -For agentic development, use https://github.com/cesanta/mongoose/tree/master/resources/specs/CLAUDE.md +For agentic development, use https://github.com/cesanta/mongoose/tree/master/AGENTS.md Use a prompt like this: -> Read and apply https://github.com/cesanta/mongoose/tree/master/resources/specs/CLAUDE.md +> Read and apply https://github.com/cesanta/mongoose/tree/master/AGENTS.md ## Add MQTT Client diff --git a/resources/downloads/Makefile b/resources/downloads/Makefile index 7f914eb2..3e1a803d 100644 --- a/resources/downloads/Makefile +++ b/resources/downloads/Makefile @@ -32,7 +32,7 @@ $(1)-dashboard-$(2): mkdir -p $$@ $(MAKE) -C $(TOP)/tutorials/rp/$(1) clean cp -r $(TOP)/tutorials/rp/$(1)/* $$@/ - cp $(TOP)/{LICENSE,resources/specs/CLAUDE.md} $$@/ + cp $(TOP)/{LICENSE,AGENTS.md} $$@/ cp $(TOP)/{mongoose.c,mongoose.h} $$@/mongoose/ cp $(TOP)/resources/html2c.js $$@/mongoose/ cp $(TOP)/tutorials/device-dashboard/$(2)/{dashboard.c,dashboard.html} $$@/mongoose/ diff --git a/resources/downloads/integrate_mongoose_cubemx.sh b/resources/downloads/integrate_mongoose_cubemx.sh index 690fdd90..a3e236fd 100755 --- a/resources/downloads/integrate_mongoose_cubemx.sh +++ b/resources/downloads/integrate_mongoose_cubemx.sh @@ -47,7 +47,7 @@ patch_linker_script $DIR/STM32H743ZITX_FLASH.ld patch_linker_script $DIR/STM32H747XIHX_FLASH.ld patch_linker_script $DIR/stm32h747xx_flash_CM7.ld test -f $DIR/LICENSE || $CURL $RAW/LICENSE -o $DIR/LICENSE -test -f $DIR/CLAUDE.md || $CURL $RAW/resources/specs/CLAUDE.md -o $DIR/CLAUDE.md +test -f $DIR/AGENTS.md || $CURL $RAW/AGENTS.md -o $DIR/AGENTS.md case $DIR in portenta*) ( grep -q 'void hwspecific_sdio_init(void);' "$MAIN_C" || \ perl -i -ne 'print; print "void hwspecific_sdio_init(void);\n" if /USER CODE BEGIN 0/' "$MAIN_C"