diff --git a/documentation/variants.md b/documentation/variants.md index 38a10012..5f26571e 100644 --- a/documentation/variants.md +++ b/documentation/variants.md @@ -9,6 +9,7 @@ Once completed, continue here by adding a variant for your custom board. - [X] Arduino Nano ble sense 33 - [X] Arduino Nano ble 33 - [X] Arduino Nano 33 iot +- [X] Beagleconnect Freedom ## Planned Support: (TODO) - [ ] Particle Xenon diff --git a/variants/beagleconnect_freedom/beagleconnect_freedom.overlay b/variants/beagleconnect_freedom/beagleconnect_freedom.overlay new file mode 100644 index 00000000..72fba1e3 --- /dev/null +++ b/variants/beagleconnect_freedom/beagleconnect_freedom.overlay @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2024 Ayush Singh + * + * SPDX-License-Identifier: Apache-2.0 + */ + + / { + zephyr,user { + digital-pin-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; /* 2.4GHz TX/RX */ + builtin-led-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; /* 2.4GHz TX/RX */ + serials = <&uart0 &uart1>; + i2cs = <&i2c0>; + }; + }; diff --git a/variants/beagleconnect_freedom/variants.h b/variants/beagleconnect_freedom/variants.h new file mode 100644 index 00000000..7b941ff5 --- /dev/null +++ b/variants/beagleconnect_freedom/variants.h @@ -0,0 +1,9 @@ +/* + * Copyright (c) 2024 Ayush Singh + * + * SPDX-License-Identifier: Apache-2.0 + */ +#pragma once + +#define LED_BUILTIN 0 +