Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3415d35
remove S3 DIO Flash add 120 OPI Flash / PSRAM
Jason2866 Oct 1, 2025
2b10a15
Comment out CONFIG_LIBC_LOCKS_PLACE_IN_IRAM
Jason2866 Oct 2, 2025
e16765e
Update SPI flash configuration in defconfig
Jason2866 Oct 5, 2025
50ac059
Rename Wi-Fi configuration parameters
Jason2866 Oct 11, 2025
ed19231
Disable itwt
Jason2866 Oct 23, 2025
338827e
Update defconfig.esp32p4
Jason2866 Oct 23, 2025
f43e117
Add default TCP send buffer configuration
Jason2866 Oct 26, 2025
599a53f
Enable host configuration options in tusb_config.h
Jason2866 Nov 5, 2025
131efde
Clean up CMakeLists.txt by removing comments
Jason2866 Nov 8, 2025
5448af7
Delete components/arduino_tinyusb/patches/dcd_dwc2.patch
Jason2866 Nov 8, 2025
02f9805
Delete components/arduino_tinyusb/src/dcd_dwc2.c
Jason2866 Nov 8, 2025
81f6002
Delete tools/patch-tinyusb.sh
Jason2866 Nov 8, 2025
34ba42e
Remove patch application from update script
Jason2866 Nov 8, 2025
f530093
Delete patches/dwc2_esp32_h.diff
Jason2866 Nov 10, 2025
41920ae
Enable LCD RGB ISR IRAM safe configuration
Jason2866 Nov 10, 2025
36dcb21
Disable CONFIG_LCD_RGB_RESTART_IN_VSYNC option
Jason2866 Nov 10, 2025
0c51862
Modify esp32s3 target configurations
Jason2866 Nov 11, 2025
20d2800
Rename workflow to 'IDF v5.5 S3 120M'
Jason2866 Nov 11, 2025
728df4f
Fix typo in idf_libs for esp32s3 target
Jason2866 Nov 11, 2025
28c74f1
Change S3 bootloader and memory variants
Jason2866 Nov 11, 2025
c394de7
S3 reduce bootloaders
Jason2866 Nov 11, 2025
fabbc37
add speed to mem variant folder for S3 (#124)
Jason2866 Nov 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/parallel_build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: IDF v5.5 based build
name: IDF v5.5 S3 120M

on:
workflow_dispatch: # Manually start a workflow
Expand Down
14 changes: 12 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,17 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do

# Build IDF Libs
idf_libs_configs="$main_configs"

# Extract frequency from idf_libs (element [1]) for esp32s3
if [ "$target" = "esp32s3" ]; then
export MEM_VARIANT_FREQ=$(echo "$target_json" | jq -r '.idf_libs[1]')
fi

for defconf in `echo "$target_json" | jq -c '.idf_libs[]' | tr -d '"'`; do
idf_libs_configs="$idf_libs_configs;configs/defconfig.$defconf"
done

echo "* Build IDF-Libs: $idf_libs_configs"
echo "* Build IDF-Libs: $idf_libs_configs (freq: $MEM_VARIANT_FREQ)"
rm -rf build sdkconfig
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$idf_libs_configs" idf-libs
if [ $? -ne 0 ]; then exit 1; fi
Expand All @@ -236,11 +242,15 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
# Build Memory Variants
for mem_conf in `echo "$target_json" | jq -c '.mem_variants[]'`; do
mem_configs="$main_configs"

# Extract frequency from mem_variant (element [1])
export MEM_VARIANT_FREQ=$(echo "$mem_conf" | jq -r '.[1]')

for defconf in `echo "$mem_conf" | jq -c '.[]' | tr -d '"'`; do
mem_configs="$mem_configs;configs/defconfig.$defconf";
done

echo "* Build Memory Variant: $mem_configs"
echo "* Build Memory Variant: $mem_configs (freq: $MEM_VARIANT_FREQ)"
rm -rf build sdkconfig
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$mem_configs" mem-variant
if [ $? -ne 0 ]; then exit 1; fi
Expand Down
2 changes: 0 additions & 2 deletions components/arduino_tinyusb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ if(CONFIG_TINYUSB_ENABLED)
endif()

set(srcs
# espressif:
#"${COMPONENT_DIR}/src/dcd_dwc2.c"
# tusb:
"${COMPONENT_DIR}/tinyusb/src/portable/synopsys/dwc2/dcd_dwc2.c"
"${COMPONENT_DIR}/tinyusb/src/portable/synopsys/dwc2/dwc2_common.c"
Expand Down
25 changes: 25 additions & 0 deletions components/arduino_tinyusb/include/tusb_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ extern "C" {
# define CONFIG_TINYUSB_NCM_ENABLED 0
#endif

#if CONFIG_TINYUSB_ENABLED
# define CFG_TUD_ENABLED 1
#endif

/* */
/* COMMON CONFIGURATION */
/* */
Expand Down Expand Up @@ -162,6 +166,27 @@ extern "C" {
#define CFG_TUD_VENDOR_RX_BUFSIZE CONFIG_TINYUSB_VENDOR_RX_BUFSIZE
#define CFG_TUD_VENDOR_TX_BUFSIZE CONFIG_TINYUSB_VENDOR_TX_BUFSIZE

/* */
/* HOST CONFIGURATION */
/* */

#define CFG_TUH_ENABLED CFG_TUD_ENABLED
#define CFG_TUSB_RHPORT1_MODE OPT_MODE_HOST
#define BOARD_TUH_RHPORT 1
#define BOARD_TUH_MAX_SPEED CFG_TUD_MAX_SPEED
#define CFG_TUH_ENUMERATION_BUFSIZE 256

#define CFG_TUH_HUB 2 // number of supported hubs
#define CFG_TUH_CDC 1 // CDC ACM
#define CFG_TUH_CDC_FTDI 1 // FTDI Serial. FTDI is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_CP210X 1 // CP210x Serial. CP210X is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_CH34X 1 // CH340 or CH341 Serial. CH34X is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_HID 1 // typical keyboard + mouse device can have 3-4 HID interfaces
#define CFG_TUH_MSC 1
//#define CFG_TUH_VENDOR 3

#define CFG_TUH_DEVICE_MAX (3*CFG_TUH_HUB + 1)

//------------- HID -------------//
#define CFG_TUH_HID_EPIN_BUFSIZE 64
#define CFG_TUH_HID_EPOUT_BUFSIZE 64
Expand Down
84 changes: 0 additions & 84 deletions components/arduino_tinyusb/patches/dcd_dwc2.patch

This file was deleted.

Loading