Commit Graph

5 Commits (master)

Author SHA1 Message Date
Hauke Mehrtens c8698f5792 basicstation: make the TLS constructor prototype explicit
The caller invokes tls_makeConf without arguments and the
definition ignores its three parameters. GCC 15 uses C23 by
default and detects that the declaration conflicts with the
definition. Use void in both, preserving the existing behavior.

Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-11-30 08:18:17 +01:00
Josef Schlehofer e755a9aef2 tree-wide: remove redundant test.sh files
Generic version checks were introduced in actions-shared-workflows,
making these individual test.sh files obsolete.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-07-04 23:42:46 +03:00
Florian Eckert a890892242 basicstation: fix compilation for new mbedtls version 3.x
The basicstation build fails since the change to the new major version
3.x of mbedtls, because of API changes in the new mbedtls version.

To fix the compilation for new mbedtls version, the waiting pullrequest
is backported as a patch.

Thanks to 'Glenn Strauss' to create this PR:
https://github.com/lorabasics/basicstation/pull/198

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-08-19 12:15:06 -07:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Marcus Schref b7d466040c basicstation: initial check-in
(LoRa) Basicstation is an implementation of a LoRa packet forwarder and is
intended to be run on the host of a LoRa-based gateway. Basicstation forwards
RF packets recieved by a concentrator to a LoRaWAN network server (LNS).
It also transmits RF packets received from the LNS to one or multiple LoRa
end devices. Further information: https://lora-developers.semtech.com/build/
software/lora-basics/lora-basics-for-gateways

Signed-off-by: Marcus Schref <mschref@web.de>
2022-09-07 13:17:00 +02:00