cc3200: Fix debug build.
* Fix a typo in the Makefile that prevented the debug build to be actually enabled when BTYPE=debug is used. * Add a missing header in modmachine.c that is used when a debug build is created.
This commit is contained in:
parent
342dc61784
commit
45f0b6ab63
@ -182,7 +182,7 @@ ifeq ($(BTYPE), release)
|
||||
CFLAGS += -DNDEBUG
|
||||
else
|
||||
ifeq ($(BTYPE), debug)
|
||||
CFLAGS += -DNDEBUG
|
||||
CFLAGS += -DDEBUG
|
||||
else
|
||||
$(error Invalid BTYPE specified)
|
||||
endif
|
||||
|
@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "py/runtime.h"
|
||||
#include "py/mphal.h"
|
||||
|
Loading…
Reference in New Issue
Block a user