Skip to content

Commit

Permalink
2.9.0 Changes
Browse files Browse the repository at this point in the history
1. **[New Features](#290-new-features)**
2. **[Improvements](#290-improvements)**
3. **[Fixes](#290-fixes)**
4. **[NEW HARDWARE](#290-new-hardware)**

`2.9.0` New Features

+ Added support for USB by implementing an already tested and community driven project - [tinyUSB](https://github.com/hathach/tinyusb)
  + Lightweight and efficient, designed to be small in size and highly efficient in terms of memory and CPU usage
  + All GCC MCUs are supported
    + `STM32`
    + `NXP`
    + `TIVA`
    + `GD32`
  + Following classes added
    + `audio`
    + `bth`
    + `cdc`
    + `dfu`
    + `hid`
    + `midi`
    + `msc`
    + `net`
    + `usbtmc`
    + `vendor`
    + `video`
+ Added support for ETHERNET by implementing an open-source TCP/IP protocol stack library designed for embedded systems and IoT - [CycloneTCP](https://github.com/Oryx-Embedded/CycloneTCP/tree/master)
  + Lightweight and resource-efficient in terms of memory and CPU usage
  + All GCC MCUs are supported
    + `STM32`
    + `NXP`
    + `TIVA`
    + `GD32`
  + Following modules added
    + `coap`
    + `dhcp`
    + `dhcpv6`
    + `dns`
    + `dns_sd`
    + `echo`
    + `ftp`
    + `http`
    + `icecast`
    + `igmp`
    + `ipv4`
    + `ipv6`
    + `lldp`
    + `llmnr`
    + `mdns`
    + `mibs`
    + `modbus`
    + `mqtt`
    + `mqtt_sn`
    + `netbios`
    + `ppp`
    + `smtp`
    + `snmp`
    + `sntp`
    + `syslog`
    + `tftp`
    + `web_socket`
+ Interrupt control added for all architectures and MCUs
+ Added HW initialization sequences for MikroE hardware
  + Sequences added for `USB` and `ETHERNET`
  + Files added as inline interface libraries in `./middleware/hw`
    + **8** files in total for `ETHERNET`
    + **16** files in total for `USB`
+ Added following test examples
  + **USB**
    + `cdc_msc`
    + `hid_generic_inout`
    + `midi`
  + **ETHERNET**
    + `http_client`
    + `ftp_client`

`2.9.0` Improvements

+ SPI low level implementation updated for all architectures
  + Low level `write` and `read` APIs transfer counter changed from `uint16_t` to `size_t`
    + Results in bigger buffers available for single data transfer

`2.9.0` Fixes

+ Fixed pins for USB_UART defined in `dip_socket.h` for packages DIP20 and DIP28 for EasyPIC v8 board
  + `USB_UART_TX` changed from `PC4` to `PC6`
  + `USB_UART_RX` changed from `PC5` to `PC7`
+ Fixed inadequate structure access in following libraries
  + `tft7`
  + `ili9341`
  + `tp_mikroe`

`2.9.0` NEW HARDWARE

+ [SiBRAIN for ATmega2560](https://www.mikroe.com/sibrain-for-atmega2560)
+ [SiBRAIN for ATmega1280](https://www.mikroe.com/sibrain-for-atmega1280)
+ [Clicker 4 for STM32F4](https://www.mikroe.com/clicker-4-for-stm32f4)
  • Loading branch information
MarkoZiv committed Oct 5, 2023
1 parent 076ab1c commit b8098fb
Show file tree
Hide file tree
Showing 1,214 changed files with 1,247,969 additions and 1,580 deletions.
113 changes: 113 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

**VERSIONS:**

+ **[v2.9.0](#v290)**
+ **[v2.8.0](#v280)**
+ **[v2.7.2](#v272)**
+ **[v2.7.1](#v271)**
Expand All @@ -25,6 +26,118 @@
---
---

## `v2.9.0`

+ released: 2023-10-05

### `2.9.0` Changes

1. **[New Features](#290-new-features)**
2. **[Improvements](#290-improvements)**
3. **[Fixes](#290-fixes)**
4. **[NEW HARDWARE](#290-new-hardware)**

#### `2.9.0` New Features

+ Added support for USB by implementing an already tested and community driven project - [tinyUSB](https://github.com/hathach/tinyusb)
+ Lightweight and efficient, designed to be small in size and highly efficient in terms of memory and CPU usage
+ All GCC MCUs are supported
+ `STM32`
+ `NXP`
+ `TIVA`
+ `GD32`
+ Following classes added
+ `audio`
+ `bth`
+ `cdc`
+ `dfu`
+ `hid`
+ `midi`
+ `msc`
+ `net`
+ `usbtmc`
+ `vendor`
+ `video`
+ Added support for ETHERNET by implementing an open-source TCP/IP protocol stack library designed for embedded systems and IoT - [CycloneTCP](https://github.com/Oryx-Embedded/CycloneTCP/tree/master)
+ Lightweight and resource-efficient in terms of memory and CPU usage
+ All GCC MCUs are supported
+ `STM32`
+ `NXP`
+ `TIVA`
+ `GD32`
+ Following modules added
+ `coap`
+ `dhcp`
+ `dhcpv6`
+ `dns`
+ `dns_sd`
+ `echo`
+ `ftp`
+ `http`
+ `icecast`
+ `igmp`
+ `ipv4`
+ `ipv6`
+ `lldp`
+ `llmnr`
+ `mdns`
+ `mibs`
+ `modbus`
+ `mqtt`
+ `mqtt_sn`
+ `netbios`
+ `ppp`
+ `smtp`
+ `snmp`
+ `sntp`
+ `syslog`
+ `tftp`
+ `web_socket`
+ Interrupt control added for all architectures and MCUs
+ Added HW initialization sequences for MikroE hardware
+ Sequences added for `USB` and `ETHERNET`
+ Files added as inline interface libraries in `./middleware/hw`
+ **8** files in total for `ETHERNET`
+ **16** files in total for `USB`
+ Added following test examples
+ **USB**
+ `cdc_msc`
+ `hid_generic_inout`
+ `midi`
+ **ETHERNET**
+ `http_client`
+ `ftp_client`

#### `2.9.0` Improvements

+ SPI low level implementation updated for all architectures
+ Low level `write` and `read` APIs transfer counter changed from `uint16_t` to `size_t`
+ Results in bigger buffers available for single data transfer

#### `2.9.0` Fixes

+ Fixed pins for USB_UART defined in `dip_socket.h` for packages DIP20 and DIP28 for EasyPIC v8 board
+ `USB_UART_TX` changed from `PC4` to `PC6`
+ `USB_UART_RX` changed from `PC5` to `PC7`
+ Fixed inadequate structure access in following libraries
+ `tft7`
+ `ili9341`
+ `tp_mikroe`

#### `2.9.0` NEW HARDWARE

+ [SiBRAIN for ATmega2560](https://www.mikroe.com/sibrain-for-atmega2560)
+ [SiBRAIN for ATmega1280](https://www.mikroe.com/sibrain-for-atmega1280)
+ [Clicker 4 for STM32F4](https://www.mikroe.com/clicker-4-for-stm32f4)

---
**[BACK TO TOP OF 2.9.0](#v290)**

---
**[BACK TO TOP](#changelog)**

---

## `v2.8.0`

+ released: 2023-07-20
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## ./CMakeLists.txt
cmake_minimum_required(VERSION 3.11)
if (${TOOLCHAIN_LANGUAGE} MATCHES "MikroC")
project(MikroSDK VERSION 2.8.0 LANGUAGES MikroC)
project(MikroSDK VERSION 2.9.0 LANGUAGES MikroC)
else()
project(MikroSDK VERSION 2.8.0 LANGUAGES C ASM)
project(MikroSDK VERSION 2.9.0 LANGUAGES C ASM)
find_package(MikroC.Core)
add_compile_options("-fms-extensions")
endif()
Expand All @@ -12,7 +12,7 @@ set(CMAKE_STATIC_LIBRARY_PREFIX "")

list(APPEND CMAKE_MODULE_PATH "${MikroSDK_SOURCE_DIR}/cmake")

#Build Tft modules by default if not specified differently
# Build Tft modules by default if not specified differently
if (NOT DEFINED MSDK_BUILD_TFT_MODULES)
set(MSDK_BUILD_TFT_MODULES TRUE)
endif()
Expand Down
146 changes: 73 additions & 73 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
education, socio-economic status, nationality, personal appearance, race,
religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at {{ email }}. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
education, socio-economic status, nationality, personal appearance, race,
religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at {{ email }}. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org
Loading

0 comments on commit b8098fb

Please sign in to comment.