Skip to content

Commit ffa2194

Browse files
committed
1. Select OPI PSRAM by default.
2. Fixed pin name error in variant.cpp. 3. Added definition for RGB_BUILTIN.
1 parent 7557d3c commit ffa2194

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

boards.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19100,15 +19100,15 @@ cytron_maker_feather_aiot_s3.menu.UploadMode.default=UART0 / Hardware CDC
1910019100
cytron_maker_feather_aiot_s3.menu.UploadMode.default.upload.use_1200bps_touch=false
1910119101
cytron_maker_feather_aiot_s3.menu.UploadMode.default.upload.wait_for_upload_port=false
1910219102

19103+
cytron_maker_feather_aiot_s3.menu.PSRAM.opi=OPI PSRAM
19104+
cytron_maker_feather_aiot_s3.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM
19105+
cytron_maker_feather_aiot_s3.menu.PSRAM.opi.build.psram_type=opi
1910319106
cytron_maker_feather_aiot_s3.menu.PSRAM.enabled=QSPI PSRAM
1910419107
cytron_maker_feather_aiot_s3.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM
1910519108
cytron_maker_feather_aiot_s3.menu.PSRAM.enabled.build.psram_type=qspi
1910619109
cytron_maker_feather_aiot_s3.menu.PSRAM.disabled=Disabled
1910719110
cytron_maker_feather_aiot_s3.menu.PSRAM.disabled.build.defines=
1910819111
cytron_maker_feather_aiot_s3.menu.PSRAM.disabled.build.psram_type=qspi
19109-
cytron_maker_feather_aiot_s3.menu.PSRAM.opi=OPI PSRAM
19110-
cytron_maker_feather_aiot_s3.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM
19111-
cytron_maker_feather_aiot_s3.menu.PSRAM.opi.build.psram_type=opi
1911219112

1911319113
cytron_maker_feather_aiot_s3.menu.PartitionScheme.tinyuf2=TinyUF2 8MB (2MB APP/3.7MB FFAT)
1911419114
cytron_maker_feather_aiot_s3.menu.PartitionScheme.tinyuf2.build.custom_bootloader=bootloader-tinyuf2

variants/cytron_maker_feather_aiot_s3/pins_arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#define LED_BUILTIN 2
2323

2424
#define RGB 46 // RGB LED.
25+
#define RGB_BUILTIN 46
2526
#define NEOPIXEL 46
2627

2728
#define VP_EN 11 // V Peripheral Enable.

variants/cytron_maker_feather_aiot_s3/variant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
void initVariant(void)
3333
{
3434
// Turn on VPeripheral by default.
35-
pinMode(PIN_VP_EN, OUTPUT);
36-
digitalWrite(PIN_VP_EN, HIGH);
35+
pinMode(VP_EN, OUTPUT);
36+
digitalWrite(VP_EN, HIGH);
3737
}
3838
}

0 commit comments

Comments
 (0)