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
|
CFLAGS += -DNDEBUG
|
||||||
else
|
else
|
||||||
ifeq ($(BTYPE), debug)
|
ifeq ($(BTYPE), debug)
|
||||||
CFLAGS += -DNDEBUG
|
CFLAGS += -DDEBUG
|
||||||
else
|
else
|
||||||
$(error Invalid BTYPE specified)
|
$(error Invalid BTYPE specified)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/mphal.h"
|
#include "py/mphal.h"
|
||||||
|
|
Loading…
Reference in New Issue