kendryte / kendryte-freertos-sdk

This project is no longer maintained Not recommended for product development.
Apache License 2.0
203 stars 69 forks source link

hello_world doesn't compile #49

Open nalzok opened 5 years ago

nalzok commented 5 years ago

BUG REPORT

Expected behavior

hello_world example compiles

Actual behavior

> make
Scanning dependencies of target lwipcore
[  0%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/init.c.obj
[  1%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/def.c.obj
[  1%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/dns.c.obj
[  2%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/inet_chksum.c.obj
[  3%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ip.c.obj
[  3%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/mem.c.obj
[  4%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/memp.c.obj
[  5%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/netif.c.obj
[  5%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/pbuf.c.obj
[  6%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/raw.c.obj
[  6%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/stats.c.obj
[  7%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/sys.c.obj
[  8%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/altcp.c.obj
[  8%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/altcp_alloc.c.obj
[  9%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/altcp_tcp.c.obj
[ 10%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/tcp.c.obj
[ 10%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/tcp_in.c.obj
[ 11%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/tcp_out.c.obj
[ 11%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/timeouts.c.obj
[ 12%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/udp.c.obj
[ 13%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/arch/sys_arch.c.obj
[ 13%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/autoip.c.obj
[ 14%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/dhcp.c.obj
[ 14%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/etharp.c.obj
[ 15%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/icmp.c.obj
[ 16%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/igmp.c.obj
[ 16%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/ip4_frag.c.obj
[ 17%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/ip4.c.obj
[ 18%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv4/ip4_addr.c.obj
[ 18%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/dhcp6.c.obj
[ 19%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/ethip6.c.obj
[ 19%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/icmp6.c.obj
[ 20%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/inet6.c.obj
[ 21%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/ip6.c.obj
[ 21%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/ip6_addr.c.obj
[ 22%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/ip6_frag.c.obj
[ 22%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/mld6.c.obj
[ 23%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/core/ipv6/nd6.c.obj
[ 24%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/api_lib.c.obj
[ 24%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/api_msg.c.obj
[ 25%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/err.c.obj
[ 26%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/if_api.c.obj
[ 26%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/netbuf.c.obj
[ 27%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/netdb.c.obj
[ 27%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/netifapi.c.obj
[ 28%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/sockets.c.obj
[ 29%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/api/tcpip.c.obj
[ 29%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ethernet.c.obj
[ 30%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/bridgeif.c.obj
[ 30%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/bridgeif_fdb.c.obj
[ 31%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/slipif.c.obj
[ 32%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/lowpan6_common.c.obj
[ 32%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/lowpan6.c.obj
[ 33%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/lowpan6_ble.c.obj
[ 34%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/zepif.c.obj
[ 34%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/auth.c.obj
[ 35%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/ccp.c.obj
[ 35%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/chap-md5.c.obj
[ 36%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/chap_ms.c.obj
[ 37%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/chap-new.c.obj
[ 37%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/demand.c.obj
[ 38%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/eap.c.obj
[ 39%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/ecp.c.obj
[ 39%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/eui64.c.obj
[ 40%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/fsm.c.obj
[ 40%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/ipcp.c.obj
[ 41%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/ipv6cp.c.obj
[ 42%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/lcp.c.obj
[ 42%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/magic.c.obj
[ 43%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/mppe.c.obj
[ 43%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/multilink.c.obj
[ 44%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/ppp.c.obj
[ 45%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/pppapi.c.obj
[ 45%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/pppcrypt.c.obj
[ 46%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/pppoe.c.obj
[ 47%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/pppol2tp.c.obj
[ 47%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/pppos.c.obj
[ 48%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/upap.c.obj
[ 48%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/utils.c.obj
[ 49%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/vj.c.obj
[ 50%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/polarssl/arc4.c.obj
[ 50%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/polarssl/des.c.obj
[ 51%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/polarssl/md4.c.obj
[ 51%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/polarssl/md5.c.obj
[ 52%] Building C object third_party/lwip/CMakeFiles/lwipcore.dir/src/netif/ppp/polarssl/sha1.c.obj
[ 53%] Linking C static library liblwipcore.a
[ 53%] Built target lwipcore
Scanning dependencies of target hal
[ 53%] Building C object SDK/hal/CMakeFiles/hal.dir/clint.c.obj
[ 54%] Building C object SDK/hal/CMakeFiles/hal.dir/fpioa.c.obj
[ 55%] Building C object SDK/hal/CMakeFiles/hal.dir/sysctl.c.obj
[ 55%] Building C object SDK/hal/CMakeFiles/hal.dir/uarths.c.obj
[ 56%] Building C object SDK/hal/CMakeFiles/hal.dir/utility.c.obj
[ 56%] Linking C static library libhal.a
[ 56%] Built target hal
Scanning dependencies of target fatfs
[ 57%] Building C object third_party/fatfs/CMakeFiles/fatfs.dir/source/ff.c.obj
[ 58%] Building C object third_party/fatfs/CMakeFiles/fatfs.dir/source/ffsystem.c.obj
[ 58%] Building C object third_party/fatfs/CMakeFiles/fatfs.dir/source/ffunicode.c.obj
[ 59%] Linking C static library libfatfs.a
[ 59%] Built target fatfs
Scanning dependencies of target freertos
[ 60%] Building C object SDK/freertos/CMakeFiles/freertos.dir/core_sync.c.obj
[ 60%] Building C object SDK/freertos/CMakeFiles/freertos.dir/croutine.c.obj
[ 61%] Building C object SDK/freertos/CMakeFiles/freertos.dir/event_groups.c.obj
[ 61%] Building CXX object SDK/freertos/CMakeFiles/freertos.dir/kernel/devices.cpp.obj
[ 62%] Building CXX object SDK/freertos/CMakeFiles/freertos.dir/kernel/driver_impl.cpp.obj
[ 63%] Building CXX object SDK/freertos/CMakeFiles/freertos.dir/kernel/network/network.cpp.obj
[ 63%] Building CXX object SDK/freertos/CMakeFiles/freertos.dir/kernel/network/socket.cpp.obj
[ 64%] Building CXX object SDK/freertos/CMakeFiles/freertos.dir/kernel/storage/filesystem.cpp.obj
[ 65%] Building C object SDK/freertos/CMakeFiles/freertos.dir/list.c.obj
[ 65%] Building C object SDK/freertos/CMakeFiles/freertos.dir/locks.c.obj
[ 66%] Building C object SDK/freertos/CMakeFiles/freertos.dir/os_entry.c.obj
[ 66%] Building C object SDK/freertos/CMakeFiles/freertos.dir/portable/heap_4.c.obj
[ 67%] Building C object SDK/freertos/CMakeFiles/freertos.dir/portable/port.c.obj
[ 68%] Building C object SDK/freertos/CMakeFiles/freertos.dir/pthread.c.obj
[ 68%] Building C object SDK/freertos/CMakeFiles/freertos.dir/queue.c.obj
[ 69%] Building C object SDK/freertos/CMakeFiles/freertos.dir/stream_buffer.c.obj
[ 69%] Building C object SDK/freertos/CMakeFiles/freertos.dir/tasks.c.obj
[ 70%] Building C object SDK/freertos/CMakeFiles/freertos.dir/timers.c.obj
[ 71%] Linking C static library libfreertos.a
[ 71%] Built target freertos
Scanning dependencies of target bsp
[ 71%] Building C object SDK/bsp/CMakeFiles/bsp.dir/config/pin_cfg.c.obj
[ 72%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/aes.cpp.obj
[ 72%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/dmac.cpp.obj
[ 73%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/dvp.cpp.obj
[ 74%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/fft.cpp.obj
[ 74%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/gpio.cpp.obj
[ 75%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/gpiohs.cpp.obj
[ 75%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/i2c.cpp.obj
[ 76%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/i2s.cpp.obj
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/bsp/device/i2s.cpp: In member function 'virtual void k_i2s_driver::config_as_capture(const audio_format_t&, size_t, i2s_align_mode_t, uint32_t)':
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/bsp/device/i2s.cpp:269:30: warning: 'block_align' may be used uninitialized in this function [-Wmaybe-uninitialized]
         session_.block_align = block_align;
         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/bsp/device/i2s.cpp:251:36: warning: 'wlen' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 u_tcr.rcr_tcr.wlen = wlen;
                 ~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/bsp/device/i2s.cpp: In member function 'virtual void k_i2s_driver::config_as_render(const audio_format_t&, size_t, i2s_align_mode_t, uint32_t)':
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/bsp/device/i2s.cpp:97:18: warning: 'dma_divide16' may be used uninitialized in this function [-Wmaybe-uninitialized]
         uint32_t dma_divide16;
                  ^~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/bsp/device/i2s.cpp:162:30: warning: 'block_align' may be used uninitialized in this function [-Wmaybe-uninitialized]
         session_.block_align = block_align;
         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/bsp/device/i2s.cpp:144:36: warning: 'wlen' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 u_tcr.rcr_tcr.wlen = wlen;
                 ~~~~~~~~~~~~~~~~~~~^~~~~~
[ 77%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/kpu.cpp.obj
[ 77%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/plic.cpp.obj
[ 78%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/pwm.cpp.obj
[ 79%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/registry.cpp.obj
[ 79%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/rtc.cpp.obj
[ 80%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/sccb.cpp.obj
[ 80%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/sha256.cpp.obj
[ 81%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/spi.cpp.obj
[ 82%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/timer.cpp.obj
[ 82%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/uart.cpp.obj
[ 83%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/device/wdt.cpp.obj
[ 83%] Building C object SDK/bsp/CMakeFiles/bsp.dir/dump.c.obj
[ 84%] Building C object SDK/bsp/CMakeFiles/bsp.dir/entry_user.c.obj
[ 85%] Building C object SDK/bsp/CMakeFiles/bsp.dir/except.c.obj
[ 85%] Building C object SDK/bsp/CMakeFiles/bsp.dir/interrupt.c.obj
[ 86%] Building C object SDK/bsp/CMakeFiles/bsp.dir/printf.c.obj
[ 87%] Building C object SDK/bsp/CMakeFiles/bsp.dir/sleep.c.obj
[ 87%] Building C object SDK/bsp/CMakeFiles/bsp.dir/syscalls.c.obj
[ 88%] Building CXX object SDK/bsp/CMakeFiles/bsp.dir/syscalls/syscalls.cpp.obj
[ 88%] Building C object SDK/bsp/CMakeFiles/bsp.dir/crt.S.obj
[ 89%] Linking C static library libbsp.a
[ 89%] Built target bsp
Scanning dependencies of target drivers
[ 90%] Building CXX object SDK/drivers/CMakeFiles/drivers.dir/src/misc/ws2812b/ws2812b.cpp.obj
[ 90%] Building CXX object SDK/drivers/CMakeFiles/drivers.dir/src/network/dm9051.cpp.obj
[ 91%] Building CXX object SDK/drivers/CMakeFiles/drivers.dir/src/storage/sdcard.cpp.obj
[ 91%] Linking C static library libdrivers.a
[ 91%] Built target drivers
Scanning dependencies of target posix
[ 91%] Building CXX object SDK/posix/CMakeFiles/posix.dir/ioctl.cpp.obj
[ 92%] Building CXX object SDK/posix/CMakeFiles/posix.dir/ip4_addr.cpp.obj
[ 93%] Building CXX object SDK/posix/CMakeFiles/posix.dir/memory.cpp.obj
[ 93%] Building CXX object SDK/posix/CMakeFiles/posix.dir/netdb.cpp.obj
[ 94%] Building CXX object SDK/posix/CMakeFiles/posix.dir/posix_conf.cpp.obj
[ 94%] Building CXX object SDK/posix/CMakeFiles/posix.dir/pthread.cpp.obj
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:30:13: error: 'pthread_cond_init' was not declared in this scope
     (void *)pthread_cond_init,
             ^~~~~~~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:30:13: note: suggested alternative: 'pthread_cond_t'
     (void *)pthread_cond_init,
             ^~~~~~~~~~~~~~~~~
             pthread_cond_t
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:31:13: error: 'pthread_mutex_init' was not declared in this scope
     (void *)pthread_mutex_init,
             ^~~~~~~~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:31:13: note: suggested alternative: 'pthread_mutex_t'
     (void *)pthread_mutex_init,
             ^~~~~~~~~~~~~~~~~~
             pthread_mutex_t
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:32:13: error: 'pthread_self' was not declared in this scope
     (void *)pthread_self
             ^~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:32:13: note: suggested alternative: 'pthread_key_t'
     (void *)pthread_self
             ^~~~~~~~~~~~
             pthread_key_t
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:39:1: warning: missing initializer for member 'pthread_attr_t::is_initialized' [-Wmissing-field-initializers]
 };
 ^
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:39:1: warning: missing initializer for member 'pthread_attr_t::stackaddr' [-Wmissing-field-initializers]
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:39:1: warning: missing initializer for member 'pthread_attr_t::contentionscope' [-Wmissing-field-initializers]
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:39:1: warning: missing initializer for member 'pthread_attr_t::inheritsched' [-Wmissing-field-initializers]
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:39:1: warning: missing initializer for member 'pthread_attr_t::schedpolicy' [-Wmissing-field-initializers]
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp: In function 'int pthread_join(pthread_t, void**)':
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:186:27: error: 'pthread_self' was not declared in this scope
         if (pthread_equal(pthread_self(), pthread) != 0)
                           ^~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:186:27: note: suggested alternative: 'pthread_join'
         if (pthread_equal(pthread_self(), pthread) != 0)
                           ^~~~~~~~~~~~
                           pthread_join
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:186:13: error: 'pthread_equal' was not declared in this scope
         if (pthread_equal(pthread_self(), pthread) != 0)
             ^~~~~~~~~~~~~
/Users/nalzok/Developer/kendryte-freertos-sdk/lib/posix/pthread.cpp:186:13: note: suggested alternative: 'thread_local'
         if (pthread_equal(pthread_self(), pthread) != 0)
             ^~~~~~~~~~~~~
             thread_local
make[2]: *** [SDK/posix/CMakeFiles/posix.dir/pthread.cpp.obj] Error 1
make[1]: *** [SDK/posix/CMakeFiles/posix.dir/all] Error 2
make: *** [all] Error 2

Test code

#include <stdio.h>

int main()
{
    puts("Hello World\n");
    while (1)
        ;
}

Document version

https://github.com/kendryte/kendryte-freertos-sdk/commit/f4d3bd987f4350ba811ba002513437f6d9cbcc9f

Hardware

Maix M1W

System

macOS Mojave

JerryCui commented 5 years ago

@nalzok Have u resolve this issue? I got the same on OS X 10.15.1