Skip to content

Commit

Permalink
Move IPC definitions into ipc_defines.h, fix linter errors, revert gr…
Browse files Browse the repository at this point in the history
…id draw
  • Loading branch information
sihyung-maxim committed Sep 17, 2024
1 parent c5be3fc commit 85c4dab
Show file tree
Hide file tree
Showing 16 changed files with 202 additions and 165 deletions.
5 changes: 5 additions & 0 deletions Examples/MAX32655/Demo_2048/ARM/inc/cfs_logo.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*
******************************************************************************/

#ifndef EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CFS_LOGO_H_
#define EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CFS_LOGO_H_

// clang-format off

/* **** Includes **** */
Expand Down Expand Up @@ -115,3 +118,5 @@ __flash uint16_t cfs_logo[] = {
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff,
0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff
};

#endif // EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CFS_LOGO_H_
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*
******************************************************************************/

#ifndef EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CLEAR_SANS_BOLD_GAME_TEXT_H_
#define EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CLEAR_SANS_BOLD_GAME_TEXT_H_

// clang-format off

/* **** Includes **** */
Expand Down Expand Up @@ -311,3 +314,5 @@ __flash uint16_t game_text_moves[] = {
0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000,
0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0000, 0x0000
};

#endif // EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CLEAR_SANS_BOLD_GAME_TEXT_H_
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*
******************************************************************************/

#ifndef EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CLEAR_SANS_BOLD_SCALED_BLOCK_DIGITS_H_
#define EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CLEAR_SANS_BOLD_SCALED_BLOCK_DIGITS_H_

// clang-format off

/* **** Includes **** */
Expand Down Expand Up @@ -356,3 +359,5 @@ __flash uint16_t block_2048[] = {
: (block) == 1024 ? block_1024 \
: (block) == 2048 ? block_2048 \
: NULL)

#endif // EXAMPLES_MAX32655_DEMO_2048_ARM_INC_CLEAR_SANS_BOLD_SCALED_BLOCK_DIGITS_H_
5 changes: 5 additions & 0 deletions Examples/MAX32655/Demo_2048/ARM/inc/end_game_text.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*
******************************************************************************/

#ifndef EXAMPLES_MAX32655_DEMO_2048_ARM_INC_END_GAME_TEXT_H_
#define EXAMPLES_MAX32655_DEMO_2048_ARM_INC_END_GAME_TEXT_H_

// clang-format off

/* **** Includes **** */
Expand Down Expand Up @@ -293,3 +296,5 @@ __flash uint16_t game_over[] = {
0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703,
0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703, 0x1703
};

#endif // EXAMPLES_MAX32655_DEMO_2048_ARM_INC_END_GAME_TEXT_H_
5 changes: 5 additions & 0 deletions Examples/MAX32655/Demo_2048/ARM/inc/graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*
******************************************************************************/

#ifndef EXAMPLES_MAX32655_DEMO_2048_ARM_INC_GRAPHICS_H_
#define EXAMPLES_MAX32655_DEMO_2048_ARM_INC_GRAPHICS_H_

/* **** Includes **** */

#include <stdint.h>
Expand Down Expand Up @@ -258,3 +261,5 @@ void Graphics_DisplayGameOver(void);
* @brief Draws the "you win" box popup when game is finished.
*/
void Graphics_DisplayYouWin(void);

#endif // EXAMPLES_MAX32655_DEMO_2048_ARM_INC_GRAPHICS_H_
60 changes: 60 additions & 0 deletions Examples/MAX32655/Demo_2048/ARM/inc/ipc_defines.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/******************************************************************************
*
* Copyright (C) 2024 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/

#ifndef EXAMPLES_MAX32655_DEMO_2048_ARM_INC_IPC_DEFINES_H_
#define EXAMPLES_MAX32655_DEMO_2048_ARM_INC_IPC_DEFINES_H_

/* **** Includes **** */

#include <stdint.h>

/* **** Definitions **** */

// These should match with the RISC-V core's copy of ipc_defines.h

/// Semaphores
// Should never reach here
#if (MAILBOX_SIZE == 0)
#error "Mailbox size is 0."
#endif

// Keep track for Semaphore peripheral.
#define SEMA_IDX_ARM (0)
#define SEMA_IDX_RISCV (1)

