Skip to content
Snippets Groups Projects
  1. Aug 19, 2019
  2. Aug 18, 2019
  3. Aug 17, 2019
  4. Aug 16, 2019
  5. Aug 15, 2019
    • schneider's avatar
      fix(sdk): ssec is 12 bits long · ea085187
      schneider authored
      ea085187
    • rahix's avatar
      Merge branch 'rahix/lifecycle' · 604a5036
      rahix authored
      
      This changeset implements a proper lifecycle of the core 1 payload.
      The implementation faces some difficulties because there is no way to
      properly reset just core 1.  Instead, we chose a cooperative approach:
      
      To perform a reset, core 1 jumps to a reset-stub and is then fed a new
      IVT location which it uses to "restart" with a new payload.  The jump to
      the reset-stub is either voluntary by a call to epic_exit() or epix_exec(),
      or involuntary by Epicardium issuing a "reset" interrupt.  This is a
      special API interrupt whose handler is pre-implemented in the API-caller
      lib.
      
      Additionally, this changeset contains support for defining which python
      script Pycardium should execute on startup.  This way, scripts can issue
      the start of one another using `epic_exec("script-name.py")`.
      
      Finally, this changeset also changes the power-button behavior.
      Pressing the power button will now excert the following behavior:
      
          - `<400 ms`: Return back to menu
          - `<1 s`: Reset card10
          - `>1 s`: Poweroff
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      604a5036
    • Hauke Mehrtens's avatar
      feat(ble): Add file transfer · 14930b38
      Hauke Mehrtens authored
      
      This adds basic file transfer support over BLE.
      
      The central provides a filename and then can transfer chunks of data
      which are written to the file.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      14930b38
    • rahix's avatar
      feat(pmic): Implement proper reset behavior · d3c52d1c
      rahix authored
      
      Pressing the power button will now excert the following behavior:
      
      - `<400 ms`: Return back to menu
      - `<1 s`: Reset card10
      - `>1 s`: Poweroff
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      d3c52d1c
Loading