You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the CMake rules for ADI/MAX32 parts using OpenOCD. This
corrects for some path mangling due to the MSDK being either Windows
or Linux based, and how MAXIM_PATH is set.
MAX32 README file updates to reflect the cmake build system updates.
PATH="/c/MaximSDK/Tools/GNUTools/10.3/bin/:$PATH" make BOARD=apard32690 blinky erase-firmware self-update
120
-
```
121
-
122
114
(Adjust the path if your MSDK installation is in a different location.)
123
115
124
116
## Available Boards
@@ -135,7 +127,12 @@ For example:
135
127
```
136
128
tinyuf2/ports/maxim/boards/
137
129
apard32690
130
+
max32650evkit
131
+
max32650fthr
132
+
max32666evkit
133
+
max32666fthr
138
134
max32690evkit
135
+
max78002evkit
139
136
```
140
137
141
138
When initially configuring cmake, make sure to specify a valid `BOARD` name from the available list. Otherwise, the build will fail if an invalid board name is provided.
@@ -240,7 +237,10 @@ If you prefer OpenOCD and you have it installed through MSDK:
240
237
make tinyuf2-openocd
241
238
```
242
239
243
-
Make sure `MAXIM_PATH` is correctly set to the MSDK base folder. If your default installation of the MSDK is not `C:/MaximSDK` you can pass the MaximSDK directory's location to cmake when configuring the build:
240
+
CMake will automatically leverage the MAXIM_PATH system environment variable if
241
+
a MAXIM_PATH is not manually specified. To manually specify a MSDK path,
242
+
you can pass the MaximSDK directory's location to cmake when configuring the
@@ -251,36 +251,6 @@ or after initial configuration (in the build directory):
251
251
cmake -DMAXIM_PATH=C:/MaximSDK .
252
252
```
253
253
254
-
> ⚠️ **Note:**
255
-
> Optional flash option when running within an installed MSDK to use OpenOCD. Mainline OpenOCD does not yet have the MAX32's flash algorithm integrated. If the MSDK is installed, tinyuf2-openocd can be run to utilize the modified openocd with the algorithms.
256
-
257
-
## Notes on SAVELOG=1
258
-
259
-
Log export options are available for demo apps.
260
-
261
-
If `SAVELOG=1` is set during a build:
262
-
263
-
- Output logs are automatically saved into a `logs/` folder inside each application.
264
-
- Each application target (e.g., `blinky`, `blinky-clean`) has its own separate subfolder and timestamped `.log` files.
0 commit comments