#define MAILBOX_OVERHEAD (2 * sizeof(uint16_t))
#define MAILBOX_PAYLOAD_LEN (MAILBOX_SIZE - MAILBOX_OVERHEAD)
typedef struct {
uint16_t readLocation;
uint16_t writeLocation;
#if (MAILBOX_SIZE == 0)
uint8_t payload[1];
#else
uint8_t payload[MAILBOX_PAYLOAD_LEN];
#endif
} mxcSemaBox_t;

#define MAILBOX_MAIN_GRID_IDX (0) // Main grid indexes are from 0 to (16 blocks * 4 bytes) - 1.
#define MAILBOX_MAIN_GRID_STATE_IDX (4 * 16) // Indexes are from (4 bytes * 16) to ((4 bytes * 16) + (1 byte * 16)))
#define MAILBOX_KEYPRESS_IDX ((4 * 16) + (1 * 16)) // All indexes before are for the main grids.
#define MAILBOX_IF_BLOCK_MOVED_IDX (MAILBOX_KEYPRESS_IDX + 1)
#define MAILBOX_NEW_BLOCK_LOCATION_IDX (MAILBOX_IF_BLOCK_MOVED_IDX + 1)
#define MAILBOX_GAME_STATE_IDX (MAILBOX_NEW_BLOCK_LOCATION_IDX + 1)
#define MAILBOX_MOVES_COUNT_IDX (MAILBOX_GAME_STATE_IDX + 1)

#endif // EXAMPLES_MAX32655_DEMO_2048_ARM_INC_IPC_DEFINES_H_
57 changes: 14 additions & 43 deletions Examples/MAX32655/Demo_2048/ARM/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

// Application Libraries
#include "graphics.h"
#include "ipc_defines.h"

/* **** Definitions **** */

Expand All @@ -52,36 +53,6 @@
// for the RISC-V as they share the same port.
#define RISCV_CONTROLLER_BAUD (115200)

/// Semaphores
// Should never reach here
#if (MAILBOX_SIZE == 0)
#error "Mailbox size is 0."
#endif

// Keep track for Semaphore peripheral.
#define SEMA_IDX_ARM (0)
#define SEMA_IDX_RISCV (1)

#define MAILBOX_OVERHEAD (2 * sizeof(uint16_t))
#define MAILBOX_PAYLOAD_LEN (MAILBOX_SIZE - MAILBOX_OVERHEAD)
typedef struct {
uint16_t readLocation;
uint16_t writeLocation;
#if (MAILBOX_SIZE == 0)
uint8_t payload[1];
#else
uint8_t payload[MAILBOX_PAYLOAD_LEN];
#endif
} mxcSemaBox_t;

#define MAILBOX_MAIN_GRID_IDX (0) // Main grid indexes are from 0 to (16 blocks * 4 bytes) - 1.
#define MAILBOX_MAIN_GRID_STATE_IDX (4 * 16) // Indexes are from (4 bytes * 16) to ((4 bytes * 16) + (1 byte * 16)))
#define MAILBOX_KEYPRESS_IDX ((4 * 16) + (1 * 16)) // All indexes before are for the main grids.
#define MAILBOX_IF_BLOCK_MOVED_IDX (MAILBOX_KEYPRESS_IDX + 1)
#define MAILBOX_NEW_BLOCK_LOCATION_IDX (MAILBOX_IF_BLOCK_MOVED_IDX + 1)
#define MAILBOX_GAME_STATE_IDX (MAILBOX_NEW_BLOCK_LOCATION_IDX + 1)
#define MAILBOX_MOVES_COUNT_IDX (MAILBOX_GAME_STATE_IDX + 1)

/* **** Globals **** */
// Defined in sema_reva.c
extern mxcSemaBox_t *mxcSemaBox0; // ARM writes, RISCV reads
Expand Down Expand Up @@ -133,19 +104,19 @@ graphics_slide_direction_t ReceiveDirectionFromRISCVCore(void)
// UP
case 'w':
return GRAPHICS_SLIDE_DIR_UP;

// DOWN
case 's':
return GRAPHICS_SLIDE_DIR_DOWN;

// LEFT
case 'a':
return GRAPHICS_SLIDE_DIR_LEFT;

// RIGHT
case 'd':
return GRAPHICS_SLIDE_DIR_RIGHT;

