Skip to content
Snippets Groups Projects
  1. Mar 27, 2018
    • Damien George's avatar
      stm32/Makefile: Allow a board to config either 1 or 2 firmware sections. · ed75b265
      Damien George authored
      This patch forces a board to explicitly define TEXT1_ADDR in order to
      split the firmware into two separate pieces.  Otherwise the default is now
      to produce only a single continuous firmware image with all ISR, text and
      data together.
      ed75b265
    • Damien George's avatar
      stm32/Makefile: Rename FLASH_ADDR/TEXT_ADDR to TEXT0_ADDR/TEXT1_ADDR. · 95b2cb00
      Damien George authored
      To make it clearer that these addresses are both for firmware text and that
      they have a prescribed ordering.
      95b2cb00
    • Damien George's avatar
      stm32/boards: Allow boards to have finer control over the linker script. · 7aec06ca
      Damien George authored
      This patch allows a particular board to independently specify the linker
      scripts for 1) the MCU memory layout; 2) how the different firmware
      sections are arranged in memory.  Right now all boards follow the same
      layout with two separate firmware section, one for the ISR and one for the
      text and data.  This leaves room for storage (filesystem data) to live
      between the firmware sections.
      
      The idea with this patch is to accommodate boards that don't have internal
      flash storage and only need to have one continuous firmware section.  Thus
      the common.ld script is renamed to common_ifs.ld to make explicit that it
      is used for cases where the board has internal flash storage.
      7aec06ca
    • Damien George's avatar
      stm32/*bdev.c: Eliminate dependency on sys_tick_has_passed. · a6009a9e
      Damien George authored
      Explicitly writing out the implementation of sys_tick_has_passed makes
      these bdev files independent of systick.c and more reusable as a general
      component.  It also reduces the code size slightly.
      
      The irq.h header is added to spibdev.c because it uses declarations in that
      file (irq.h is usually included implicitly via mphalport.h but not always).
      a6009a9e
    • Damien George's avatar
      stm32/qspi: Don't take the address of pin configuration identifiers. · 6f1e8576
      Damien George authored
      Taking the address assumes that the pin is an object (eg a struct), but it
      could be a literal (eg an int).  Not taking the address makes this driver
      more general for other uses.
      6f1e8576
    • Damien George's avatar
      stm32: Consolidate include of genhdr/pins.h to single location in pin.h. · 6b51eb22
      Damien George authored
      genhdr/pins.h is an internal header file that defines all of the pin
      objects and it's cleaner to have pin.h include it (where the struct's for
      these objects are defined) rather than an explicit include by every user.
      6b51eb22
  2. Mar 25, 2018
  3. Mar 20, 2018
  4. Mar 19, 2018
  5. Mar 16, 2018
  6. Mar 15, 2018
  7. Mar 14, 2018
  8. Mar 13, 2018
  9. Mar 12, 2018
  10. Mar 11, 2018
Loading