Skip to content

[NUC472/M453] Support Bootloader and FlashIAP #4008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 10, 2017
Merged

Conversation

cyliangtw
Copy link
Contributor

This PR patches for the targets NuMaker-PFM-NUC472 and NuMaker-PFM-M453 and has the following modifications:

  1. Support Bootloader infrastructure
  2. Support FlashIAP
  3. Support HW AES

Verified OK by mbed-os-example-bootloader and mbed-os-example-bootloader-blinky.
Also passed Greentea test on ARMCC, GCC and IAR, except mbed-os-tests-mbed_hal-flash.
mbed-os-tests-mbed_hal-flash fails due to test code bug itself. See the PR thread below:
#3968
Attached the test report for reference.
M453_GCC_ARM_Test20170323.txt
M453_IAR_Test20170323.txt
M453_ARM_Test20170323.txt
NUC472_GCC_ARM_Test20170323.txt
NUC472_IAR_Test20170323.txt
NUC472_ARM_Test20170323.txt

};

static const flash_algo_t flash_algo_config = {
// FIXME
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does FIXME mean in this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, it's the comment in developing stage. Now, it's redundancy and I removed it.

Copy link
Contributor

@c1728p9 c1728p9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Excellent work!

Copy link
Contributor

@sg- sg- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trng_api.c looks to have some stray tabs and formatting slips. Mind updating? https://docs.mbed.com/docs/mbed-os-handbook/en/latest/cont/code_style/

@cyliangtw
Copy link
Contributor Author

It's done to remove stray tabs to avoid formatting slips in trng_api.c .

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 30, 2017

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1794

All builds and test passed!

1. Remove setting of not released register ICPCON
2. Enable FMC_APUEN to update APROM
@sg-
Copy link
Contributor

sg- commented Apr 6, 2017

/morph test-nightly

1 similar comment
@bridadan
Copy link
Contributor

bridadan commented Apr 6, 2017

/morph test-nightly

@mbed-bot
Copy link

mbed-bot commented Apr 6, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test-nightly

Output

mbed Build Number: 1847

All builds and test passed!

@bridadan
Copy link
Contributor

bridadan commented Apr 6, 2017

Double ready for merge 😄

@sg- sg- merged commit 1b4a3c3 into ARMmbed:master Apr 10, 2017
aisair pushed a commit to aisair/mbed that referenced this pull request Apr 30, 2024
Ports for Upcoming Targets


Fixes and Changes

4008: [NUC472/M453] Support Bootloader and FlashIAP ARMmbed/mbed-os#4008
4102: Add SCL and SDA defs for I2C[0-2]; redefine I2C_[SCL,SDA] to I2C2 ARMmbed/mbed-os#4102
4118: STM32F4 Internal ADC channels rework ARMmbed/mbed-os#4118
4126: STM32F4 : remove SERIAL_TX and SERIAL_RX from available pins ARMmbed/mbed-os#4126
4148: Revert "STM32F4 Internal ADC channels rework" ARMmbed/mbed-os#4148
4152: STM32F4 Internal ADC channels rework ARMmbed/mbed-os#4152
4074: [Silicon Labs] Update pinout ARMmbed/mbed-os#4074
4133: U-BLOX_C030: Default XTAL is now 12MHz onboard. Option to use Debug 8MHz ARMmbed/mbed-os#4133
4142: EFM32: Fixed `pwmout_all_inactive` being inversed ARMmbed/mbed-os#4142
4016: [NRF5]: fix rtc overflow-while-set-timestamp issue ARMmbed/mbed-os#4016
4031: STM32 increase IAR heap size for big RAM targets ARMmbed/mbed-os#4031
4137: MCUXpresso: Update ARM linker files to eliminate reserving RAM for stack & heap ARMmbed/mbed-os#4137
4176: STM32L4 Internal ADC channels rework ARMmbed/mbed-os#4176
4154: STM32F7 Internal ADC channels rework ARMmbed/mbed-os#4154
4174: [NRF52840]:  fix rtc overflow-while-set-timestamp issue ARMmbed/mbed-os#4174
4180: [UBLOX_C030] create target hierarchy for the specific versions of the C030 board ARMmbed/mbed-os#4180
4153: STM32F2: Internal ADC channels rework ARMmbed/mbed-os#4153
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants