Skip to content

5.12.0-rc3 #10158

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 31 commits into from
Mar 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
42fca9a
Reduce 32KB from LPC55S69_S binary size
Mar 11, 2019
0e84d19
Update NS IAR icf file
Mar 12, 2019
a375e52
Make the presence of cmsis-pack-manager package optional
bridadan Mar 13, 2019
3ee1410
Correct check for the ARM toolchain binary in the PATH.
bridadan Mar 11, 2019
a197ebc
Correct FPU settings traceback found by IAR
theotherjimmy Mar 7, 2019
21f81cc
make protected secure flash region configurable and change secure and…
Mar 11, 2019
51818e4
"Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA"
Mar 12, 2019
86d030d
Finish memory protection and add static assert
orenc17 Mar 13, 2019
ecd6f21
modify rpb base address for M0
Mar 14, 2019
cd2d1bd
"Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA"
Mar 14, 2019
f05f3ec
mbed-os to support bootlader for Cypress CY8CKIT_062_WIFI_BT_PSA and …
Mar 10, 2019
25be419
Update features/FEATURE_BOOTLOADER/targets/TARGET_Cypress/TARGET_PSOC…
Mar 13, 2019
2ac05a0
Adding documentation for MBED_APP_START and MBED_APP_SIZE in TARGET_C…
Mar 13, 2019
122a018
Updating Cypress CY8CKIT_062_WIFI_BT_PSA and CY8CKIT_062_BLE device name
Mar 14, 2019
c997b0e
Updating address of secure and non secure rom in CY8CKIT_062_WIFI_BT_…
Mar 14, 2019
e1d08ad
Updating CY8CKIT_062_WIFI_BT_PSA bootloader image
Mar 14, 2019
5311b90
LPC55S69_S: reduce ITS size to 32KB
Mar 14, 2019
6fa5c9e
"Update secure binaries for LPC55S69_S"
Mar 14, 2019
9f8db7e
Temporary disable Crypto HW accelerator on STM32F439xI chipset due to…
Mar 14, 2019
d5295db
LPC55S69: Add IAR and uvision exporter support
mmahadevan108 Mar 12, 2019
ba463c1
Update to provide the right device name in the Asymmetric case
mmahadevan108 Mar 14, 2019
f6f3986
Clean all lint errors in configuration system
theotherjimmy Mar 14, 2019
e0d8b4b
Test that secure/non-secure memories are passed
theotherjimmy Mar 14, 2019
69ed7fc
Override rom used by managed bootloader with PSA roms
theotherjimmy Mar 14, 2019
a566fab
Add bootloader support for the LPC55S69 board
Mar 7, 2019
43f4e25
Fix functionality for FlashIAPBD & SlicingBD
Mar 14, 2019
77b60f4
Add flashiap block device comment
Mar 18, 2019
322e901
"Update secure binaries for CY8CKIT_062_WIFI_BT_M0_PSA"
Mar 19, 2019
d99f82a
"Update secure binaries for FUTURE_SEQUANA_M0_PSA"
Mar 19, 2019
290f612
"Update secure binaries for LPC55S69_S"
Mar 19, 2019
32762d6
Merge pull request #10159 from kfnta/alzix/rc-help
Mar 19, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,14 @@ const char *FlashIAPBlockDevice::get_type() const
return "FLASHIAP";
}

bool FlashIAPBlockDevice::is_valid_erase(bd_addr_t addr, bd_size_t size) const
{
/* Calculate address alignment for the full flash */
bd_addr_t base_addr = addr + (_base - _flash.get_flash_start());

return (
addr + size <= this->size() &&
base_addr % get_erase_size(addr) == 0 &&
(base_addr + size) % get_erase_size(addr + size - 1) == 0);
}
#endif /* DEVICE_FLASH */
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,15 @@ class FlashIAPBlockDevice : public mbed::BlockDevice {
*/
virtual const char *get_type() const;

/** Convenience function for checking block erase validity
*
* @param addr Address of block to begin erasing
* @param size Size to erase in bytes
* @return True if erase is valid for underlying block device
*/
virtual bool is_valid_erase(bd_addr_t addr, bd_size_t size) const;


private:
// Device configuration
mbed::FlashIAP _flash;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Permissive Binary License

Version 1.0, September 2015

Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:

1) Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.

2) Unless to the extent explicitly permitted by law, no reverse
engineering, decompilation, or disassembly of this software is
permitted.

3) Redistribution as part of a software development kit must include the
accompanying file named "DEPENDENCIES" and any dependencies listed in
that file.

4) Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Limited patent license. The copyright holders (and contributors) grant a
worldwide, non-exclusive, no-charge, royalty-free patent license to
make, have made, use, offer to sell, sell, import, and otherwise
transfer this software, where such license applies only to those patent
claims licensable by the copyright holders (and contributors) that are
necessarily infringed by this software. This patent license shall not
apply to any combinations that include this software. No hardware is
licensed hereunder.

If you institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the software
itself infringes your patent(s), then your rights granted under this
license shall terminate as of the date such litigation is filed.

DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading