Skip to content

Commit

Permalink
Rename mongoose_custom as mongoose_config
Browse files Browse the repository at this point in the history
  • Loading branch information
scaprile committed Apr 16, 2024
1 parent db6730c commit 2c55829
Show file tree
Hide file tree
Showing 122 changed files with 154 additions and 1,502 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,12 @@ mongoose.h: $(HDRS) Makefile
(cat src/license.h; echo; echo '#ifndef MONGOOSE_H'; echo '#define MONGOOSE_H'; echo; cat src/version.h ; echo; echo '#ifdef __cplusplus'; echo 'extern "C" {'; echo '#endif'; cat src/arch.h src/arch_*.h src/net_ft.h src/net_lwip.h src/net_rl.h src/config.h src/str.h src/queue.h src/fmt.h src/printf.h src/log.h src/timer.h src/fs.h src/util.h src/url.h src/iobuf.h src/base64.h src/md5.h src/sha1.h src/sha256.h src/tls_x25519.h src/tls_aes128.h src/tls_uecc.h src/event.h src/net.h src/http.h src/ssi.h src/tls.h src/tls_mbed.h src/tls_openssl.h src/ws.h src/sntp.h src/mqtt.h src/dns.h src/json.h src/rpc.h src/ota.h src/device.h src/net_builtin.h src/profile.h src/drivers/*.h | sed -e '/keep/! s,#include ".*,,' -e 's,^#pragma once,,'; echo; echo '#ifdef __cplusplus'; echo '}'; echo '#endif'; echo '#endif // MONGOOSE_H')> $@


clean: clean_examples clean_embedded
clean: clean_examples clean_examples_embedded
rm -rf $(PROG) *.exe *.o *.dSYM *_test* ut fuzzer *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb slow-unit* _CL_* infer-out data.txt crash-* test/packed_fs.c pack
#find examples -maxdepth 3 -name zephyr -prune -o -name Makefile -print | xargs dirname | xargs -n1 make clean -C

clean_embedded:
examples_embedded:
@for X in $(EXAMPLES_EMBEDDED); do test -f $$X/Makefile || continue; $(MAKE) -C $$X build || exit 1; done
clean_examples_embedded:
for X in $(EXAMPLES_EMBEDDED); do test -f $$X/Makefile || continue; $(MAKE) -C $$X clean || exit 1; done

11 changes: 0 additions & 11 deletions examples/arduino/teensy41-http/mongoose_custom.h

This file was deleted.

16 changes: 0 additions & 16 deletions examples/arduino/w5500-http/mongoose_custom.h

This file was deleted.

16 changes: 0 additions & 16 deletions examples/arduino/w5500-mqtt/mongoose_custom.h

This file was deleted.

2 changes: 0 additions & 2 deletions examples/esp32/micropython/mongoose/mongoose_custom.h

This file was deleted.

2 changes: 1 addition & 1 deletion examples/nxp/rt1020-evk-make-baremetal-builtin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SOURCES = main.c syscalls.c sysinit.c
SOURCES += cmsis_mcu/devices/MIMXRT1021/gcc/startup_MIMXRT1021.S # NXP startup file. Compiler-dependent!
CFLAGS += -D__ATOLLIC__ -D__STARTUP_CLEAR_BSS # Make startup code work as expected

# Mongoose options are defined in mongoose_custom.h
# Mongoose options are defined in mongoose_config.h
SOURCES += mongoose.c net.c packed_fs.c

# Example specific build options. See README.md
Expand Down
14 changes: 0 additions & 14 deletions examples/nxp/rt1020-evk-make-baremetal-builtin/mongoose_custom.h

This file was deleted.

4 changes: 2 additions & 2 deletions examples/nxp/rt1020-evk-make-freertos-builtin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SOURCES += FreeRTOS-Kernel/portable/GCC/ARM_CM4F/port.c
CFLAGS += -IFreeRTOS-Kernel/include
CFLAGS += -IFreeRTOS-Kernel/portable/GCC/ARM_CM4F -Wno-conversion

# Mongoose options are defined in mongoose_custom.h
# Mongoose options are defined in mongoose_config.h
SOURCES += mongoose.c net.c packed_fs.c

# Example specific build options. See README.md
Expand All @@ -38,7 +38,7 @@ ram: firmware.bin
firmware.bin: firmware.elf
arm-none-eabi-objcopy -O binary $< $@

firmware.elf: FreeRTOS-Kernel cmsis_core cmsis_mcu $(SOURCES) hal.h link_ram.ld link.ld mongoose_custom.h
firmware.elf: FreeRTOS-Kernel cmsis_core cmsis_mcu $(SOURCES) hal.h link_ram.ld link.ld mongoose_config.h
arm-none-eabi-gcc $(SOURCES) $(wildcard FreeRTOS-Kernel/*.c) $(CFLAGS) $(LDFLAGS) -o $@

flash: firmware.bin
Expand Down
13 changes: 0 additions & 13 deletions examples/nxp/rt1020-evk-make-freertos-builtin/mongoose_custom.h

This file was deleted.

2 changes: 1 addition & 1 deletion examples/nxp/rt1060-evk-make-baremetal-builtin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SOURCES = main.c syscalls.c sysinit.c
SOURCES += cmsis_mcu/devices/MIMXRT1062/gcc/startup_MIMXRT1062.S # NXP startup file. Compiler-dependent!
CFLAGS += -D__ATOLLIC__ -D__STARTUP_CLEAR_BSS # Make startup code work as expected

# Mongoose options are defined in mongoose_custom.h
# Mongoose options are defined in mongoose_config.h
SOURCES += mongoose.c net.c packed_fs.c

# Example specific build options. See README.md
Expand Down
14 changes: 0 additions & 14 deletions examples/nxp/rt1060-evk-make-baremetal-builtin/mongoose_custom.h

This file was deleted.

4 changes: 2 additions & 2 deletions examples/nxp/rt1060-evk-make-freertos-builtin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SOURCES += FreeRTOS-Kernel/portable/GCC/ARM_CM4F/port.c
CFLAGS += -IFreeRTOS-Kernel/include
CFLAGS += -IFreeRTOS-Kernel/portable/GCC/ARM_CM4F -Wno-conversion

# Mongoose options are defined in mongoose_custom.h
# Mongoose options are defined in mongoose_config.h
SOURCES += mongoose.c net.c packed_fs.c

# Example specific build options. See README.md
Expand All @@ -38,7 +38,7 @@ ram: firmware.bin
firmware.bin: firmware.elf
arm-none-eabi-objcopy -O binary $< $@

firmware.elf: FreeRTOS-Kernel cmsis_core cmsis_mcu $(SOURCES) hal.h link_ram.ld link.ld mongoose_custom.h
firmware.elf: FreeRTOS-Kernel cmsis_core cmsis_mcu $(SOURCES) hal.h link_ram.ld link.ld mongoose_config.h
arm-none-eabi-gcc $(SOURCES) $(wildcard FreeRTOS-Kernel/*.c) $(CFLAGS) $(LDFLAGS) -o $@

flash: firmware.bin
Expand Down
13 changes: 0 additions & 13 deletions examples/nxp/rt1060-evk-make-freertos-builtin/mongoose_custom.h

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion examples/nxp/rt1170-evk-make-baremetal-builtin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SOURCES += cmsis_mcu/devices/MIMXRT1176/gcc/startup_MIMXRT1176_cm7.S # NXP start
SOURCES += cmsis_mcu/devices/MIMXRT1176/drivers/fsl_clock.c cmsis_mcu/devices/MIMXRT1176/drivers/fsl_anatop_ai.c cmsis_mcu/devices/MIMXRT1176/drivers/fsl_pmu.c cmsis_mcu/devices/MIMXRT1176/drivers/fsl_dcdc.c cmsis_mcu/devices/MIMXRT1176/drivers/fsl_common_arm.c # NXP support files
CFLAGS += -D__ATOLLIC__ -D__STARTUP_CLEAR_BSS # Make startup code work as expected

# Mongoose options are defined in mongoose_custom.h
# Mongoose options are defined in mongoose_config.h
SOURCES += mongoose.c net.c packed_fs.c

# Example specific build options. See README.md
Expand Down
16 changes: 0 additions & 16 deletions examples/nxp/rt1170-evk-make-baremetal-builtin/mongoose_custom.h

This file was deleted.

13 changes: 0 additions & 13 deletions examples/renesas/ek-ra6m4-make-baremetal-builtin/mongoose_custom.h

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3641,7 +3641,7 @@
<PaneID>0</PaneID>
</Doc>
<Doc>
<Name>.\mongoose_custom.h</Name>
<Name>.\mongoose_config.h</Name>
<ColumnNumber>0</ColumnNumber>
<TopLine>1</TopLine>
<CurrentLine>1</CurrentLine>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\mongoose_custom.h</PathWithFileName>
<FilenameWithoutPath>mongoose_custom.h</FilenameWithoutPath>
<PathWithFileName>.\mongoose_config.h</PathWithFileName>
<FilenameWithoutPath>mongoose_config.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,9 @@
<FilePath>.\mongoose.c</FilePath>
</File>
<File>
<FileName>mongoose_custom.h</FileName>
<FileName>mongoose_config.h</FileName>
<FileType>5</FileType>
<FilePath>.\mongoose_custom.h</FilePath>
<FilePath>.\mongoose_config.h</FilePath>
</File>
</Files>
</Group>
Expand Down Expand Up @@ -859,9 +859,9 @@
<FilePath>.\mongoose.c</FilePath>
</File>
<File>
<FileName>mongoose_custom.h</FileName>
<FileName>mongoose_config.h</FileName>
<FileType>5</FileType>
<FilePath>.\mongoose_custom.h</FilePath>
<FilePath>.\mongoose_config.h</FilePath>
</File>
</Files>
</Group>
Expand Down
Loading

0 comments on commit 2c55829

Please sign in to comment.