Skip to content
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

Generate DFU file for OrgPal3 board #1533

Merged
merged 3 commits into from
Dec 18, 2019

Conversation

networkfusion
Copy link
Member

No description provided.

@nfbot
Copy link
Member

nfbot commented Dec 18, 2019

Hi @networkfusion,

I'm nanoFramework bot.
Thank you for your contribution!

A human will be reviewing it shortly. 😉

@josesimoes josesimoes added Area: Config-and-Build Series: STM32xx Everything related specifically with STM32 targets Type: enhancement labels Dec 18, 2019
Copy link
Member

@josesimoes josesimoes left a comment

Choose a reason for hiding this comment

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

LGTM!

@networkfusion
Copy link
Member Author

@josesimoes Is this just failing because it is not in the expected branch? Feel free to squash and merge if it is...

@networkfusion networkfusion merged commit 8c71428 into develop-orgpal3 Dec 18, 2019
@networkfusion networkfusion deleted the develop-orgpal-dfu-patch branch December 18, 2019 19:44
josesimoes pushed a commit that referenced this pull request Jan 7, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Jan 17, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Jan 29, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Feb 7, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Feb 10, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Feb 11, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Feb 12, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Feb 13, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Feb 25, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Feb 28, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Mar 9, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Mar 21, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Apr 15, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Apr 29, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Apr 29, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Apr 29, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request May 2, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request May 4, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request May 5, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request May 11, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request May 19, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes pushed a commit that referenced this pull request Jun 5, 2020
* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board
josesimoes added a commit that referenced this pull request Jun 5, 2020
* Add new boards

- 429 building and running booter and CLR
- MAC disabled

* Fix I2C config

* Fix alternate for RMII pin

* Fix SPI assignments

- SPI1 and SPI2 are the correct ones.

* Add support for STDBY processing and exit on CLR

* Correct pin to remain on booter

Signed-off-by: José Simões <[email protected]>

* Implement workaround on silicon bug when wakeup from STDBY

- Also decrease timeouts on USB connect disconnect sequence.

* Fix block storage config

- Was missing the config block.
- Add config block to block storage arrays.
- Adjust linker file accordingly.
- Rename linker files and update reference in target CMake.
- Update CLR address in booter check.

Signed-off-by: José Simões <[email protected]>

* Temporary fix to overcome PHY reset signal

* Update ChibiOS build options

- Following #1177.

Signed-off-by: José Simões <[email protected]>

* Upda Block storage to new structure

Signed-off-by: José Simões <[email protected]>

* Fix SD Card detect

Signed-off-by: José Simões <[email protected]>

* Fix FAT FS definitions and configs

Signed-off-by: José Simões <[email protected]>

* Final tweaks on USB MSD config

Signed-off-by: José Simões <[email protected]>

* Update storage implementation for target board

Signed-off-by: José Simões <[email protected]>

* Update FatFS config

* Clean up main for file system inits

Signed-off-by: José Simões <[email protected]>

* Add storage working threads and config

Signed-off-by: José Simões <[email protected]>

* Add define for activity heart beat

Signed-off-by: José Simões <[email protected]>

* Update ChibiOS config files for F469

* Update F469 board to ChibiOS 19.1

* Update UART configs

* Update F769 board to ChibiOS 19.1

- Added necessary config files

* Fix clock config

* Linker file adjustments

* Update lwIPand other network configs

* Fix GPIO def

* adjust sntp config

* Add missing define for platform RNG

* Fix board voltage

* Turn OFF SD Card on both boards

* Turn on bkp RAM on both boards

* Fix booter code for F769

- Was checking the wrong GPIO to remain on booter.
- Decrease USB timeout.
- Add missing call to BlockStorage init.
- Replace pal set/clear with toggle for blinking the LED.

* Work on CLR main for F769

- Add threads for SD card and USB MSD.
- Decrease USB sleep time on reboot.

* Update config for ext memory and disable for F7

* Fix GPIO config for UART pins

* Fix ethernet F4

