ASR6501 SDK

From ElectroDragon Wiki
Revision as of 14:12, 10 June 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Programmer

  • KitProg 2 / 3 / 4 (Tested Working)
  • DAPLink CMSIS-DAP (HID V1 version may not working, Not yet test V2 CDC version)
  • J-LINK (Tested Working)
  • UART bootloader supported from SDK 4.0

SDK

Official

Third-Party


Compiler

  • PSoc Creater 4.2 -> PSoCCreatorSetup_4.2_es100_b641.exe
  • can support to -> Keil


Keil

  • User external GCC -> C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\import\gnu\arm\5.4.1\
  • Preprocesser Symbols: CY_CORE_ID=0 CONFIG_LORA_USE_TCXO REGION_CN470 CONFIG_MANUFACTURER='\"ASR\"' CONFIG_DEVICE_MODEL='\"6501\"' CONFIG_VERSION='\"v4.2\"'
  • 优化级别,请选择”Level 2(Size)”。
  • 增加 Misc Controls

-ffunction-sections -ffat-lto-objects -fno-common -fno-builtin-printf -fno-builtin-fflush -fno-builtin-sprintf -fno-builtin-snprintf -Wno-strict-aliasing