This repository was archived by the owner on Jun 5, 2019. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 223
 
Rework solution configuration and ST CMSIS/HAL integration #434
          
     Open
      
      
            josesimoes
  wants to merge
  157
  commits into
  NETMF:dev
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
Eclo:CMSIS_STM32F4
  
      
      
   
  
    
  
  
  
 
  
      
    base: dev
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    - checked implementation of osXxxxDef objects - need to add cpp define for __FPU_PRESENT because CMSIS code has changed and the FP checks on previous versions that produced warning are now errors
(this makes them ready to be uploaded with ST-Link app, DFU manager or similar)
- replace gcc with g++ fro CPP files - add extra information to debug flavors and axfdump file - add debug flavored configurations for arch (linked file)
This reverts commit feaf5ad.
- add PowerShell script to download and install SMT32F4 support pack from ST web site (work in progress as the destination folders and final layout are still unknow)
- script is now generic to be able to handle all available STM32 series - add code to copy source files to correct destination directories - rename script
- add/reword comments - move download code into if()
- now accepts series names and target version as parameters - add validation for parameters - add code to check if script is running from repository home or being called from a build project and adjusting working path accordingly - add standard help to script
… CMSIS_STM32F4
- correct pack target version validation - correct documentation - remove debug code
- replace several calls with PowerShell comandlets to improve eficiency - source folder is now deleted after copy - destination directories are now cleared before copying files
…S declaration with the same name
- remove references to SimpleHeap projects - remove calls to SimpleHeap config and init - remove Simple Heap declarations from TinyHal.h - replace private_malloc and private_free with standard C malloc and free - implement redirect functions for private_malloc and private_free because they were being referenced from the pre-compiled crypto libs - rework scatter files to have a managed heap and standard heap that are managed from C standard code
…eter into CMSIS_STM32F4
- now looking for bit definition and not for the family
- WinUSB classes are working - USB debug and communication with MFDeploy completed - Move USB config from solution\device code to solution settings file - Add line to targets in order to set defines required for USB config compilation - Rework TinyBooter and TinyCLR proj to include USB debug project/features - Add FEATURE_USB_DEBUG to solutions features settings files and STM32F4 HAL projects
(only GCC, still missing RVD version)
(weak declaration is now being correctly replaced with strong implementation by linker)
… CMSIS_STM32F4
      
  
  Open
  
… CMSIS_STM32F4
- add code and validation to accept all possible versions - correct download URL - add code to handle patch packages
- add support for SWO - rework code to properly handle pin configs
- set proper reload values for timers - remove wrong/duplicated config code - correct code to read current ticks from cascaded timers - correct typos
  
      Sign up for free
      to subscribe to this conversation on GitHub.
      Already have an account?
      Sign in.
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR addresses the discussions in #405 and also #429.
A couple of warnings:
Having said that: it's a proposal open for review, discussion and criticism.
What's included (and in the works)
(GPIO, USART, SPI, I2C, power, flash and time are implemented; DA, ADC, PWM and USB are on the works)
Final notes: