apache / nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)
https://nuttx.apache.org/
Apache License 2.0
2.86k stars 1.17k forks source link

Board request: LilyGO T-Deck #11695

Open mirkokral opened 9 months ago

mirkokral commented 9 months ago

The T-Deck is an ESP32-S3 board in a semi-blackberry form factor with a BB keyboard, an (ST7789-compatible) display, power managment, optional LORA, i2s, microphone and some more, but no uart-to-usb adapter.

I could not get it into a nuttshell, but it seems like it is running. The only driver needed is probably for the keyboard, and that should be an easy task as the keyboard communicates thru the I2C bus.

Here is a keyboard_get_key arduino function taken from their repo:

    Wire.requestFrom(0x55, 1);
    if (Wire.available() > 0) {
        return Wire.read();
    } else {
      return 0;
    }

And all the pins seem to be defined here.

acassis commented 9 months ago

@mirkokral I have a T-Deck here and I can help you to get NuttX running on it. To get access to the NuttShell I suggest you to following this same approach: https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32s3/boards/esp32s3-eye/index.html

mirkokral commented 9 months ago

@acassis

@mirkokral I have a T-Deck here and I can help you to get NuttX running on it. To get access to the NuttShell I suggest you to following this same approach: https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32s3/boards/esp32s3-eye/index.html

I do see the tty, but when using minicom, picocom or screen i do not get anything. (BTW the same bin file works for my esp32-s3 devkit.)

znmeb commented 7 months ago

I have a T-Deck too ... and an M5Stack Cardputer. Is there a blog post somewhere on how to do this?

acassis commented 7 months ago

Hi @znmeb I do have a T-Deck and Cardputer here too, but didn't have the chance to test it yet. It is on my list. If you and/or @mirkokral want to start the board port I can help you guys!

coolcoder613eb commented 6 months ago

I am interested in this. I don't think I can help with the porting, not knowing C/C++, but I can help test.