1. 20 Nov, 2018 1 commit
    • Damien George's avatar
      leon: Make sparc_install_ta_3_window_flush_isr always available. · de6f590c
      Damien George authored
      The header sparcisr.h is part of the ABI and may be included by code which
      does not define RTEMS_4_8_EDISOFT yet uses 4.8 Edisoft.  In such cases the
      definition of sparc_install_ta_3_window_flush_isr will be inconsistent.  So
      just make this function always available, and provide the correct
      definition in the .c file (which must have RTEMS_4_8_EDISOFT defined if
      that toolchain is used).
      de6f590c
  2. 27 Nov, 2017 1 commit
    • Damien George's avatar
      leon: Provide custom window-flush ISR and function to install it. · e9a2849e
      Damien George authored
      This adds the standard window-flush ISR to Edisoft RTEMS 4.8 builds,
      allowing the custom SPARC setjmp/longjmp implementation to use "ta 3" to
      instigate a window flush.  For non-Edisoft builds "ta 3" can be used
      without any special additions because it already exists.  For Edisoft
      builds the function sparc_install_ta_3_window_flush_isr() must be called
      before any MicroPython functions are called, in order to install the custom
      handler.
      
      With this patch the implementation of sparc_window_flush_trap_handler
      matches the standard implementation.
      e9a2849e
  3. 08 Aug, 2017 1 commit
    • Thanassis Tsiodras's avatar
      leon: Remove dependency on non-freely accessible code. · 5f0f6fad
      Thanassis Tsiodras authored
      Due to licensing concerns, we cannot use any of the code in the "support"
      folder of the EDISOFT compiler. After doing some tests, it seems that
      the only pieces of that code that we depended on were the ones used to
      perform output from the serial port. This set of patches:
      
      - Provides a minimal implementation of outputing a character on
        leon2's first serial port
      - Patches mphalport to delegate to this function.
      - Removes the dependencies on the support/ folder from the relevant
        Makefiles
      
      This patch also changes the default toolchain to EDISOFT RTEMS 4.8.
      5f0f6fad
  4. 24 Jul, 2017 1 commit
    • Damien George's avatar
      leon: Support RTEMS-4.8 Edisoft toolchain. · 5386076f
      Damien George authored
      It requires some minimal libc header files, with definitions and
      declarations that MicroPython relies on.
      
      The OBCP example cannot be built with Edisoft because it relies a lot
      on the toolchain providing a printf function.
      5386076f
  5. 14 Jul, 2017 2 commits