From 6b80b580324e7746067f7439e529612d0414de11 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Fri, 27 Dec 2024 13:33:45 +0100 Subject: [PATCH] mediatek-filogic: add Cudy AP3000 Outdoor v1 (#3384) --- 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 2946a3e21f..24962727dc 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -312,6 +312,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 3f1818d0bb..5b00c864e6 100644 --- a/targets/mediatek-filogic +++ b/targets/mediatek-filogic @@ -21,6 +21,10 @@ device('d-link-aquila-pro-ai-m30-a1', 'dlink_aquila-pro-ai-m30-a1', { -- Cudy +device('cudy-ap3000-outdoor-v1', 'cudy_ap3000outdoor-v1', { + factory = false, +}) + device('cudy-wr3000-v1', 'cudy_wr3000-v1', { factory = false, })