Skip to content
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

Add support for mRo RemoteID M10049 board #84

Merged
merged 1 commit into from
Oct 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion RemoteIDModule/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export PATH := $(HOME)/.local/bin:$(PATH)

.PHONY: headers

all: headers esp32s3dev esp32c3dev bluemark-db200 bluemark-db110 jw-tbd
all: headers esp32s3dev esp32c3dev bluemark-db200 bluemark-db110 jw-tbd mro-rid

esp32s3dev: CHIP=esp32s3
esp32s3dev: ArduRemoteID-ESP32S3_DEV.bin
Expand All @@ -32,6 +32,9 @@ bluemark-db110: ArduRemoteID-BLUEMARK_DB110.bin
jw-tbd: CHIP=esp32s3
jw-tbd: ArduRemoteID-JW_TBD.bin

mro-rid: CHIP=esp32c3
mro-rid: ArduRemoteID-MRO_RID.bin

setup:
@echo "Installing ESP32 support"
$(ARDUINO_CLI) core update-index --config-file arduino-cli.yaml
Expand Down
10 changes: 10 additions & 0 deletions RemoteIDModule/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@
#define STATUS_LED_OK 1

#define CAN_APP_NODE_NAME "JW TBD"
#elif defined(BOARD_MRO_RID)
#define BOARD_ID 6
#define PIN_CAN_TX GPIO_NUM_0
#define PIN_CAN_RX GPIO_NUM_1

#define PIN_UART_TX 4
#define PIN_UART_RX 5

#define WS2812_LED_PIN GPIO_NUM_2
#define CAN_APP_NODE_NAME "mRobotics RemoteID"
#else
#error "unsupported board"
#endif