Skip to content

Commit ab55428

Browse files
committed
Support SA818S targets #20
1 parent 5a50dea commit ab55428

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
env:
1212
SIF: https://github.com/OpenRTX/sa8x8-fw/releases/download/v1.0.0/rl78-elf-toolchain.sif
13-
TARGETS: sa868s_vhf sa868s_350 sa868s_uhf
13+
TARGETS: sa818s_vhf sa818s_uhf sa868s_vhf sa868s_uhf
1414

1515
jobs:
1616
build:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
SIF: https://github.com/OpenRTX/sa8x8-fw/releases/download/v1.0.0/rl78-elf-toolchain.sif
10-
TARGETS: sa868s_vhf sa868s_350 sa868s_uhf
10+
TARGETS: sa818s_vhf sa818s_uhf sa868s_vhf sa868s_uhf
1111

1212
jobs:
1313
build:

Makefile

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,22 @@ PREFIX_M16C ?= m32c-elf-
44
NAME = sa8x8-fw
55

66
.PHONY: all
7-
all: sa868s_vhf sa868s_350 sa868s_uhf
7+
all: sa818s_vhf sa818s_uhf sa868s_vhf sa868s_uhf
8+
9+
.PHONY: sa818s_vhf
10+
sa818s_vhf: MODEL = SA818S-VHF
11+
sa818s_vhf: PREFIX = $(PREFIX_RL78)
12+
sa818s_vhf: rl78
13+
14+
.PHONY: sa818s_350
15+
sa818s_350: MODEL = SA818S-350
16+
sa818s_350: PREFIX = $(PREFIX_RL78)
17+
sa818s_350: rl78
18+
19+
.PHONY: sa818s_uhf
20+
sa818s_uhf: MODEL = SA818S-UHF
21+
sa818s_uhf: PREFIX = $(PREFIX_RL78)
22+
sa818s_uhf: rl78
823

924
.PHONY: sa868s_vhf
1025
sa868s_vhf: MODEL = SA868S-VHF
@@ -138,9 +153,6 @@ src/sa8x8.o: $(VERSION_HEADER)
138153
$(TARGET).elf: $(VERSION_HEADER) $(OBJECTS)
139154
$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET).elf
140155

141-
$(TARGET).bin: $(TARGET).elf
142-
$(OBJCOPY) -O binary $(TARGET).elf $(TARGET).bin
143-
144156
$(TARGET).s28: $(TARGET).elf
145157
$(OBJCOPY) -O srec --srec-forceS3 --srec-len 24 $(TARGET).elf $(TARGET).s28
146158

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This repository contains a replacement firmware application for the NiceRF SA8x8 family of radio modules.
66

7-
In contrast to the official factory firmware, two special commands (PEEK and POKE) enable direct register level control to a module's internal RDA1846S transceiver. Configuration of modules through this low level interface facilitates the use of advanced digital modes that are otherwise inaccessible.
7+
In contrast to the official factory firmware, two special commands (PEEK and POKE) enable direct register level control to a module's internal AT1846S transceiver. Configuration of modules through this low level interface facilitates the use of advanced digital modes that are otherwise inaccessible. Refer to the included Python API example for a basic demonstration of using the firmware to transmit an [M17](https://m17project.org) baseband.
88

99
**Note:** This firmware is not yet suitable as a drop-in replacement for the original firmware. Applications using the official factory firmware programming interface are not expected to function properly.
1010

@@ -24,10 +24,13 @@ The following commands are available in this firmware:
2424

2525
## Supported Modules
2626

27-
- [SA868S-V](https://a.aliexpress.com/_mNLKxyC) (<33 dBm @ VHF)
28-
- [SA868S-U](https://a.aliexpress.com/_mP5z5EG) (<33 dBm @ UHF)
27+
- [SA818S-V](https://www.aliexpress.com/item/2251832038505495.html) (<30 dBm @ VHF)
28+
- [SA818S-U](https://www.aliexpress.com/item/2251832038505495.html) (<30 dBm @ UHF)
29+
- [SA818S-CE](https://www.aliexpress.com/item/3256806009764568.html) (<30 dBm @ UHF, CE-RED)
30+
- [SA868S-V](https://www.aliexpress.com/item/2251832776489099.html) (<33 dBm @ VHF)
31+
- [SA868S-U](https://www.aliexpress.com/item/2251832774928072.html) (<33 dBm @ UHF)
2932

30-
**Note:** The open and standard editions are the same hardware. The open edition contains no functional firmware, as it is erased following factory quality assurance, and is intended for end-user reprogramming with firmware like this one.
33+
**Note:** The SA868S open and standard editions are the same hardware. The open edition contains no functional firmware, as it is erased following factory quality assurance, and is intended for end-user reprogramming with firmware like this one.
3134

3235
## Build Environment
3336

0 commit comments

Comments
 (0)