Skip to content

Commit 1a460d2

Browse files
committed
feat: Add Inhero MR-2 repeater variant
Hardware: RAK4630, BQ25798 MPPT solar charger with Power Path, INA228 fuel gauge, RV-3028-C7 RTC, BME280. Features: - Multi-chemistry support: Li-Ion, LiFePO4, LTO, Na-Ion with JEITA - 3.6-24V MPPT solar charging - Precision fuel gauging via INA228 (coulomb counting + voltage correlation) - Low-power: ~6 mA active idle (RX), < 500 uA sleep, ~15 uA system-off - Low V Sleep with RTC-triggered recovery checks - Configuration via custom CLI commands via get/set board.* extension pattern Includes: board definition, variant config, I2C drivers (BQ25798, INA228), BoardConfigContainer.
1 parent 2647497 commit 1a460d2

17 files changed

Lines changed: 6439 additions & 0 deletions

boards/inhero_mr2.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"ldscript": "nrf52840_s140_v6.ld"
5+
},
6+
"core": "nRF5",
7+
"cpu": "cortex-m4",
8+
"extra_flags": "-DARDUINO_NRF52840_FEATHER -DNRF52840_XXAA",
9+
"f_cpu": "64000000L",
10+
"hwids": [
11+
[
12+
"0x239A",
13+
"0x8029"
14+
],
15+
[
16+
"0x239A",
17+
"0x0029"
18+
],
19+
[
20+
"0x239A",
21+
"0x002A"
22+
],
23+
[
24+
"0x239A",
25+
"0x802A"
26+
]
27+
],
28+
"usb_product": "Inhero MR2",
29+
"mcu": "nrf52840",
30+
"variant": "Inhero_MR2_Board",
31+
"bsp": {
32+
"name": "adafruit"
33+
},
34+
"softdevice": {
35+
"sd_flags": "-DS140",
36+
"sd_name": "s140",
37+
"sd_version": "6.1.1",
38+
"sd_fwid": "0x00B6"
39+
},
40+
"bootloader": {
41+
"settings_addr": "0xFF000"
42+
}
43+
},
44+
"connectivity": [
45+
"bluetooth"
46+
],
47+
"debug": {
48+
"jlink_device": "nRF52840_xxAA",
49+
"svd_path": "nrf52840.svd",
50+
"openocd_target": "nrf52.cfg"
51+
},
52+
"frameworks": [
53+
"arduino"
54+
],
55+
"name": "Inhero MR-2",
56+
"upload": {
57+
"maximum_ram_size": 235520,
58+
"maximum_size": 815104,
59+
"speed": 115200,
60+
"protocol": "nrfutil",
61+
"protocols": [
62+
"jlink",
63+
"nrfjprog",
64+
"nrfutil",
65+
"stlink",
66+
"cmsis-dap"
67+
],
68+
"use_1200bps_touch": true,
69+
"require_upload_port": true,
70+
"wait_for_upload_port": true
71+
},
72+
"url": "https://inhero.de",
73+
"vendor": "Inhero GmbH"
74+
}

0 commit comments

Comments
 (0)