* Disable COM7 in F4

* Improve async continuations

* Enable COM ports on F7

* Add wake up processing for F7

* Enable UART7 on F4 board

Signed-off-by: José Simões <[email protected]>

* Initial work adding SPIFFS to STM32

- Add code from Cube package.
- Add SPIFFS HAL.
- Update STM32 Windows.Storage implementation to add support for SPIFFS.
- Rework STM32 Windows.Storage implementation to work without FatFS.
- Update CMakes as required.

Signed-off-by: José Simões <[email protected]>

* Initial work adding SPIFFS to STM32

- Add code from Cube package.
- Add SPIFFS HAL.
- Update STM32 Windows.Storage implementation to add support for SPIFFS.
- Rework STM32 Windows.Storage implementation to work without FatFS.
- Update CMakes as required.

Signed-off-by: José Simões <[email protected]>

* Update SD Card detect mapping in storage configuration

Signed-off-by: José Simões <[email protected]>

* Fix I2C2 DMA assigment

- Close BUG 67.

Signed-off-by: José Simões <[email protected]>

* Fixes on GPIO defs for QSPI on F4 and F7 boards

* Add SPIFFS implementation for F4 and F7 boards

* Work on QSPI to use STM HAL calls to init QSPI clocks and pripheral

Signed-off-by: José Simões <[email protected]>

* Work on SPIFFS hal init

Signed-off-by: José Simões <[email protected]>

* Change spiffs max file name to 256

Signed-off-by: José Simões <[email protected]>

* Rework STM32 Windows.Storage

- Add support for SPIFFS.
- Separate code to allow compiling for FatFS and SPIFFS as separate options.

Signed-off-by: José Simões <[email protected]>

* Rework StorageFile for spiffs

Signed-off-by: José Simões <[email protected]>

* Remove magic number from spiffs config

Signed-off-by: José Simões <[email protected]>

* Fix HAL SPIFFS after bad merge

Signed-off-by: José Simões <[email protected]>

* Revert SPIFFS config for object name lenght to 32

Signed-off-by: José Simões <[email protected]>

* Fix external memory for F7 board

Signed-off-by: José Simões <[email protected]>

* Fix STM Cube package

Signed-off-by: José Simões <[email protected]>

* Sync mcu config F7 with F4

* Enable UART7 config for F7 board

* Update ADC config for F7 board

* Turn off unnused peripherals

* Add extra cleaning to F7 wakeup sources

Signed-off-by: José Simões <[email protected]>

* Work on F7 and F4 resources

- Enable I2C3 for F7
- Enable ADC3 for F4 and F7

* Remove bad double quotes on include for SPIFFS

- Was failing the CMake config if SPIFFS option was OFF.

* Turn off SPIFFS for F7 board

- Turn off HAL QSPI.
- QSPI STM Cube driver is not working as it is now.

* Adjust CLR region size for MinRelSize build (F4)

* Update CLR region size for RELEASE build (F7)

* Add default GPIOs (both F4 and F7)

Related work items: #72

* Change serial flash to W25Q128

- Update names, size configs, chip IDs and timmings.

* Fix GPIO initial set

- Both boards.
- Requested by Zan.

* Enable SD Card in storage config (both F4 and F7)

* Add target name and platform defines to both F4 and F7

* Update both targets config files

Signed-off-by: José Simões <[email protected]>

* Add target config for DAC

Signed-off-by: José Simões <[email protected]>

* Enable DAC on PA4 for both boards

Signed-off-by: José Simões <[email protected]>

* Update mbedTLS options on both boards

- Following nf-interpreter develop branch.

Signed-off-by: José Simões <[email protected]>

* Update serial baud rate on both boards

Signed-off-by: José Simões <[email protected]>

* Fix build with mbedTLS option ON

Signed-off-by: José Simões <[email protected]>

* Add network default config to F4 and F7 boards

- Following #1422.

* Fix GPIO config for SPI flash CS pin

* Fix initial test code for SPIFFS

* Enable SPIFFS storage for F7 board