default:
return -1;
}
Expand Down Expand Up @@ -198,7 +169,7 @@ int main(void)
if (error != E_NO_ERROR) {
PRINT("ARM: Error speeding up baud rate: %d\n", error);
LED_On(LED_RED);
while(1);
while (1) {}
}

PRINT("\n\n*******************************************************************************\n");
Expand All @@ -220,14 +191,14 @@ int main(void)
if (error != E_NO_ERROR) {
PRINT("ARM: Semaphore for ARM core is busy: %d\n", error);
LED_On(LED_RED);
while(1);
while (1) {}
}

error = MXC_SEMA_GetSema(SEMA_IDX_ARM);
if (error != E_NO_ERROR) {
PRINT("ARM: Semaphore is busy - with previous value: %d\n\n", MXC_SEMA->semaphores[SEMA_IDX_ARM]);
LED_On(LED_RED);
while(1);
while (1) {}
} else {
PRINT("ARM: Semaphore is not busy - with previous value: %d\n\n", MXC_SEMA->semaphores[SEMA_IDX_ARM]);
}
Expand All @@ -254,14 +225,14 @@ int main(void)
if (MXC_RTC_Init(0, 0) != E_NO_ERROR) {
PRINT("ARM: Error initializing RTC: %d\n", error);
LED_On(LED_RED);
while(1);
while (1) {}
}

error = Graphics_Init();
if (error != E_NO_ERROR) {
PRINT("ARM: Error initializing graphics: %d\n", error);
LED_On(LED_RED);
while(1);
while (1) {}
}

// Wait for Game logic to finish initializing on RISCV.
Expand All @@ -277,7 +248,7 @@ int main(void)
if (game_state != IN_PROGRESS) {
PRINT("ARM: Error starting game.\n");
LED_On(LED_RED);
while(1);
while (1) {}
}

Graphics_AddNewBlock(new_block_row, new_block_col, ARM_GRID_COPY[new_block_row][new_block_col]);
Expand All @@ -289,7 +260,7 @@ int main(void)
if (MXC_RTC_Start() != E_NO_ERROR) {
PRINT("ARM: Error starting timer: %d\n", error);
LED_On(LED_RED);
while(1);
while (1) {}
}

uint32_t prev_seconds = 0;
Expand Down Expand Up @@ -360,7 +331,7 @@ int main(void)
MXC_Delay(MXC_DELAY_MSEC(750));
Graphics_DisplayYouWin();

while(1);
while (1) {}
} else if (game_state == GAME_OVER) {
PRINT("ARM: Game Over. Nice try! Better luck next time.\n");
PRINT("ARM: Ending game.\n");
Expand All @@ -369,7 +340,7 @@ int main(void)
MXC_Delay(MXC_DELAY_MSEC(750));
Graphics_DisplayGameOver();

while(1);
while (1) {}
}

// Signal RISC-V Core that it's ready for the next grid state.
Expand Down
54 changes: 17 additions & 37 deletions Examples/MAX32655/Demo_2048/ARM/resources/all_imgs.c
Original file line number Diff line number Diff line change
@@ -1,40 +1,20 @@

/*******************************************************************************
* Copyright (C) 2022 Maxim Integrated Products, Inc., All rights Reserved.
*
* This software is protected by copyright laws of the United States and
* of foreign countries. This material may also be protected by patent laws
* and technology transfer regulations of the United States and of foreign
* countries. This software is furnished under a license agreement and/or a
* nondisclosure agreement and may only be used or reproduced in accordance
* with the terms of those agreements. Dissemination of this information to
* any party or parties not specified in the license agreement and/or
* nondisclosure agreement is expressly prohibited.
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
* OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Except as contained in this notice, the name of Maxim Integrated
* Products, Inc. shall not be used except as stated in the Maxim Integrated
* Products, Inc. Branding Policy.
*
* The mere transfer of this software does not imply any licenses
* of trade secrets, proprietary technology, copyrights, patents,
* trademarks, maskwork rights, or any other form of intellectual
* property whatsoever. Maxim Integrated Products, Inc. retains all
* ownership rights.
*******************************************************************************
*/


/******************************************************************************
*
* Copyright (C) 2024 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/

__attribute__ ((section(".bin_storage_img"))) __attribute__ ((__used__))
const unsigned char imgs_arr[ ] = {
Expand Down
Loading

0 comments on commit 85c4dab

Please sign in to comment.