File tree Expand file tree Collapse file tree 5 files changed +10
-12
lines changed
Expand file tree Collapse file tree 5 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 8585#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
8686#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 64 )
8787#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 16384 ) )
88- #define configMAX_TASK_NAME_LEN ( 12 )
88+ #define configMAX_TASK_NAME_LEN ( 8 )
8989#define configUSE_TRACE_FACILITY 0
9090#define configUSE_16_BIT_TICKS 0
9191#define configIDLE_SHOULD_YIELD 1
@@ -151,9 +151,4 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
151151version. */
152152#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
153153
154- #ifdef DEBUG
155- #include "debug.h"
156- #define configASSERT ( x ) ASSERT( x )
157- #endif
158-
159154#endif /* FREERTOS_CONFIG_H */
Original file line number Diff line number Diff line change 6262 * THE SOFTWARE.
6363 */
6464
65- __stack_size__ = 1024 ; /* interrupts are handled using this stack */
66- __min_heap_size__ = 4K ;
65+ __stack_size__ = 1K ; /* interrupts are handled using this stack */
66+ __min_heap_size__ = 6K ;
6767__rtos_heap_size = 16K;
6868
6969MEMORY
Original file line number Diff line number Diff line change @@ -186,6 +186,9 @@ $(BUILD)/stmhal/%.o: CFLAGS += -Os
186186$(BUILD ) /telnet/% .o : CFLAGS += -Os
187187$(BUILD ) /util/% .o : CFLAGS += -Os
188188$(BUILD ) /pins.o : CFLAGS += -Os
189+ $(BUILD ) /main.o : CFLAGS += -Os
190+ $(BUILD ) /mptask.o : CFLAGS += -Os
191+ $(BUILD ) /servertask.o : CFLAGS += -Os
189192else
190193$(error Invalid BTYPE specified)
191194endif
@@ -216,7 +219,7 @@ PREFIX_FILE = boards/cc3200_prefix.c
216219GEN_PINS_SRC = $(BUILD ) /pins.c
217220GEN_PINS_HDR = $(HEADER_BUILD ) /pins.h
218221GEN_PINS_QSTR = $(BUILD ) /pins_qstr.h
219-
222+
220223# Making OBJ use an order-only dependency on the generated pins.h file
221224# has the side effect of making the pins.h file before we actually compile
222225# any of the objects. The normal dependency generation will deal with the
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ void HAL_SystemInit (void) {
8888
8989 // in the case of a release image, these steps are already performed by
9090 // the bootloader so we can skip it and gain some code space
91- #ifndef NDEBUG
91+ #ifdef DEBUG
9292 MAP_IntMasterEnable ();
9393 PRCMCC3200MCUInit ();
9494#endif
Original file line number Diff line number Diff line change @@ -145,13 +145,13 @@ bool uart_init2(pyb_uart_obj_t *self) {
145145 self -> reg = UARTA0_BASE ;
146146 uartPerh = PRCM_UARTA0 ;
147147 MAP_UARTIntRegister (UARTA0_BASE , UART0IntHandler );
148- MAP_IntPrioritySet (INT_UARTA0 , INT_PRIORITY_LVL_7 );
148+ MAP_IntPrioritySet (INT_UARTA0 , INT_PRIORITY_LVL_3 );
149149 break ;
150150 case PYB_UART_2 :
151151 self -> reg = UARTA1_BASE ;
152152 uartPerh = PRCM_UARTA1 ;
153153 MAP_UARTIntRegister (UARTA1_BASE , UART1IntHandler );
154- MAP_IntPrioritySet (INT_UARTA1 , INT_PRIORITY_LVL_7 );
154+ MAP_IntPrioritySet (INT_UARTA1 , INT_PRIORITY_LVL_3 );
155155 break ;
156156 default :
157157 return false;
You can’t perform that action at this time.
0 commit comments