mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Move AGENTS.md to the repo root
This commit is contained in:
1 parent
a6452f5311
commit
ee9482b922
4 files changed
+4
-4
No files matched your search
File renamed without changes.
@@ -171,10 +171,10 @@ Rebuild and reflash
|
|||||||
|
|
||||||
## AI agentic development
|
## 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:
|
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
|
## Add MQTT Client
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ $(1)-dashboard-$(2):
|
|||||||
mkdir -p $$@
|
mkdir -p $$@
|
||||||
$(MAKE) -C $(TOP)/tutorials/rp/$(1) clean
|
$(MAKE) -C $(TOP)/tutorials/rp/$(1) clean
|
||||||
cp -r $(TOP)/tutorials/rp/$(1)/* $$@/
|
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)/{mongoose.c,mongoose.h} $$@/mongoose/
|
||||||
cp $(TOP)/resources/html2c.js $$@/mongoose/
|
cp $(TOP)/resources/html2c.js $$@/mongoose/
|
||||||
cp $(TOP)/tutorials/device-dashboard/$(2)/{dashboard.c,dashboard.html} $$@/mongoose/
|
cp $(TOP)/tutorials/device-dashboard/$(2)/{dashboard.c,dashboard.html} $$@/mongoose/
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ patch_linker_script $DIR/STM32H743ZITX_FLASH.ld
|
|||||||
patch_linker_script $DIR/STM32H747XIHX_FLASH.ld
|
patch_linker_script $DIR/STM32H747XIHX_FLASH.ld
|
||||||
patch_linker_script $DIR/stm32h747xx_flash_CM7.ld
|
patch_linker_script $DIR/stm32h747xx_flash_CM7.ld
|
||||||
test -f $DIR/LICENSE || $CURL $RAW/LICENSE -o $DIR/LICENSE
|
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*) (
|
case $DIR in portenta*) (
|
||||||
grep -q 'void hwspecific_sdio_init(void);' "$MAIN_C" || \
|
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"
|
perl -i -ne 'print; print "void hwspecific_sdio_init(void);\n" if /USER CODE BEGIN 0/' "$MAIN_C"
|
||||||
|
|||||||
Reference in new issue
Block a user