* Add define for long running operations hook in SPIFFS config

Signed-off-by: José Simões <[email protected]>

* Rework F7 SPIFFS to work with AT25SF081

Signed-off-by: José Simões <[email protected]>

* Update F7 SPIFFS config to AT25SL641

Signed-off-by: José Simões <[email protected]>

* Enable SDMMC1 on F7

Signed-off-by: José Simões <[email protected]>

* Fix SPI flash PN and IDs

Signed-off-by: José Simões <[email protected]>

* Fix overalpping DMA with SD card and SPI1

Signed-off-by: José Simões <[email protected]>

* Remove bad instruction to force cache read

- Causing hard fault.

Signed-off-by: José Simões <[email protected]>

* Replace hack for watchdog reset

Signed-off-by: José Simões <[email protected]>

* Merged PR 2: Add DMA capable read and write buffers for SPIFFS operation

Add DMA capable read and write buffers for SPIFFS operation

* Replace flash storage from SPI to QSPI chip

Signed-off-by: José Simões <[email protected]>

* Revert wrong changes in STM32F769 targets

Signed-off-by: José Simões <[email protected]>

* Revert changes with wrong merge

Signed-off-by: José Simões <[email protected]>

* Revert merge changes

Signed-off-by: José Simões <[email protected]>

* Revert from merge

Signed-off-by: José Simões <[email protected]>

* Remove wrong boards

Signed-off-by: José Simões <[email protected]>

* Work CD-CI

- Add OrgPal board to build targets.

Signed-off-by: José Simões <[email protected]>

* Add ORGPAL board to README

Signed-off-by: José Simões <[email protected]>

* Add ORGPAL_PALTHREE board folder

Signed-off-by: José Simões <[email protected]>

* Work CD-CI

- Remove CAN from build options.

Signed-off-by: José Simões <[email protected]>

* Remove 1-Wire from build options and features table

Signed-off-by: José Simões <[email protected]>

* Merge from upstream/develop

Signed-off-by: José Simões <[email protected]>

* Add dependencies for ORGPAL build

Signed-off-by: José Simões <[email protected]>

* Enable support for System.Text

Signed-off-by: José Simões <[email protected]>

* Work CD-CI

- Add ForceUpload variable to bintray template to allow publishing images on branches other than develop.
- Set ForceUpload  in ORGPAL target.

Signed-off-by: José Simões <[email protected]>

* Gererate DFU file for ORGPAL_PALTHREE

* Generate DFU file for OrgPal3 board (#1533)

* Add GetTargetCapabilities for OrgPal3
* Add DFU package to CMakeLists for OrgPal3 board

* Add required header for GetTargetCapabilities

* Remove duplicated line from CMakeLists.txt

* Remove unused dependency from ChibiOS FatFS

Signed-off-by: José Simões <[email protected]>

* Update FatFS config file to R014

Signed-off-by: José Simões <[email protected]>

* Work CD-CI

- Rename ChibiOS nF HAL overlay defines as they were conflicting with the official community ones.
*** REQUIRES UPDATE ON THE NF OPTIONS ON ALL STM32 TARGETS ***
***NO_CI***

Signed-off-by: José Simões <[email protected]>

* Update ORGPAL3 HAL options

Signed-off-by: José Simões <[email protected]>

* Add CRC init to boot files

Signed-off-by: josesimoes <[email protected]>

* Update SPI configuration

Signed-off-by: josesimoes <[email protected]>

* Fix SPI index in call to config macro

* Update README from upstream develop

Signed-off-by: josesimoes <[email protected]>

* Fix Azure pipelines entry

Signed-off-by: josesimoes <[email protected]>

* Fix managed helpers for ORGPAL_PALTHREE

Signed-off-by: josesimoes <[email protected]>

Co-authored-by: sjmneves <[email protected]>
Co-authored-by: Antonio Fagundes <[email protected]>
Co-authored-by: Robin Jones <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Config-and-Build Series: STM32xx Everything related specifically with STM32 targets Type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants