Skip to content

Commit ebcb8aa

Browse files
authored
Update links to MSDK (#330)
1 parent 2b2c2c1 commit ebcb8aa

File tree

6 files changed

+52
-634
lines changed

6 files changed

+52
-634
lines changed

README.md

Lines changed: 8 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# ADI MAX78000/MAX78002 Model Training and Synthesis
22

3-
January 10, 2024
3+
February 26, 2024
44

55
ADI’s MAX78000/MAX78002 project is comprised of five repositories:
66

77
1. **Start here**:
88
**[Top Level Documentation](https://github.com/MaximIntegratedAI/MaximAI_Documentation)**
99
2. The software development kit (MSDK), which contains drivers and example programs ready to run on the evaluation kits (EVkit and Feather):
10-
[Analog Devices MSDK](https://github.com/Analog-Devices-MSDK/msdk)
10+
[Analog Devices MSDK](https://github.com/analogdevicesinc/msdk)
1111
3. The training repository, which is used for deep learning *model development and training*:
1212
[ai8x-training](https://github.com/MaximIntegratedAI/ai8x-training) **(described in this document)**
1313
4. The synthesis repository, which is used to *convert a trained model into C code* using the “izer” tool:
1414
[ai8x-synthesis](https://github.com/MaximIntegratedAI/ai8x-synthesis) **(described in this document)**
1515
5. The reference design repository, which contains host applications and sample applications for reference designs such as [MAXREFDES178 (Cube Camera)](https://www.analog.com/en/design-center/reference-designs/maxrefdes178.html):
16-
[refdes](https://github.com/Analog-Devices-MSDK/refdes)
16+
[refdes](https://github.com/analogdevicesinc/MAX78xxx-RefDes)
1717
*Note: Examples for EVkits and Feather boards are part of the MSDK*
1818

1919
_Open the `.md` version of this file in a markdown enabled viewer, for example Typora (<http://typora.io>).
@@ -423,7 +423,7 @@ For minor updates, pull the latest code and install the updated wheels:
423423

424424
##### MSDK Updates
425425

426-
Please *also* update the MSDK or use the Maintenance Tool as documented in the [Analog Devices MSDK documentation](https://github.com/Analog-Devices-MSDK/msdk). The Maintenance Tool automatically updates the MSDK.
426+
Please *also* update the MSDK or use the Maintenance Tool as documented in the [Analog Devices MSDK documentation](https://github.com/analogdevicesinc/msdk). The Maintenance Tool automatically updates the MSDK.
427427

428428
##### Python Version Updates
429429

@@ -551,96 +551,18 @@ There are two ways to install the MSDK.
551551

552552
#### Method 1: MSDK Installer
553553

554-
The [Analog Devices MSDK](https://github.com/Analog-Devices-MSDK/msdk) for MAX78000/MAX7802 is available via the installer links below. These installers require a GUI on your system.
554+
An automatic installer is available for the MSDK. Instructions for downloading, installing, and getting started with the MSDK’s supported development environments are found in the [**MSDK User Guide**](https://analogdevicesinc.github.io/msdk/USERGUIDE/).
555555

556-
1. Download the MSDK installer for your operating system from one of the links below.
557-
* [Windows](https://www.analog.com/en/design-center/evaluation-hardware-and-software/software/software-download?swpart=SFW0010820A)
558-
* [Ubuntu Linux](https://www.analog.com/en/design-center/evaluation-hardware-and-software/software/software-download?swpart=SFW0018720A)
559-
* [macOS](https://www.analog.com/en/design-center/evaluation-hardware-and-software/software/software-download?swpart=SFW0018610A)
560-
561-
2. Run the installer executable. Note: On Linux, this may require making the file executable with the following command:
562-
563-
```bash
564-
$ chmod +x MaximMicrosSDK_linux.run
565-
```
566-
567-
3. Follow the instructions in the installer to the component selection.
568-
569-
4. Select the components to install. At _minimum_, the following components must be selected. This will enable command-line development.
570-
571-
* GNU RISC-V Embedded GCC
572-
* GNU Tools for ARM Embedded Processors
573-
* Open On-Chip Debugger
574-
* MSYS2 (only on Windows)
575-
* Microcontrollers
576-
* MAX78000 Resources
577-
* MAX78002 Resources
578-
* Product Libs
579-
* CMSIS Core Libraries
580-
* Miscellaneous Drivers
581-
* Peripheral Drivers
582-
583-
5. (Optional) Select the “Eclipse” and/or “Visual Studio Code Support” components to add support for those IDEs.
584-
585-
6. Continue through the instructions to complete the installation of the MSDK.
586-
587-
7. (macOS only) Install OpenOCD dependencies using [Homebrew](https://brew.sh/)
588-
589-
```shell
590-
$ brew install libusb-compat libftdi hidapi libusb
591-
```
592-
593-
8. (Linux and macOS only) Add the location of the toolchain binaries to the system `PATH`.
594-
595-
On Linux and macOS, copy the following contents into `~/.profile`...
596-
On macOS, _also_ copy the following contents into `~/.zprofile`...
597-
...and change `MAXIM_PATH` to the installation location of the MSDK.
598-
599-
```shell
600-
# MSDK location
601-
MAXIM_PATH=$HOME/MaximSDK # Change me!
602-
export MAXIM_PATH
603-
604-
# Arm GCC -- adjust version number
605-
ARMGCC_DIR=$MAXIM_PATH/Tools/GNUTools/12.3
606-
echo $PATH | grep -q -s "$ARMGCC_DIR/bin"
607-
if [ $? -eq 1 ] ; then
608-
PATH=$PATH:"$ARMGCC_DIR/bin"
609-
export PATH
610-
export ARMGCC_DIR
611-
fi
612-
613-
# RISC-V GCC -- adjust version number
614-
RISCVGCC_DIR=$MAXIM_PATH/Tools/xPack/riscv-none-embed-gcc/12.3.0-2
615-
echo $PATH | grep -q -s "$RISCVGCC_DIR/bin"
616-
if [ $? -eq 1 ] ; then
617-
    PATH=$PATH:"$RISCVGCC_DIR/bin"
618-
    export PATH
619-
    export RISCVGCC_DIR
620-
fi
621-
622-
# OpenOCD
623-
OPENOCD_DIR=$MAXIM_PATH/Tools/OpenOCD
624-
echo $PATH | grep -q -s "$OPENOCD_DIR"
625-
if [ $? -eq 1 ] ; then
626-
    PATH=$PATH:$OPENOCD_DIR
627-
    export PATH
628-
    export OPENOCD_DIR
629-
fi
630-
```
631-
632-
On Windows, this step is not necessary. However, “MaximSDK/Tools/MSYS2/msys.bat” file _must_ be used to launch the MSYS2 terminal for command-line development.
633-
634-
Once the tools above have been installed, continue with [Final Check](#final-check).
556+
After installation and setup, continue with the [Final Check](#final-check).
635557

636558
#### Method 2: Manual Installation
637559

638-
The MAX78000/MAX78002 MSDK is available as a git repository. The repository contains all of the MSDK's components _except_ the Arm GCC, RISC-V GCC, and Make. These must be downloaded and installed manually.
560+
The MSDK is also available as a [git repository](https://github.com/analogdevicesinc/msdk), which can be used to obtain the latest development resources. The repository contains all of the MSDKs components _except_ the Arm GCC, RISC-V GCC, and Make. These can be downloaded and installed manually.
639561

640562
1. Clone the MSDK repository (recommendation: change to the *ai8x-synthesis* folder first):
641563

642564
```shell
643-
$ git clone https://github.com/Analog-Devices-MSDK/msdk.git sdk
565+
$ git clone https://github.com/analogdevicesinc/msdk.git sdk
644566
```
645567

646568
2. Download and install the Arm Embedded GNU Toolchain from [https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads).

README.pdf

-43.6 KB
Binary file not shown.

assets/makefile/Makefile

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@
2020
###############################################################################
2121

2222
# ** Readme! **
23-
# Don't edit this file! This is the core Makefile for a MaximSDK
24-
# project. The available configuration options can be overridden
25-
# in "project.mk", on the command-line, or with system environment
23+
# Don't edit this file! This is the core Makefile for an MSDK
24+
# project. The available configuration options can be overridden
25+
# in "project.mk", on the command-line, or with system environment
2626
# variables.
2727

28-
# See https://github.com/Analog-Devices-MSDK/VSCode-Maxim/tree/develop#build-configuration
28+
# See https://analogdevicesinc.github.io/msdk/USERGUIDE/#build-system
2929
# for more detailed instructions on how to use this system.
3030

31-
# The detailed instructions mentioned above are easier to read than
32-
# this file, but the comments found in this file also outline the
33-
# available configuration variables. This file is organized into
31+
# The detailed instructions mentioned above are easier to read than
32+
# this file, but the comments found in this file also outline the
33+
# available configuration variables. This file is organized into
3434
# sub-sections, some of which expose config variables.
3535

3636

3737
# *******************************************************************************
38-
# Set the target microcontroller and board to compile for.
38+
# Set the target microcontroller and board to compile for.
3939

40-
# Every TARGET microcontroller has some Board Support Packages (BSPs) that are
41-
# available for it under the MaximSDK/Libraries/Boards/TARGET folder. The BSP
40+
# Every TARGET microcontroller has some Board Support Packages (BSPs) that are
41+
# available for it under the MaximSDK/Libraries/Boards/TARGET folder. The BSP
4242
# that gets selected is MaximSDK/Libraries/Boards/TARGET/BOARD.
4343

4444
# Configuration Variables:
@@ -63,17 +63,17 @@ endif
6363
BOARD ?= ##__BOARD__##
6464

6565
# *******************************************************************************
66-
# Locate the MaximSDK
66+
# Locate the MSDK
6767

68-
# This Makefile needs to know where to find the MaximSDK, and the MAXIM_PATH variable
69-
# should point to the root directory of the MaximSDK installation. Setting this manually
68+
# This Makefile needs to know where to find the MSDK, and the MAXIM_PATH variable
69+
# should point to the root directory of the MSDK installation. Setting this manually
7070
# is usually only required if you're working on the command-line.
7171

72-
# If MAXIM_PATH is not specified, we assume the project still lives inside of the MaximSDK
72+
# If MAXIM_PATH is not specified, we assume the project still lives inside of the MSDK
7373
# and move up from this project's original location.
7474

7575
# Configuration Variables:
76-
# - MAXIM_PATH : Tell this Makefile where to find the MaximSDK. Ex: MAXIM_PATH=C:/MaximSDK
76+
# - MAXIM_PATH : Tell this Makefile where to find the MSDK. Ex: MAXIM_PATH=C:/MaximSDK
7777

7878

7979
ifneq "$(MAXIM_PATH)" ""
@@ -85,7 +85,7 @@ CMSIS_ROOT := $(LIBS_DIR)/CMSIS
8585
endif
8686

8787
# *******************************************************************************
88-
# Include project Makefile. We do this after formulating TARGET, BOARD, and MAXIM_PATH
88+
# Include project Makefile. We do this after formulating TARGET, BOARD, and MAXIM_PATH
8989
# in case project.mk needs to reference those values. However, we also include
9090
# this as early as possible in the Makefile so that it can append to or override
9191
# the variables below.
@@ -136,10 +136,10 @@ export CMSIS_ROOT
136136

137137
# Configuration Variables:
138138
# - VPATH : Tell this Makefile to search additional locations for source (.c) files.
139-
# You should use the "+=" operator with this option.
139+
# You should use the "+=" operator with this option.
140140
# Ex: VPATH += your/new/path
141141
# - IPATH : Tell this Makefile to search additional locations for header (.h) files.
142-
# You should use the "+=" operator with this option.
142+
# You should use the "+=" operator with this option.
143143
# Ex: VPATH += your/new/path
144144
# - SRCS : Tell this Makefile to explicitly add a source (.c) file to the build.
145145
# This is really only useful if you want to add a source file that isn't
@@ -184,10 +184,10 @@ PROJECT ?= $(TARGET_LC)
184184
# Compiler options
185185

186186
# Configuration Variables:
187-
# - MXC_OPTIMIZE_CFLAGS : Override the default compiler optimization level.
187+
# - MXC_OPTIMIZE_CFLAGS : Override the default compiler optimization level.
188188
# Ex: MXC_OPTIMIZE_CFLAGS = -O2
189189
# - PROJ_CFLAGS : Add additional compiler flags to the build.
190-
# You should use the "+=" operator with this option.
190+
# You should use the "+=" operator with this option.
191191
# Ex: PROJ_CFLAGS += -Wextra
192192
# - MFLOAT_ABI : Set the floating point acceleration level.
193193
# The only options are "hard", "soft", or "softfp".
@@ -268,7 +268,7 @@ VPATH += $(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source
268268
# SBT : Toggle SBT integration. Set to 1 to enable, or 0
269269
# to disable
270270
# MAXIM_SBT_DIR : Specify the location of the SBT tool binaries. This defaults to
271-
# Tools/SBT in the MaximSDK. The standalone SBT installer will override
271+
# Tools/SBT in the MSDK. The standalone SBT installer will override
272272
# this via an environment variable.
273273
# TARGET_SEC : Specify the part number to be passed into the SBT. This should match
274274
# the secure variant part #. The default value will depend on TARGET.
@@ -329,7 +329,7 @@ endif
329329
# Libraries
330330

331331
# This section offers "toggle switches" to include or exclude the libraries that
332-
# are available in the MaximSDK. Set a configuration variable to 1 to include the
332+
# are available in the MSDK. Set a configuration variable to 1 to include the
333333
# library in the build, or 0 to exclude.
334334

335335
# Each library may also have its own library specific configuration variables. See
@@ -375,10 +375,10 @@ all:
375375
# Extend the functionality of the "all" recipe here
376376
arm-none-eabi-size --format=berkeley $(BUILD_DIR)/$(PROJECT).elf
377377

378-
libclean:
378+
libclean:
379379
$(MAKE) -f ${PERIPH_DRIVER_DIR}/periphdriver.mk clean.periph
380-
381-
clean:
380+
381+
clean:
382382
# Extend the functionality of the "clean" recipe here
383383

384384
# The rule to clean out all the build products.

assets/makefile/project.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# This file can be used to set build configuration
2-
# variables. These variables are defined in a file called
2+
# variables. These variables are defined in a file called
33
# "Makefile" that is located next to this one.
44

55
# For instructions on how to use this system, see
6-
# https://github.com/Analog-Devices-MSDK/VSCode-Maxim/tree/develop#build-configuration
6+
# https://analogdevicesinc.github.io/msdk/USERGUIDE/#build-system
77

88
# **********************************************************
99

0 commit comments

Comments
 (0)