Repository navigation
add WIP for Unit C6L #7433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
add WIP for Unit C6L #7433
Changes from 5 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
ce973e5
add WIP for Unit C6L
caveman99 ddb4173
adapt to new config structure
caveman99 42f3064
add WIP for Unit C6L
caveman99 42941a5
adapt to new config structure
caveman99 92b03d1
Merge branch 'm5-c6l-wip' of https://github.com/meshtastic/firmware i…
caveman99 7166f25
add WIP for Unit C6L
caveman99 6770f29
adapt to new config structure
caveman99 3b36c7c
Merge branch 'm5-c6l-wip' of https://github.com/meshtastic/firmware i…
caveman99 4e30aca
add WIP for Unit C6L
caveman99 e68a676
adapt to new config structure
caveman99 6126646
Merge branch 'm5-c6l-wip' of https://github.com/meshtastic/firmware i…
caveman99 d95e316
Merge branch 'master' into m5-c6l-wip
thebentern 689b082
Merge branch 'master' into m5-c6l-wip
jp-bennett 3cd227a
Merge branch 'master' into m5-c6l-wip
jp-bennett aeee7d4
Add c6l BLE and screen support (#7991)
jp-bennett 00a871f
Minor c6l fix
jp-bennett 951522b
Merge branch 'master' into m5-c6l-wip
jp-bennett 9700c06
Merge branch 'm5-c6l-wip' of https://github.com/meshtastic/firmware i…
caveman99 efd4efc
local merge
caveman99 da11d6e
Merge error
caveman99 8605aa1
Move out of PRIVATE_HW
caveman99 1c242d7
Merge branch 'master' into m5-c6l-wip
jp-bennett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| #ifndef Pins_Arduino_h | ||
| #define Pins_Arduino_h | ||
|
|
||
| #include <stdint.h> | ||
|
|
||
| #define USB_VID 0x303a | ||
| #define USB_PID 0x1001 | ||
|
|
||
| static const uint8_t TX = 16; | ||
| static const uint8_t RX = 17; | ||
|
|
||
| static const uint8_t SDA = 10; | ||
| static const uint8_t SCL = 8; | ||
|
|
||
| // Default SPI will be mapped to Radio | ||
| static const uint8_t MISO = 22; | ||
| static const uint8_t SCK = 20; | ||
| static const uint8_t MOSI = 21; | ||
| static const uint8_t SS = 6; | ||
|
|
||
| // #define SPI_MOSI (11) | ||
| // #define SPI_SCK (14) | ||
| // #define SPI_MISO (2) | ||
| // #define SPI_CS (13) | ||
|
|
||
| // #define SDCARD_CS SPI_CS | ||
|
|
||
| #endif /* Pins_Arduino_h */ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| [env:m5stack-unitc6l] | ||
| extends = esp32c6_base | ||
| board = esp32-c6-devkitm-1 | ||
|
jp-bennett marked this conversation as resolved.
Resolved
|
||
| ;platform = https://github.com/Jason2866/platform-espressif32.git#22faa566df8c789000f8136cd8d0aca49617af55 | ||
| board_level = extra | ||
| ;OpenOCD flash method | ||
| ;upload_protocol = esp-builtin | ||
| ;Normal method | ||
| upload_protocol = esptool | ||
| ;upload_port = /dev/ttyACM2 | ||
| lib_deps = | ||
| ${esp32c6_base.lib_deps} | ||
| adafruit/Adafruit NeoPixel@^1.12.3 | ||
| ponoor/PI4IOE5V6416@^0.2.0 | ||
| build_flags = | ||
| ${esp32c6_base.build_flags} | ||
| -D PRIVATE_HW | ||
| -I variants/esp32c6/m5stack_unitc6l | ||
| -DMESHTASTIC_EXCLUDE_PAXCOUNTER=1 | ||
| -DMESHTASTIC_EXCLUDE_BLUETOOTH=1 | ||
| -DHAS_BLUETOOTH=0 | ||
| -DARDUINO_USB_CDC_ON_BOOT=1 | ||
| -DARDUINO_USB_MODE=1 | ||
| monitor_speed=115200 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| #define HAS_GPS 1 | ||
| #define GPS_RX_PIN 4 | ||
| #define GPS_TX_PIN 5 | ||
|
|
||
| #define I2C_SDA 10 | ||
| #define I2C_SCL 8 | ||
|
|
||
| #define PIN_BUZZER 11 | ||
|
|
||
| #define HAS_NEOPIXEL // Enable the use of neopixels | ||
| #define NEOPIXEL_COUNT 1 // How many neopixels are connected | ||
| #define NEOPIXEL_DATA 2 // gpio pin used to send data to the neopixels | ||
| #define NEOPIXEL_TYPE (NEO_GRB + NEO_KHZ800) // type of neopixels in use | ||
|
|
||
| // #define BUTTON_PIN 9 | ||
| #define BUTTON_EXTENDER | ||
|
|
||
| #undef LORA_SCK | ||
| #undef LORA_MISO | ||
| #undef LORA_MOSI | ||
| #undef LORA_CS | ||
|
|
||
| // WaveShare Core1262-868M OK | ||
| // https://www.waveshare.com/wiki/Core1262-868M | ||
| #define USE_SX1262 | ||
|
|
||
| #define LORA_MISO 22 | ||
| #define LORA_SCK 20 | ||
| #define LORA_MOSI 21 | ||
| #define LORA_CS 23 | ||
| #define LORA_RESET RADIOLIB_NC | ||
| #define LORA_DIO1 7 | ||
| #define LORA_BUSY 19 | ||
| #define SX126X_CS LORA_CS | ||
| #define SX126X_DIO1 LORA_DIO1 | ||
| #define SX126X_BUSY LORA_BUSY | ||
| #define SX126X_RESET LORA_RESET | ||
| #define SX126X_DIO2_AS_RF_SWITCH | ||
| #define SX126X_DIO3_TCXO_VOLTAGE 1.8 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.