ESP32-C6 compiling nothing append

I try to use for the first time a ESP32-C6 mini board.
I load the espressif/arduino-esp32 library 4.0.0.
Just to check all the environment i compile the simple the BlinkRGB program from the example.

I use the following ESP32 option:
USB CDC On Boot: Disabled
CPU Freq: 160Mhz
Core Debug Level : None
Erase All flash before Upload : Enabled
Flash freq: 80MHz
Flas Mode: DIO (I also try QIO)
Flash size : 4Mb
JTAG Adapter: I try all option
Partition schema: Default 4Mb with spiff
Upload Speed: 911600
ZigBee Mode: Disabled

the copilation output is the following:

Sketch uses 286184 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 15040 bytes (4%) of dynamic memory, leaving 312640 bytes for local variables. Maximum is 327680 bytes.
esptool v5.3.1
Serial port /dev/ttyACM0:
Connecting...
Connected to ESP32-C6 on /dev/ttyACM0:
Chip type:          ESP32-C6FH4 (QFN32) (revision v0.2)
Features:           Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz, Embedded Flash 4MB
Crystal frequency:  40MHz
USB mode:           USB-Serial/JTAG
MAC:                10:bd:a3:ff:fe:88:99:c8
BASE MAC:           10:bd:a3:88:99:c8
MAC_EXT:            ff:fe

Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 921600...
Changed.

Note: Fast reflashing of changed data sectors is not supported with enabled erase-all. Will flash all data.
Configuring flash size...
Erasing flash memory (this may take a while)...
Flash memory erased successfully in 0.5 seconds.

Writing '/home/luke/.cache/arduino/sketches/B50999CFD1BEA8336A35394D41AFF4C8/BlinkRGB.ino.bootloader.bin' at 0x00000000...
Compressed 19600 bytes to 12795...

Writing at 0x00000000 [                              ]   0.0% 0/12795 bytes... 

Writing at 0x00004c90 [==============================] 100.0% 12795/12795 bytes... 
Wrote 19600 bytes (12795 compressed) at 0x00000000 in 0.1 seconds (2190.8 kbit/s).
Verifying written data...
Hash of data verified.

Writing '/home/luke/.cache/arduino/sketches/B50999CFD1BEA8336A35394D41AFF4C8/BlinkRGB.ino.partitions.bin' at 0x00008000...
Compressed 3072 bytes to 146...

Writing at 0x00008000 [                              ]   0.0% 0/146 bytes... 

Writing at 0x00008c00 [==============================] 100.0% 146/146 bytes... 
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (5367.6 kbit/s).
Verifying written data...
Hash of data verified.

Writing '/home/luke/.arduino15/packages/esp32/hardware/esp32/4.0.0/tools/partitions/boot_app0.bin' at 0x0000e000...
Compressed 8192 bytes to 47...

Writing at 0x0000e000 [                              ]   0.0% 0/47 bytes... 

Writing at 0x00010000 [==============================] 100.0% 47/47 bytes... 
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (5823.7 kbit/s).
Verifying written data...
Hash of data verified.

Writing '/home/luke/.cache/arduino/sketches/B50999CFD1BEA8336A35394D41AFF4C8/BlinkRGB.ino.bin' at 0x00010000...
Compressed 299008 bytes to 163172...

Writing at 0x00010000 [                              ]   0.0% 0/163172 bytes... 

Writing at 0x0001c143 [==>                           ]  10.0% 16384/163172 bytes... 

Writing at 0x00023480 [=====>                        ]  20.1% 32768/163172 bytes... 

Writing at 0x0002928f [========>                     ]  30.1% 49152/163172 bytes... 

Writing at 0x00033172 [===========>                  ]  40.2% 65536/163172 bytes... 

Writing at 0x00039b1c [==============>               ]  50.2% 81920/163172 bytes... 

Writing at 0x00040058 [=================>            ]  60.2% 98304/163172 bytes... 

Writing at 0x000467f7 [====================>         ]  70.3% 114688/163172 bytes... 

Writing at 0x0004c865 [=======================>      ]  80.3% 131072/163172 bytes... 

Writing at 0x0005295c [==========================>   ]  90.4% 147456/163172 bytes... 

Writing at 0x00059000 [==============================] 100.0% 163172/163172 bytes... 
Wrote 299008 bytes (163172 compressed) at 0x00010000 in 0.6 seconds (3740.5 kbit/s).
Verifying written data...
Hash of data verified.

But nothing append. The board seams to do nothing. No blink.
What is wrong in my process ?

Many thanks in advance for any suggestion

Welcome to the forum

Please post the sketch that you are compiling, using code tags when you do

Can you please also post a link to the exact board that you are using

Which exact one and what did you select as board on board manager? You likely have wrong LED pin defined. Also, did you reset or power cycle the board after upload?

Is this the code you uploaded ?

#include <Adafruit_NeoPixel.h>
constexpr uint8_t LED_PIN = 8;
constexpr uint8_t NUM_LEDS = 1;
Adafruit_NeoPixel rgbLed(NUM_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);
struct RGB {
    uint8_t r, g, b;
};

constexpr RGB COLOR_OFF   = {0, 0, 0};
// ...Feel free to add more colors here...
constexpr RGB CUSTOM_COLOR = {255, 0, 255}; 

void setColor(const RGB& color, uint8_t brightness = 100) {
    uint16_t scale = (uint16_t)brightness * 255 / 100;
    uint8_t r = (uint8_t)(((uint16_t)color.r * scale) / 255);
    uint8_t g = (uint8_t)(((uint16_t)color.g * scale) / 255);
    uint8_t b = (uint8_t)(((uint16_t)color.b * scale) / 255);
    rgbLed.setPixelColor(0, rgbLed.Color(r, g, b));
    rgbLed.show();
}

void setup() {
    rgbLed.begin(); 
    rgbLed.show(); 
}

void loop() {
    setColor(CUSTOM_COLOR, 50); // 50% brightness
    delay(1000);
    setColor(COLOR_OFF);
    delay(1000);
}

from here ? Just make sure you define the LED on GPIO 8

Try starting with a simple "Hello World" code instead.

At the first thanks to all for your suggestion !

The following is my scatch ( I take it from library example ESP32->GPIO->BLinkRGB) :

/*
  BlinkRGB

  Demonstrates usage of onboard RGB LED on some ESP dev boards.

  Calling digitalWrite(RGB_BUILTIN, HIGH) will use hidden RGB driver.

  RGBLedWrite demonstrates control of each channel:
  void rgbLedWrite(uint8_t pin, uint8_t red_val, uint8_t green_val, uint8_t blue_val)

  WARNING: After using digitalWrite to drive RGB LED it will be impossible to drive the same pin
    with normal HIGH/LOW level
*/

#include <Arduino.h>

//#define RGB_BRIGHTNESS 64 // Change white brightness (max 255)

// the setup function runs once when you press reset or power the board

void setup() {
  // No need to initialize the RGB LED
   Serial.begin(9600);
  while (!Serial);
  Serial.println();
  Serial.println("BlinkRGB setup");
}

// the loop function runs over and over again forever
void loop() {
#ifdef RGB_BUILTIN
  digitalWrite(RGB_BUILTIN, HIGH);  // Turn the RGB LED white
  delay(1000);
  digitalWrite(RGB_BUILTIN, LOW);  // Turn the RGB LED off
  delay(1000);

  rgbLedWrite(RGB_BUILTIN, RGB_BRIGHTNESS, 0, 0);  // Red
  delay(1000);
  rgbLedWrite(RGB_BUILTIN, 0, RGB_BRIGHTNESS, 0);  // Green
  delay(1000);
  rgbLedWrite(RGB_BUILTIN, 0, 0, RGB_BRIGHTNESS);  // Blue
  delay(1000);
  rgbLedWrite(RGB_BUILTIN, 0, 0, 0);  // Off / black
  delay(1000);
#endif
}

@kmin I use ESP23C6 Dev Mode
@Deva_Rishi I test your code and I take the following error:

Compilation error: Adafruit_NeoPixel.h: No such file or director

I perform other test. So I change the debug level to "Debug" and in console I get this output:

------------------------------------------
  Minimum Free Bytes:   428600 B ( 418.6 KB)
  Largest Free Block:   409588 B ( 400.0 KB)
------------------------------------------
GPIO Info:
------------------------------------------
  GPIO : BUS_TYPE[bus/unit][chan]
  --------------------------------------  
    16 : UART_TX[0]
    17 : UART_RX[0]
============ After Setup End =============

so my sketch seem to be loaded and work but the strange things this line

Serial.println("BlinkRGB setup");

that does not generate any output on serial console!

What is wrong on my environment ? Why I do not see the println on serial console ?

Set that Enabled.

You still didn't specify your exact board.

Thanks kmin...

the USB CDC On boot Enable works!

With this option now on the console I see my serial output.

I use ESP32C6 Dev Mode option on board menu.
Throw the compilation output I take the following info :`

connected to ESP32-C6 on /dev/ttyACM0:
Chip type:          ESP32-C6FH4 (QFN32) (revision v0.2)
Features:           Wi-Fi 6, BT 5 (LE), IEEE802.15.4, Single Core + LP Core, 160MHz, Embedded Flash 4MB
Crystal frequency:  40MHz
USB mode:           USB-Serial/JTAG
MAC:                10:bd:a3:ff:fe:88:99:c8
BASE MAC:           10:bd:a3:88:99:c8
MAC_EXT:            ff:fe

Is there another location to specify the correct board ? Is it my board an ESP32-C6 ?

There are hundreds of esp32-c6 boards around... Which one you have?

good question.....
I hope to buy this

Wifi6 ESP32 C6 RISC-V 32 bit ESP32-C6 N4 BT Modulo Wifi with RGB LED 4MB FLASH USB Type-C

how I can udestand the correct ESP32 that I buy ?

Correct for what?
Since you already have board under testing, what is that board? Post a link.

this one