From 3f8358965cd97ac6aac66aa8ef57f2c8148476c6 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 19 Nov 2024 21:03:12 +0100 Subject: [PATCH] mediatek-filogic: add Cudy AP3000 Outdoor v1 --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 5 +++++ targets/mediatek-filogic | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 78718ec775..395de0e69c 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -310,6 +310,7 @@ mediatek-filogic * Cudy + - AP3000 Outdoor (v1) - WR3000 (v1) * GL.iNet diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua index 014e516c43..2241ac9ac5 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -64,6 +64,11 @@ function M.is_outdoor_device() }) then return true + elseif M.match('mediatek', 'filogic', { + 'cudy,ap3000outdoor-v1' + }) then + return true + elseif M.match('ramips', 'mt7621', { 'wavlink,ws-wn572hp3-4g', 'zyxel,nwa55axe', diff --git a/targets/mediatek-filogic b/targets/mediatek-filogic index 9165148b93..f9c72046bf 100644 --- a/targets/mediatek-filogic +++ b/targets/mediatek-filogic @@ -11,6 +11,10 @@ device('asus-tuf-ax6000', 'asus_tuf-ax6000', { -- Cudy +device('cudy-ap3000-outdoor-v1', 'cudy_ap3000outdoor-v1', { + factory = false, +}) + device('cudy-wr3000-v1', 'cudy_wr3000-v1', { factory = false, })