Skip to content

Latest commit

 

History

History
332 lines (302 loc) · 12.8 KB

changelog.md

File metadata and controls

332 lines (302 loc) · 12.8 KB

MikroElektronika


BACK TO MAIN FILE


v2.1.1

  • released: 2021-08-24

Changes

NEW HARDWARE

DEVELOPMENT KIT PACKAGE

  • Updated mikroSDK development kit to conform to newly added hardware stated in last paragraph
    • Added all 31 new hardware definitions

Fixes

  • Designer projects did not work for 8-bit data ports with higher nibble connections
    • e.g -> data port is PORTE pins 8:15
  • Added adequate defenders for SPI and ADC low level implementation for PIC devices
  • mikroSDK build tool description spelling fixed
  • PIC Q10 chips I2C baud rate setting
    • Sets correct baud rates now
    • Before the fix, setting 400K would result in 100K on HW
  • I2C busy bit was always high after clock init
    • Affects STM32F101 and STM32F103 series of chips
    • ERRATA page 23, paragraph 2.12.7
  • PIC32 Logger issue
    • Sending data immediatelly after logger initialization resulted in lost data
  • STM32 M7 Uart fix
    • Sending/receiving large amounts of data resulted in register overflow
  • Missing function declaration for PIC 8-bit chips
    • hal_ll_spi_master_hw_init added
  • Unable to edit ANCON3 register values for some PIC 8-bit chips if PPS Lock bit is set
  • UART general issue
    • Implemented waiting for buffers to be empty before reinitializing the module
    • UART now returns 0 if no data hs been written/read
      • Previously it returned -1
  • Fixed structure data access
    • Changed -> to . where necessary
  • Fixed pin check result variable size
  • Fixed setting pins as digital input for 50 PIC32MX chips
    • Fixed analog maps
  • STM32LxSy chips GPIO fix
    • PORTG pins didn't work as expected
  • Designer code generation was wrong for 4 inch bezel mikromedia boards
    • Touchpanel orientation was required

Improvements

  • Libraries are now separated per module
    • More efficient
    • Conserves memory
    • No need to include all libraries
      • Include only the one you need
  • Implemented selection per module
    • Now, if same set of pins is available on a different module, that module will be mapped
  • Implemented graphic library port mask selection
  • Designer template now depends on memake file and has unified code for TFT manipulation
  • SPI for PIC 8-bit chips now sets baud rate more precisely
    • Previously implemented by using hardware module dividers(2,4,8...)
  • Implemented adequate slew rate setting for PIC32 chips
    • Affects SPI module specifically
  • Removed slew rate setting for 8-bit PIC chips which don't need it
    • Code optimized further
  • SPI click board templates now include data sampling selection
    • 8-bit PIC chips
      • e.g middle,end...
  • SPI initial SCK line glitch on PIC32 chips fixed
  • Unified unused register naming in all low level sources
  • Removed excess verifications
    • Excess NULL pointer check
    • Excess pin name checks
  • Shared registers for some PIC 8-bit chips
    • Implemented for following chips
      • PIC18F65J50
      • PIC18F66J50
      • PIC18F66J55
      • PIC18F67J50
      • PIC18F85J50
      • PIC18F86J50
      • PIC18F86J55
      • PIC18F87J50
  • Added nibble control macros for all architectures
  • Added mikromedia support for PIC 32-bit chips
  • Added mikromedia support for PIC 8-bit chips

Git relevant updates

  • Added following files:
  • Added workflows ( CI/CD ):
    • Automated response to issue creation
    • Automated response to first contribution

Test examples

Added following test examples:

  • adc
    • Outputs AD conversion result on diodes or UART terminal
  • clicker_buttons
    • Defined test for MikroE™ clicker boards
  • gpio
    • Tests all GPIO functions
  • i2c
    • Tests all I2C functions
  • mikrobus
    • Tests all MikroE™ development board MikroBUS™ connections
  • pwm
    • Tests all PWM/TIM functions
  • spi
    • Tests all SPI functions
  • tft_jig
    • Test all TFT panel connections
  • tft_touch_panel
    • Tests TFT Touch panel with basic example
  • uart
    • Tests all UART functions
  • clicks
    • Tests all modules on specifically selected click boards
      • adc
        • click_ambient_7
        • click_force
        • click_hall_current_5
        • click_pressure_12
        • click_slider_2
      • gpio
        • click_4x4_rgb
        • click_cap_touch
        • click_opto_encoder_3
        • click_pll
        • click_sht1x
        • click_vibra_sense
      • i2c
        • click_6dof_imu_11
        • click_altitude_3
        • click_color_9
        • click_ecg_6
        • click_light_ranger_2
      • pwm
        • click_brushless
        • click_button_y
        • click_dc_motor_8
        • click_led_driver_6
        • click_stspin250
      • spi
        • click_bee
        • click_ccrf_2
        • click_eink_290_inch
        • click_magneto_2
        • click_oledc
      • uart
        • click_barcode
        • click_ble_8
        • click_fingerprint_2
        • click_iqrf_2
        • click_lte_iot_2

All examples have a minimum memory requirement, which is handled in each memake.txt file separately.

For more information, please refer to each example and a ReadMe.txt if existant.

Recursive build automation

Added powershell script for automated recursive SDK build.

Files added:

For more information, please refer to main script DESCRIPTION


BACK TO MAIN FILE