Skip to content

Commit

Permalink
fix(Examples): Fix warning in MAX32655/UART_DMA example, and increase…
Browse files Browse the repository at this point in the history
… 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]>
  • Loading branch information
1 parent 8ece572 commit b99a921
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Examples/MAX32655/UART_DMA/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void readCallback(mxc_uart_req_t *req, int error)
READ_FLAG = error;
}

void buttonHandler(void)
void buttonHandler(void *pb)
{
buttonPressed = 1;
}
Expand Down
4 changes: 2 additions & 2 deletions Examples/MAX32665/Bluetooth/Bootloader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ the main flash section is erased and replaced with the update image. If no valid
is identified, the Bootloader will boot the exiting image in the main flash space.

__0x10000000__: Bootloader
__0x10004000__: Main flash space
__0x10008000__: Main flash space
__0x10080000__: Update flash space

## Setup

This Bootloader application needs to be loaded to the first two flash pages. The main application
This Bootloader application needs to be loaded at the beginning of Flash. The main application
will run on top of this application. The linker file for the main application must coincide
with the memory sections defined in this application. The main application is responsible
for updating the update flash space.
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/Bootloader/boot_lower.S
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/* Boot from the lower flash array */
Boot_Lower:

ldr r0,=0x10004000 /* Address for main flash image */
ldr r0,=0x10008000 /* Address for main flash image */
ldr r1,=0xE000ED08 /* Address for SCB_VTOR_REG */

/* First 32-bit word in image is initial stack pointer */
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/Bootloader/bootloader.ld
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
******************************************************************************/

BOOTLOADER_ORIGIN = 0x10000000;
BOOTLOADER_LEN = 0x4000;
BOOTLOADER_LEN = 0x8000;
FLASH_SECTION_LEN = 0x80000 - BOOTLOADER_LEN;
FLASH0_ORIGIN = BOOTLOADER_ORIGIN + BOOTLOADER_LEN;

Expand Down

0 comments on commit b99a921

Please sign in to comment.