File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ FLASH_BANK_COMMAND_HANDLER(esp32_s2_flash_bank_command)
120120
121121static int esp32_s2_get_info (struct flash_bank * bank , char * buf , int buf_size )
122122{
123- snprintf (buf , buf_size , "ESP32_S2 " );
123+ snprintf (buf , buf_size , "ESP32S2 " );
124124 return ERROR_OK ;
125125}
126126
@@ -136,7 +136,7 @@ static const struct command_registration esp32_s2_command_handlers[] = {
136136};
137137
138138struct flash_driver esp32_s2_flash = {
139- .name = "esp32_s2 " ,
139+ .name = "esp32s2 " ,
140140 .commands = esp32_s2_command_handlers ,
141141 .flash_bank_command = esp32_s2_flash_bank_command ,
142142 .erase = esp_xtensa_erase ,
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ static const struct FreeRTOS_params FreeRTOS_params_list[] = {
123123 rtos_freertos_esp32_pick_stacking_info , /* fn to pick stacking_info */
124124 },
125125 {
126- "esp32_s2 " , /* target_name */
126+ "esp32s2 " , /* target_name */
127127 4 , /* thread_count_width; */
128128 4 , /* pointer_width; */
129129 16 , /* list_next_offset; */
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ source [find target/esp_common.cfg]
77if { [info exists CHIPNAME] } {
88 set _CHIPNAME $CHIPNAME
99} else {
10- set _CHIPNAME esp32_s2
10+ set _CHIPNAME esp32s2
1111}
1212
1313if { [info exists CPUTAPID] } {
@@ -23,9 +23,9 @@ set _TAPNAME $_CHIPNAME.$_CPUNAME
2323jtag newtap $_CHIPNAME $_CPUNAME -irlen 5 -expected-id $_CPUTAPID
2424
2525if { $_RTOS == " none" } {
26- target create $_TARGETNAME esp32_s2 -endian little -chain-position $_TAPNAME
26+ target create $_TARGETNAME esp32s2 -endian little -chain-position $_TAPNAME
2727} else {
28- target create $_TARGETNAME esp32_s2 -endian little -chain-position $_TAPNAME -rtos $_RTOS
28+ target create $_TARGETNAME esp32s2 -endian little -chain-position $_TAPNAME -rtos $_RTOS
2929}
3030
3131configure_esp_workarea $_TARGETNAME 0x40030000 0x3400 0x3FFE0000 0x6000
You can’t perform that action at this time.
0 commit comments