1.Install gcc-arm-none-eabi https://devzone.nordicsemi.com/tutorials/7/This link shows that development with GCC and Eclipse, As it say we should download .extract and configure arm-none-eabi-gcc. But I find it's hard to download arm-none-eabi-gcc in
http://segger.com/jlink-real-time-terminal.html Real Time Terminal SEGGER's Real Time Terminal (RTT) is the new technology for interactive user I/O in embedded applications.With RTT it is possible to output information from the target microcontroller
Segger RTT的使用 一般arm系统中,如何通过电脑键盘和显示器同mcu进行交互最有效的有两种形式:arm7的semihost,cm时代的traceswo.现在jlink推出了颇具特色的rtt(无需SWO引脚,且速度更快)三者的比较如下图: RTT( Real Time Terminal)是SEGGER公司在jlink V4.90之后,针对Cortex-M和RX系列推出的嵌入式应用与用户进行交互的实时终端.MCU通过J-link与电脑连接并将打印信息输出到电脑上,电脑同时可以通过键盘等
代码配置 // <e> NRF_LOG_BACKEND_SERIAL_USES_UART - If enabled data is printed over UART //========================================================== #ifndef NRF_LOG_BACKEND_SERIAL_USES_UART #define NRF_LOG_BACKEND_SERIAL_USES_UART 0 //选择为0 #endif #if NR