Commit Graph

138 Commits (fix_issue_19_stdlib)

Author SHA1 Message Date
Daniele Lacamera f6727524c4 removed stdlib.h inclusion from apps/malloc
Attempt to fix #19
2019-08-26 08:51:31 +02:00
David Garske 732c82c9c6
Merge pull request #18 from wolfSSL/stm32wb55
Added support for STM32WB
2019-07-30 14:26:51 -07:00
Daniele Lacamera 3bd71fa96e Fixed erase page size and PG bit 2019-07-30 14:16:03 -07:00
Daniele Lacamera f9f10cb099 Added support for STM32WB 2019-07-30 14:16:03 -07:00
Daniele Lacamera ff962985e2 Fixed test-app default entry point in ARM.ld for CI 2019-07-30 18:27:32 +02:00
Daniele Lacamera 3136682d7b README.md updated: v1.2 release notes 2019-07-30 18:09:19 +02:00
Daniele Lacamera 93b0aceaea Removed dead code (old crypto front-end) 2019-07-30 17:49:47 +02:00
Daniele Lacamera 47aaa09faa Update wolfSSL submodule to 4.1.0-stable 2019-07-30 17:45:55 +02:00
David Garske 9d5af360e4
Merge pull request #16 from wolfSSL/stm32f76x-dualbank
Added support for STM32F7 + DUALBANK_SWAP hw-assisted support
2019-07-25 15:05:31 -07:00
Daniele Lacamera 34def41dd1 Added support for STM32F7 + DUALBANK_SWAP hw-assisted support 2019-07-17 11:37:43 -07:00
David Garske d0719f3d2d
Merge pull request #17 from wolfSSL/stm32g0
Added support for STM32-G0
2019-07-17 11:35:43 -07:00
David Garske da467e0ecf Updated wolfSSL sub-module. Enlarged RAM region to 36KB, which is good for any G07x or higher (note G03x or G04x only have 8KB RAM). 2019-07-17 11:35:15 -07:00
Daniele Lacamera 78d6de5d40 Updated wolfssl to latest master, fixes Cortex-M0 issue. 2019-07-17 09:27:03 +02:00
David Garske f2be454e08 Fixes for building STM32G0. 2019-07-16 12:04:34 -07:00
Daniele Lacamera 254882c5f2 Added support for STM32G0 (tested on STM32G070-Nucleo) 2019-07-16 08:46:14 -07:00
David Garske b5584968c4
Merge pull request #15 from wolfSSL/stm32l0x3
Added support for STM32L0X3
2019-07-16 08:19:18 -07:00
Daniele Lacamera e8eb299621 Added documentation for STM32-L0x3 2019-07-16 11:41:56 +02:00
David Garske 27669522a2 Rename the test-app. 2019-07-15 08:58:59 -07:00
Daniele Lacamera e016722e66 Added support for STM32L0X3
(firmware update successfully tested on STM32L073)
2019-07-15 08:55:15 -07:00
Daniele Lacamera 63eb744a62
Merge pull request #14 from wolfSSL/hifive1-hal
SiFive HiFive (FE310) RISC-V support
2019-07-15 17:51:23 +02:00
Daniele Lacamera 88d0e4dcfb HiFive1 eSPI driver: Fixed return-to-hwmode, refactoring hal_flash_write
for short write operations
2019-07-08 19:10:16 +02:00
Daniele Lacamera e8eb12076d test-app Makefile: change application source file names. 2019-07-08 19:08:58 +02:00
Daniele Lacamera cfa058c411 app_hifive1: improved debug (app RAM moved ahead to help debugging RAM
code + optional naked version of write_page()
2019-07-08 19:04:20 +02:00
Daniele Lacamera b5cf09d418 hifive1 app: Added long jump to wolfBoot_update_trigger() + minor fixes 2019-07-08 18:53:02 +02:00
Daniele Lacamera 02e1017fb2 Moved more trailer functions to RAM to reduce long jumps 2019-07-08 18:49:17 +02:00
Daniele Lacamera d9d9573185 Fixed update server checksum function 2019-07-08 18:48:11 +02:00
Daniele Lacamera 93fdc4a848 [hifive1] Flash Frequency set back to 50MHz 2019-06-27 13:11:32 +02:00
Daniele Lacamera 9cc558b7a2 [hifive1] fixed hal_flash_write 2019-06-27 12:40:40 +02:00
Daniele Lacamera e08d282879 [Hifive1 SPI] Changed order of SPI operations/direction changes 2019-06-26 19:24:39 +02:00
David Garske 68b5f67f23 Fix for `hal_flash_write` to use incremented data pointer for page. 2019-06-24 11:11:07 -07:00
David Garske 0a0e8f6a22 Fix for compile warning with operators and parens. 2019-06-24 10:54:47 -07:00
Daniele Lacamera 5c8bad047c Moved hifive1_write_page to separate module 2019-06-20 15:46:47 +02:00
Daniele Lacamera 637ffa9801 hifive hal: switch back to "hw mode" after erase/write operations 2019-06-19 15:56:39 +02:00
David Garske c46cf51156 Added some more useful standard library functions. 2019-06-18 10:54:34 -07:00
David Garske 4b2a5f94c5 Update test-app linker script flash size to match configured partition size in target.h 2019-06-13 13:23:20 +02:00
David Garske 92ed57832f Fixes for long jump. Targets.md fix for RAM_CODE typo. 2019-06-12 17:25:38 +02:00
David Garske 7a28c9efa4 Resolved peer review items. Thanks Daniele. Documentation improvements. Added open() check for update server example. 2019-06-10 21:21:32 +02:00
David Garske 33e3607e21 Updates to documentation for RISC-V addresses. Added link to wolfBoot-examples repo. Revert target.h changes. 2019-06-10 17:58:31 +02:00
David Garske 1b68506fdc Added unused function pruning to RISCV build. Updated debugging commands. 2019-06-08 17:46:47 -07:00
David Garske 317bca179c Fix for `ARCH_FLASH_OFFSET` when make script is gathering `.wolfboot-offset` and `.wolfboot-partition-size` files. Updates to Target.md. Cleanups to test tools. 2019-06-07 14:17:15 -07:00
David Garske 0f00f8e700 SiFive HiFive (FE310) RISC-V support
* HiFive1 HAL Support for PLL Clock, UART, RTC and Flash QSPI Erase/Write.
* HiFive1 update demo application for accepting firmware updates over UART.
* Added test-update-server application for pushing firmware image over UART.
* Fixes for building with `make SIGN=ECC256`.
* Improvements to wolfCrypt `user_settings.h`.
* General library cleanup (license headers and formatting)
* Updated the wolfSSL submodule to latest.
* Documentation updates including new `Targets.md` section for hardare instructions.
2019-06-07 13:08:15 -07:00
David Garske 11dd4f184e
Merge pull request #13 from wolfSSL/quickfix-wsl
Minor makefile fix partition offset during build
2019-05-29 08:48:34 -07:00
Daniele Lacamera 0c14005e14 Fixed retrieving partition offset during build
fix for #12
2019-05-29 15:43:22 +02:00
David Garske e6723ec831
Merge pull request #7 from wolfSSL/ramcode
Ramcode
2019-04-29 11:54:40 -07:00
David Garske b75f6bbdc2 Added missing macro on Mac for `B115200`. 2019-04-29 11:54:08 -07:00
Daniele Lacamera 558441650c Added ECC self-update test code 2019-04-29 20:32:04 +02:00
Daniele Lacamera 2ef5e47d61 Added test for bootloader update 2019-04-29 20:32:04 +02:00
Daniele Lacamera 738730c982 Making python3 a requirement for keytools + fixes for MacOS 2019-04-29 20:32:04 +02:00
Daniele Lacamera fc547e4a25 wolfBoot can update itself when compiled with RAM_CODE=1
- Added wolfBoot version
- Added extra 16bit header tag to identify the image type and authentication
- Implemented optional in-ram self-update of the bootloader, with version control
and authentication mechanism (not fail-safe)
2019-04-29 20:32:04 +02:00
Daniele Lacamera 937e9d46fb Introducing RAMCODE tag to transfer functions to RAM
- Moved functions in the flash write path to RAM, so their execution
does not depend on flash access

- RAMCODE can be enabled via "make RAM_CODE=1"
2019-04-29 20:32:04 +02:00