Skip to content

Commit

Permalink
Updated regexes for dsPIC MCUs
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Jun 28, 2024
1 parent 0a3f558 commit f8b9821
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dsPIC/mikroC/cmake/dspic/dspic33.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(${MCU_NAME} MATCHES "^dsPIC33(.+)$")
if(${MCU_NAME} MATCHES "^dsPIC33[^E](.+)$")
set(SYSTEM_LIB_SOURCE "system/src/__Lib_System.c")
set(DELAY_SOURCE "delay/dspic/__lib_delays.c")
set(SYSTEM_LIB_INCLUDE_DIR "")
Expand Down
2 changes: 1 addition & 1 deletion dsPIC/mikroC/cmake/dspic/dspic33e.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(${MCU_NAME} MATCHES "^dsPIC33(.+)$")
if(${MCU_NAME} MATCHES "^dsPIC33E(.+)$")
set(SYSTEM_LIB_SOURCE "system/src/__Lib_System.c")
set(DELAY_SOURCE "delay/dspic_ep/__lib_delays.c")
set(SYSTEM_LIB_INCLUDE_DIR "")
Expand Down
2 changes: 1 addition & 1 deletion dsPIC/mikroC/cmake/dspic/pic24.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(${MCU_NAME} MATCHES "^PIC24(.+)$")
if(${MCU_NAME} MATCHES "^PIC24[^E](.+)$")
set(SYSTEM_LIB_SOURCE "system/src/__Lib_System.c")
set(DELAY_SOURCE "delay/dspic/__lib_delays.c")
set(SYSTEM_LIB_INCLUDE_DIR "")
Expand Down
2 changes: 1 addition & 1 deletion dsPIC/mikroC/cmake/dspic/pic24e.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(${MCU_NAME} MATCHES "^PIC24(.+)$")
if(${MCU_NAME} MATCHES "^PIC24E(.+)$")
set(SYSTEM_LIB_SOURCE "system/src/__Lib_System.c")
set(DELAY_SOURCE "delay/dspic_ep/__lib_delays.c")
set(SYSTEM_LIB_INCLUDE_DIR "")
Expand Down

0 comments on commit f8b9821

Please sign in to comment.