Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MSP430FR5994 BOOSTXL-CC1120-90 Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Energy-Driven Computing
MSP430FR5994 BOOSTXL-CC1120-90 Library
Commits
596bf391
Commit
596bf391
authored
5 years ago
by
Edward Longman
Browse files
Options
Downloads
Patches
Plain Diff
Add the used attribute to force inlclusion of isr from library
parent
9a9d3fbb
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
source/CMakeLists.txt
+2
-5
2 additions, 5 deletions
source/CMakeLists.txt
source/lib/radio_drv/hal_types.h
+2
-2
2 additions, 2 deletions
source/lib/radio_drv/hal_types.h
source/lib/uart_drv/uart_drv.h
+2
-0
2 additions, 0 deletions
source/lib/uart_drv/uart_drv.h
with
6 additions
and
7 deletions
source/CMakeLists.txt
+
2
−
5
View file @
596bf391
...
@@ -20,11 +20,8 @@ link_directories(
...
@@ -20,11 +20,8 @@ link_directories(
add_executable
(
${
PROJECT_NAME
}
_min test/min.c lib/hal_mcu/hal_mcu.c
)
add_executable
(
${
PROJECT_NAME
}
_min test/min.c lib/hal_mcu/hal_mcu.c
)
target_link_libraries
(
${
PROJECT_NAME
}
_min uart_drv
)
target_link_libraries
(
${
PROJECT_NAME
}
_min uart_drv
)
add_executable
(
${
PROJECT_NAME
}
_min2 test/min2.c lib/hal_mcu/hal_mcu.c
add_executable
(
${
PROJECT_NAME
}
_min2 test/min2.c lib/hal_mcu/hal_mcu.c
)
lib/uart_drv/uart_drv.c
target_link_libraries
(
${
PROJECT_NAME
}
_min2 uart_drv
)
lib/uart_drv/circ_buf.c
lib/uart_drv/ee_printf.c
)
target_link_libraries
(
${
PROJECT_NAME
}
_min2
)
add_executable
(
${
PROJECT_NAME
}
_rxer test/LaunchPad_trx_main.c test/LaunchPad_trx_demo.c
)
add_executable
(
${
PROJECT_NAME
}
_rxer test/LaunchPad_trx_main.c test/LaunchPad_trx_demo.c
)
target_link_libraries
(
${
PROJECT_NAME
}
_rxer hal_mcu radio_drv
)
target_link_libraries
(
${
PROJECT_NAME
}
_rxer hal_mcu radio_drv
)
...
...
This diff is collapsed.
Click to expand it.
source/lib/radio_drv/hal_types.h
+
2
−
2
View file @
596bf391
...
@@ -232,9 +232,9 @@ typedef unsigned short istate_t;
...
@@ -232,9 +232,9 @@ typedef unsigned short istate_t;
#define FAR
#define FAR
#define NOP() __no_operation()
#define NOP() __no_operation()
#define HAL_ISR_FUNC_DECLARATION(f,v) \
#define HAL_ISR_FUNC_DECLARATION(f,v) \
void __attribute__((interrupt(v ## _VECTOR))) f(void)
void __attribute__((interrupt(v ## _VECTOR)
,used
)) f(void)
#define HAL_ISR_FUNC_PROTOTYPE(f,v) \
#define HAL_ISR_FUNC_PROTOTYPE(f,v) \
void __attribute__((interrupt(v ## _VECTOR))) f(void)
void __attribute__((interrupt(v ## _VECTOR)
,used
)) f(void)
#define HAL_ISR_FUNCTION(f,v) \
#define HAL_ISR_FUNCTION(f,v) \
HAL_ISR_FUNC_PROTOTYPE(f,v); HAL_ISR_FUNC_DECLARATION(f,v)
HAL_ISR_FUNC_PROTOTYPE(f,v); HAL_ISR_FUNC_DECLARATION(f,v)
...
...
This diff is collapsed.
Click to expand it.
source/lib/uart_drv/uart_drv.h
+
2
−
0
View file @
596bf391
...
@@ -160,3 +160,5 @@ void uart_reset_rx_end_of_str(void);
...
@@ -160,3 +160,5 @@ void uart_reset_rx_end_of_str(void);
* Enable and disable echoing of all RX'ed trafic to the TX
* Enable and disable echoing of all RX'ed trafic to the TX
* ------------------------------------------------------------*/
* ------------------------------------------------------------*/
void
uart_drv_toggle_echo
(
void
);
void
uart_drv_toggle_echo
(
void
);
HAL_ISR_FUNC_PROTOTYPE
(
eUSCI_isr
,
EUSCI_A0
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment