nuttx/drivers/wireless
Chip L. 3582497909 wireless/cc1101: Add Kconfig option to bypass strict version check
Many third-party CC1101 modules (such as those populated on the Evil Crow
RF V2) feature clone silicon that hardcodes the VERSION register to 0x00
instead of the official 0x14.

Previously, the cc1101_checkpart() function strictly enforced
VERSION == 0x14, which caused cc1101_register() to return -ENODEV (-19)
and abort initialization on these compatible modules.

This commit introduces the CONFIG_WL_CC1101_IGNORE_VERSION Kconfig option.
- When disabled (default), the driver maintains strict official silicon
  validation. This preserves the diagnostic ability to catch hardware
  faults, such as a MISO line shorted to GND (which also reads as 0x00).
- When enabled, the driver explicitly permits VERSION == 0x00, allowing
  successful initialization and interoperability with clone chips while
  printing a warning to the syslog.

Signed-off-by: Chip L. <chplee@gmail.com>
2026-02-27 08:10:04 -03:00
..
bluetooth sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
ieee80211 driver/net: replace net_lock with netdev_lock 2026-01-06 16:08:30 +08:00
ieee802154 drivers/xbee: remove nxsig_notification when signal support is disabled 2026-02-26 20:03:05 +08:00
lpwan boards/sim: Fix watchdog callback 2026-01-23 09:46:02 +08:00
spirit netdev_driver: add carrier_on to xxx_ifup where carrier_on is absent 2026-02-02 13:23:05 +08:00
cc1101.c wireless/cc1101: Add Kconfig option to bypass strict version check 2026-02-27 08:10:04 -03:00
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
gs2200m.c sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
ISM1_868MHzGFSK100kbps.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
ISM2_433MHzMSK500kbps.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
ISM2_905MHzGFSK250kbps.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
Kconfig wireless/cc1101: Add Kconfig option to bypass strict version check 2026-02-27 08:10:04 -03:00
Make.defs drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
nrf24l01.c sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
nrf24l01.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00