谷动谷力

 找回密码
 立即注册

NXP Zigbee JN516X JN517x JN518X 用vsCode studio 环境开发编译

查看数: 1265 | 评论数: 1 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2023-4-9 20:31

正文摘要:

NXP Zigbee JN516X JN517x JN518X 用vsCode studio 环境开发编译 前言 官方推荐是用Beyond IDE开发,不方便,搭建开发环境,安装插件基本不是成功的。 i have a problem to install the plugin Zbee pro configuratio ...

回复

鸣涧 发表于 2024-4-14 12:26:57
JN-AN-1907... Makefiles配置
  1. TARGET = JN-AN-1907-Zigbee-Valve-Controller-JN5169
  2. DEV_TYPE = ValveController

  3. #  Note: Target name must be the same as the subfolder name
  4. ##############################################################################
  5. #User definable make parameters that may be overwritten from the command line

  6. # Default target device is the JN5148

  7. JENNIC_CHIP ?= JN5169

  8. ##############################################################################
  9. # Default DK2 development kit target hardware

  10. JENNIC_PCB ?= DEVKIT4

  11. ##############################################################################
  12. # Select the network stack (e.g. MAC, ZBPRO)

  13. JENNIC_STACK ?= MAC

  14. ##############################################################################
  15. # Debug options define DEBUG for HW debug
  16. #DEBUG ?=HW
  17. #
  18. #
  19. # Define which UART to use for debug
  20. DEBUG_PORT ?= UART1

  21. ##############################################################################
  22. # Define TRACE to use with DBG module
  23. TRACE ?= 1

  24. ##############################################################################
  25. # Define configuration
  26. ifeq ($(FLOW_CONTROL), NO_FLOW_CONTROL)
  27.         CFLAGS  += -DENABLE_NO_FLOW_CONTROL
  28.         BIN_SUFFIX = _NO_FLOW_CTRL
  29. endif

  30. ifeq ($(FLOW_CONTROL), HW_FLOW_CONTROL)
  31.         CFLAGS  += -DENABLE_HW_FLOW_CONTROL
  32.         BIN_SUFFIX = _HW_FLOW_CTRL
  33. endif

  34. ifeq ($(FLOW_CONTROL), HW_SW_FLOW_CONTROL)
  35.         CFLAGS  += -DENABLE_HW_SW_FLOW_CONTROL
  36.         BIN_SUFFIX = _HW_SW_FLOW_CTRL
  37. endif

  38. ##############################################################################

  39. ##############################################################################

  40. ##############################################################################
  41. # Path definitions
  42. # Select definitions for either single or multiple targets

  43. # Use if application directory contains multiple targets

  44. SDK_BASE_DIR                    = $(abspath ../../../sdk/JN-SW-4163)
  45. LZSTACK_BASE_DIR           = $(abspath ../../..)
  46. APP_BASE            = $(abspath ../..)
  47. APP_BLD_DIR         = $(APP_BASE)/$(DEV_TYPE)/Build
  48. APP_SRC_DIR         = $(APP_BASE)/$(DEV_TYPE)/Source

  49. APP_COMMON_SRC_DIR         = $(APP_BASE)/Common/Source

  50. JENOS_DIR                        = $(LZSTACK_BASE_DIR)/LZStackV5/JenOS
  51. STACK_DIR                        = $(LZSTACK_BASE_DIR)/LZStackV5/stack
  52. STACK_MAC_DIR                = $(LZSTACK_BASE_DIR)/LZStackV5/stack/mac
  53. STACK_NWK_DIR                = $(LZSTACK_BASE_DIR)/LZStackV5/stack/nwk
  54. STACK_ZDO_DIR                = $(LZSTACK_BASE_DIR)/LZStackV5/stack/zdo
  55. STACK_APS_DIR                = $(LZSTACK_BASE_DIR)/LZStackV5/stack/aps
  56. STACK_COMMON_DIR        = $(LZSTACK_BASE_DIR)/LZStackV5/common
复制代码


+10

QQ|Archiver|手机版|深圳市光明谷科技有限公司|光明谷商城|Sunshine Silicon Corpporation ( 粤ICP备14060730号|Sitemap

GMT+8, 2024-11-24 16:00 , Processed in 0.128484 second(s), 46 queries .

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表