Skip to content

Commit 1fe845f

Browse files
sihyung-maximlorne-maximJake-Carterozersaahmetyazicii
committed
fix(Examples): Fix warning in MAX32655/UART_DMA example, and increase Bootloader app size for MAX32665 (#1224)
Signed-off-by: Sadik Ozer <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Anıl Kara <[email protected]> Signed-off-by: Maureen Helm <[email protected]> Signed-off-by: Furkan Akkiz <[email protected]> Signed-off-by: Tahsin Mutlugun <[email protected]> Signed-off-by: Michael Perkins <[email protected]> Signed-off-by: Kevin Townsend <[email protected]> Co-authored-by: Lorne Smith <[email protected]> Co-authored-by: Jake Carter <[email protected]> Co-authored-by: Sadik Ozer <[email protected]> Co-authored-by: Jake Carter <[email protected]> Co-authored-by: ahmetyazicii <[email protected]> Co-authored-by: Brent K <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Omercan Kilic <[email protected]> Co-authored-by: EricB-ADI <[email protected]> Co-authored-by: Jake-Carter <[email protected]> Co-authored-by: Anıl Kara <[email protected]> Co-authored-by: Brandon Hurst <[email protected]> Co-authored-by: EricB-ADI <[email protected]> Co-authored-by: Victor Loginov <[email protected]> Co-authored-by: lorne-maxim <[email protected]> Co-authored-by: Sadik Ozer <[email protected]> Co-authored-by: Maureen Helm <[email protected]> Co-authored-by: Furkan AKKIZ <[email protected]> Co-authored-by: isztldav <[email protected]> Co-authored-by: JC-282-AD <[email protected]> Co-authored-by: Oğuzhan Büyüksolak <[email protected]> Co-authored-by: JC-282-AD <[email protected]> Co-authored-by: Mehmet Ozgun Kanal <[email protected]> Co-authored-by: Ozgun <[email protected]> Co-authored-by: Noxi123 <[email protected]> Co-authored-by: Changmin Jeon <[email protected]> Co-authored-by: ersahatmacaa <[email protected]> Co-authored-by: Kevin Gillespie <[email protected]> Co-authored-by: Kevin Gillespie <[email protected]> Co-authored-by: Kalvin McCallum <[email protected]> Co-authored-by: Omer Demir <[email protected]> Co-authored-by: sihyung-maxim <[email protected]> Co-authored-by: EricB-ADI <[email protected]> Co-authored-by: Tahsin Türker Mutlugün <[email protected]> Co-authored-by: Michael Perkins <[email protected]> Co-authored-by: Kevin Townsend <[email protected]> Co-authored-by: Bobby <[email protected]> Co-authored-by: Bobby Counts <[email protected]> Co-authored-by: Mert Ekren <[email protected]> Co-authored-by: Anıl Kara <[email protected]> Co-authored-by: Ozan Durgut <[email protected]> Co-authored-by: Cristian Cruz <[email protected]>
1 parent f0bbb7a commit 1fe845f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Examples/MAX32655/UART_DMA/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void readCallback(mxc_uart_req_t *req, int error)
7171
READ_FLAG = error;
7272
}
7373

74-
void buttonHandler(void)
74+
void buttonHandler(void *pb)
7575
{
7676
buttonPressed = 1;
7777
}

Examples/MAX32665/Bluetooth/Bootloader/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ the main flash section is erased and replaced with the update image. If no valid
99
is identified, the Bootloader will boot the exiting image in the main flash space.
1010

1111
__0x10000000__: Bootloader
12-
__0x10004000__: Main flash space
12+
__0x10008000__: Main flash space
1313
__0x10080000__: Update flash space
1414

1515
## Setup
1616

17-
This Bootloader application needs to be loaded to the first two flash pages. The main application
17+
This Bootloader application needs to be loaded at the beginning of Flash. The main application
1818
will run on top of this application. The linker file for the main application must coincide
1919
with the memory sections defined in this application. The main application is responsible
2020
for updating the update flash space.

Examples/MAX32665/Bluetooth/Bootloader/boot_lower.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/* Boot from the lower flash array */
3232
Boot_Lower:
3333

34-
ldr r0,=0x10004000 /* Address for main flash image */
34+
ldr r0,=0x10008000 /* Address for main flash image */
3535
ldr r1,=0xE000ED08 /* Address for SCB_VTOR_REG */
3636

3737
/* First 32-bit word in image is initial stack pointer */

Examples/MAX32665/Bluetooth/Bootloader/bootloader.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
******************************************************************************/
2020

2121
BOOTLOADER_ORIGIN = 0x10000000;
22-
BOOTLOADER_LEN = 0x4000;
22+
BOOTLOADER_LEN = 0x8000;
2323
FLASH_SECTION_LEN = 0x80000 - BOOTLOADER_LEN;
2424
FLASH0_ORIGIN = BOOTLOADER_ORIGIN + BOOTLOADER_LEN;
2525

0 commit comments

Comments
 (0)