embeded/Cortex-M3 STM2026. 3. 6. 10:33

이런식으로 코드가 보이길래 했더니 실행이 안되서 디버거 물려보니

그냥 먼가.. 무한루프만 돌고 원하는 곳의 코드가 실행이 되지 않길래

/* USER CODE BEGIN 1 */
typedef  void (*pFunction)(void);
uint32_t JumpAddress;
void (*Jump_To_Application)();
/* USER CODE END 1 */

/* USER CODE BEGIN 2 */
  if (HAL_GPIO_ReadPin(Firmup_Pin_GPIO_Port, Firmup_Pin_Pin) != GPIO_PIN_RESET)
  {
    if (((*(__IO uint32_t*)USBD_DFU_APP_DEFAULT_ADD - 1) & 0x2FFFB000 ) == 0x20000000)
    {
      JumpAddress = *(__IO uint32_t*) (USBD_DFU_APP_DEFAULT_ADD + 4);
      Jump_To_Application = (pFunction) JumpAddress;
      __set_MSP(*(__IO uint32_t*) USBD_DFU_APP_DEFAULT_ADD);
      Jump_To_Application();
    }
  }
  MX_USB_DEVICE_Init();
  /* USER CODE END 2 */

[링크 : https://www.os4all.com/69]

 

먼가 더 필요한거 같아서 검색!

​1. 링커스크립트에서 인터럽트벡터가 있는 .isr_vector 섹션의 위치를 수정
2. SystemInit() 함수에서 SCB->VTOR 레지스터를 변경하고자 하는 섹션의 위치로 수정

SCB->VTOR = (uint32_t)&__isr_vector_addr;

[링크 : https://m.blog.naver.com/chcbaram/222580261732]

[링크 : https://m.blog.naver.com/chcbaram/221347218232]

 

먼가 초기화 하면서 손대는게 점점 많아지는 느낌..

아무튼 스택포인터를 옮겨주고 isr 테이블의 리셋 핸들러를 실행해줌으로서 초기화 하고 전체 프로그램을 다시 돌리는 구조인 듯.

void JumpToBootloader(void) {
    // Deinit HAL and Clocks
    HAL_DeInit();
    HAL_RCC_DeInit();
    
    // Disable all interrupts
    __disable_irq();

    // Disable Systick
    SysTick->CTRL = 0;
    SysTick->LOAD = 0;
    SysTick->VAL = 0;

    // Disable interrupts and clear pending ones
    for (size_t i = 0; i < sizeof(NVIC->ICER)/sizeof(NVIC->ICER[0]); i++) {
        NVIC->ICER[i]=0xFFFFFFFF;
        NVIC->ICPR[i]=0xFFFFFFFF;
    }

    // Re-enable interrupts
    __enable_irq();

    // Map Bootloader (system flash) memory to 0x00000000. This is STM32 family dependant.
    __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH();
    
    // Set embedded bootloader vector table base offset
    WRITE_REG(SCB->VTOR, SCB_VTOR_TBLOFF_Msk & 0x00000000);

    // Switch to Main Stack Pointer (in case it was using the Process Stack Pointer)
    __set_CONTROL(0);
    
    // Instruction synchronization barrier
    __ISB();

    // Set Main Stack Pointer to the Bootloader defined value.
    __set_MSP(BOOTLOADER_VECTOR_TABLE->stack_pointer);

    __DSB(); // Data synchronization barrier
    __ISB(); // Instruction synchronization barrier

    // Jump to Bootloader Reset Handler
    BOOTLOADER_VECTOR_TABLE->reset_handler();
    
    // The next instructions will not be reached
    while (1){}
}

[링크 : https://gist.github.com/gonzabrusco/fd47e89e4c6fb302fc54b83637a3a101

[링크 : https://blog.naver.com/alfee0/224043194861]

 

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32cubeide cpp 변환이후 generate code  (0) 2026.02.25
mbed + stm32cube hal...?  (0) 2026.02.23
Mbed studio on ubuntu 22.04  (0) 2026.02.23
stm32f103c8t6 cpp std::cout 실패  (0) 2026.02.18
stm32 rtc tamper  (0) 2026.01.29
Posted by 구차니
embeded/Cortex-M3 STM2026. 2. 25. 16:39

어.. 그냥 얘네는 먼가 하나씩 엇박인 느낌이냐..

CubeIDE 에서 해당 프로젝트를 cpp로 바꾸어도

CubeMX 로 생성되는 파일은 main.c로 나온다. -_-

그냥 알아서(?) 복사해서 넣던가, 아니면 cpp를 c로 바꾸고 generate code 해주던가

영 귀찮네..

 

[링크 : https://community.st.com/t5/stm32cubemx-mcus/generating-c-projects-with-stm32cubemx/td-p/53253]

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32 다른 영역으로 점프(부트로더)  (0) 2026.03.06
mbed + stm32cube hal...?  (0) 2026.02.23
Mbed studio on ubuntu 22.04  (0) 2026.02.23
stm32f103c8t6 cpp std::cout 실패  (0) 2026.02.18
stm32 rtc tamper  (0) 2026.01.29
Posted by 구차니
embeded/Cortex-M3 STM2026. 2. 23. 21:58

[링크 : https://os.mbed.com/forum/mbed/topic/33580/]

[링크 : https://m.blog.naver.com/rlackd93/222449859004]

 

대충 본걸로는 두 개 같이 정상적(?)으로 사용하는건 쉽지않거나 사실상 불가능한 수준?

 

가능 + 방향

일단 mbed 는 cpp 이고

stm32 hal은 c로 되어있는데 cpp 컴파일러에서 extern c를 통해서 c를 끌어올수 있으니

mbed에서 stm32 hal을 끌어올수는 있다 정도?

 

차이점

arm 의 레지스터를 접근해서 설정하도록 구현되어 있어서

mbed hal과 stm32 hal은 코드레벨에서 호환되지 않는다.

서로 관리하는 구조체도 달라서 두개를 무작정 쓰다 보면 충돌나기 쉽고

isr이 관련될 경우 mbed쪽은 다시 덮어 써버리면서 stm32 hal쪽이 정상작동하지 않게 될 가능성이 높아 보인다.

 

추가로 라이브러리 레벨에서는.. mbed가 cpp를 써서 그런가

isr을 런타임중에 교체 가능하도록 구성되어 있어서 이걸 stm32 hal로 구현하려면 어우..

함수 포인터로 비슷하게 할순 있겠지만 아무튼.. 제법 깊게 짱박혀 있어서 구현해보려면 좀 더 깊숙히 봐야할 것 같다.

mbed 예제보다가 가장 신기했던 타이머 이벤트 추가하는 Timeout 클래스

#include "mbed.h"
Timeout response;
DigitalIn button (p14);
DigitalOut led1(LED1);
DigitalOut led2(LED2);
DigitalOut led3(LED3);

void blink() {
  led2 = 1;
  wait(0.5);
  led2 = 0;
}

int main() {
  while(true) {
    if(button == 1){
      response.attach(&blink, 3.0);
      led3=1;
    } else {
      led3=0;
    }
    led1=!led1;     
    wait(0.2);
  }
}

[링크 : https://os.mbed.com/teams/TVZ-Mechatronics-Team/wiki/Timers-interrupts-and-tasks]

 

[링크 : https://os.mbed.com/docs/mbed-os/v6.16/apis/timeout.html]

 

 

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32 다른 영역으로 점프(부트로더)  (0) 2026.03.06
stm32cubeide cpp 변환이후 generate code  (0) 2026.02.25
Mbed studio on ubuntu 22.04  (0) 2026.02.23
stm32f103c8t6 cpp std::cout 실패  (0) 2026.02.18
stm32 rtc tamper  (0) 2026.01.29
Posted by 구차니
embeded/Cortex-M3 STM2026. 2. 23. 11:00

fuse 3.x가 아니라 fuse 2.x를 요구하는 듯.

~/.local/bin$ ./mbed-studio
dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

 

부랴부랴 깔고

$ sudo apt-get install libfuse2
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음 새 패키지를 설치할 것입니다:
  libfuse2
0개 업그레이드, 1개 새로 설치, 0개 제거 및 4개 업그레이드 안 함.
90.3 k바이트 아카이브를 받아야 합니다.
이 작업 후 330 k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 http://kr.archive.ubuntu.com/ubuntu jammy/universe amd64 libfuse2 amd64 2.9.9-5ubuntu3 [90.3 kB]
내려받기 90.3 k바이트, 소요시간 0초 (290 k바이트/초)
Selecting previously unselected package libfuse2:amd64.
(데이터베이스 읽는중 ...현재 468242개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libfuse2_2.9.9-5ubuntu3_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.9-5ubuntu3) ...
libfuse2:amd64 (2.9.9-5ubuntu3) 설정하는 중입니다 ...
Processing triggers for libc-bin (2.35-0ubuntu3.13) ...

 

콘솔에서 하던 메뉴에서 하던 아무튼 잘 실행된다.

~/.local/bin$ ./mbed-studio
[2026-02-23T10:56:45.744] [INFO] MbedStudio - Configuration directory URI: 'file:///home/falinux/.theia' []
[2026-02-23T10:56:45.745] [DEBUG] MbedStudio - Backend Object.initialize took: 5.4 ms []
[2026-02-23T10:56:45.745] [ERROR] MbedStudio - (node:3182744) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. []
[2026-02-23T10:56:45.745] [DEBUG] MbedStudio - Backend ElectronTokenBackendContribution.configure took: 3.9 ms []
[2026-02-23T10:56:45.745] [DEBUG] MbedStudio - Backend ElectronMessagingContribution.onStart took: 1.3 ms []
[2026-02-23T10:56:45.746] [DEBUG] MbedStudio - Backend MbedEnvContribution.initialize took: 0.7 ms []
[2026-02-23T10:56:45.746] [DEBUG] MbedStudio - Backend FileDownloadEndpoint.configure took: 0.5 ms []
[2026-02-23T10:56:45.746] [DEBUG] MbedStudio - Backend TaskBackendApplicationContribution.onStart took: 0.2 ms []
[2026-02-23T10:56:45.746] [DEBUG] MbedStudio - Starting the deployer with the list of resolvers [
  [
    LocalDirectoryPluginDeployerResolver {},
    GithubPluginDeployerResolver {
      unpackedFolder: '/tmp/github-remote'
    },
    HttpPluginDeployerResolver { unpackedFolder: '/tmp/http-remote' }
  ]
]
[2026-02-23T10:56:45.747] [DEBUG] MbedStudio - STUDIO_ACTIVITY_URL variable not set. Activity monitoring is disabled. []
[2026-02-23T10:56:45.748] [DEBUG] MbedStudio - Backend PluginDeployerContribution.initialize took: 0.8 ms []
[2026-02-23T10:56:45.748] [DEBUG] MbedStudio - Backend AuthenticationServerImpl.configure took: 0.4 ms []
[2026-02-23T10:56:45.748] [DEBUG] MbedStudio - Backend ActivityServiceImpl.onStart took: 0.1 ms []
[2026-02-23T10:56:45.748] [INFO] MbedStudio - Configuring to accept webviews on '.+.webview..+' hostname. []
[2026-02-23T10:56:45.748] [INFO] root/mbs-device - Starting USB detection []
[2026-02-23T10:56:45.748] [DEBUG] MbedStudio - Found the list of default plugins ID on env: [ undefined ]
[2026-02-23T10:56:45.748] [DEBUG] MbedStudio - Found the list of plugins ID on env: [ undefined ]
[2026-02-23T10:56:45.748] [DEBUG] MbedStudio - Found the list of default plugins ID from CLI: [ undefined ]
[2026-02-23T10:56:45.749] [DEBUG] MbedStudio - Backend PluginApiContribution.configure took: 1.2 ms []
[2026-02-23T10:56:45.749] [DEBUG] MbedStudio - Backend DeviceManager.onStart took: 0.8 ms []
[2026-02-23T10:56:45.751] [DEBUG] MbedStudio - Backend HostedPluginReader.configure took: 2.5 ms []
[2026-02-23T10:56:45.751] [DEBUG] MbedStudio - Backend GitDetailsManager.onStart took: 2.7 ms []
[2026-02-23T10:56:45.751] [DEBUG] MbedStudio - Removing all user plugins []
[2026-02-23T10:56:45.751] [DEBUG] MbedStudio - Appending system plugins: local-dir:/home/falinux/mbs-plugins, local-dir:/tmp/.mount_mbed-skHNrFk/resources/app/plugins/electron, local-dir:/tmp/.mount_mbed-skHNrFk/resources/app/theia-plugins []
[2026-02-23T10:56:45.751] [WARN] MbedStudio - The directory referenced by local-dir:/home/falinux/mbs-plugins does not exist. []
[2026-02-23T10:56:45.752] [INFO] MbedStudio - Theia app listening on http://localhost:33937. []
[2026-02-23T10:56:45.762] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
  '/tmp/.mount_mbed-skHNrFk/resources/app/plugins/electron/mbs-plugin-electron-mbed'
]
[2026-02-23T10:56:45.763] [DEBUG] MbedStudio - Resolving "mbs-plugin-electron-mbed" as a VS Code extension... []
[2026-02-23T10:56:45.767] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
  '/tmp/.mount_mbed-skHNrFk/resources/app/theia-plugins/vscode-builtin-cpp'
]
[2026-02-23T10:56:45.767] [DEBUG] MbedStudio - Resolving "vscode-builtin-cpp" as a VS Code extension... []
[2026-02-23T10:56:45.767] [INFO] MbedStudio - Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.44.2" with engines: [ { vscode: '*' } ]
[2026-02-23T10:56:45.768] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
  '/tmp/.mount_mbed-skHNrFk/resources/app/theia-plugins/vscode-builtin-json'
]
[2026-02-23T10:56:45.768] [DEBUG] MbedStudio - Resolving "vscode-builtin-json" as a VS Code extension... []
[2026-02-23T10:56:45.768] [INFO] MbedStudio - Resolved "vscode-builtin-json" to a VS Code extension "json@1.44.2" with engines: [ { vscode: '0.10.x' } ]
[2026-02-23T10:56:45.768] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
  '/tmp/.mount_mbed-skHNrFk/resources/app/theia-plugins/vscode-builtin-python'
]
[2026-02-23T10:56:45.768] [DEBUG] MbedStudio - Resolving "vscode-builtin-python" as a VS Code extension... []
[2026-02-23T10:56:45.768] [INFO] MbedStudio - Resolved "vscode-builtin-python" to a VS Code extension "python@1.44.2" with engines: [ { vscode: '*' } ]
[2026-02-23T10:56:45.768] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
  '/tmp/.mount_mbed-skHNrFk/resources/app/theia-plugins/vscode-builtin-shellscript'
]
[2026-02-23T10:56:45.768] [DEBUG] MbedStudio - Resolving "vscode-builtin-shellscript" as a VS Code extension... []
[2026-02-23T10:56:45.768] [INFO] MbedStudio - Resolved "vscode-builtin-shellscript" to a VS Code extension "shellscript@1.44.2" with engines: [ { vscode: '*' } ]
[2026-02-23T10:56:45.769] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
  '/tmp/.mount_mbed-skHNrFk/resources/app/theia-plugins/vscode-builtin-xml'
]
[2026-02-23T10:56:45.769] [DEBUG] MbedStudio - Resolving "vscode-builtin-xml" as a VS Code extension... []
[2026-02-23T10:56:45.769] [INFO] MbedStudio - Resolved "vscode-builtin-xml" to a VS Code extension "xml@1.44.2" with engines: [ { vscode: '*' } ]
[2026-02-23T10:56:45.769] [INFO] MbedStudio - PluginTheiaDirectoryHandler: accepting plugin with path [
  '/tmp/.mount_mbed-skHNrFk/resources/app/theia-plugins/vscode-builtin-yaml'
]
[2026-02-23T10:56:45.769] [DEBUG] MbedStudio - Resolving "vscode-builtin-yaml" as a VS Code extension... []
[2026-02-23T10:56:45.769] [INFO] MbedStudio - Resolved "vscode-builtin-yaml" to a VS Code extension "yaml@1.44.2" with engines: [ { vscode: '*' } ]
[2026-02-23T10:56:45.774] [DEBUG] MbedStudio - the accepted plugins are [ [] ]
[2026-02-23T10:56:45.775] [DEBUG] MbedStudio - the acceptedFrontendPlugins plugins are [ [] ]

 

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32cubeide cpp 변환이후 generate code  (0) 2026.02.25
mbed + stm32cube hal...?  (0) 2026.02.23
stm32f103c8t6 cpp std::cout 실패  (0) 2026.02.18
stm32 rtc tamper  (0) 2026.01.29
stm32f103 rtc backup register  (0) 2026.01.29
Posted by 구차니
embeded/ARM2026. 2. 21. 00:04

mbed studio 설치하고, 이번에 회사에서 구매한 stm32f469 discovery 보드에 맞게 빌드해보려고 시도!

[링크 : https://www.st.com/en/evaluation-tools/32f469idiscovery.html]

[링크 : https://os.mbed.com/platforms/ST-Discovery-F469NI/]

 

built on theia 라고 써있어서 가보니 eclipse theia. 엥? 이클립스 느낌 하나도 안나고 엄청 vscode 같은데..?

[링크 : https://theia-ide.org/]

[링크 : https://os.mbed.com/studio/]

 

시작하면 그냥 먼가.. vscode 같은데.. 좀 다르다?

프로그램을 먼저 만들고 했어야 했나 싶긴한데

일단 보드 부터 골라주고

 

+ new program 해서 귀찮으니 대충 눌러본다.

 

별다른 버튼이 없는데 아무튼 망치 눌러주면 빌드 시작한다.

 

로그인 해야지 빌드할 수 있는 줄 알았는데 다행히 그 건 아닌 듯?

 

mbed os 를 포함한 blink라 그런가 제법 오래 걸린다.

 

빌드 메시지.. 어우 길다.

다시 빌드해보니 최대 2분 정도 걸린듯

[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  3.7%]: rf_configuration.c
Compile [  3.8%]: AT_CellularDevice.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  3.9%]: AT_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  4.0%]: CellularContext.cpp
Compile [  4.1%]: CellularDevice.cpp
Compile [  4.2%]: CellularStateMachine.cpp
Compile [  4.3%]: ATHandler.cpp
Compile [  4.4%]: at24mac.cpp
Compile [  4.5%]: NanostackRfPhyAT86RF215.cpp
Compile [  4.6%]: NanostackRfPhyAtmel.cpp
Compile [  4.8%]: NanostackRfPhyMcr20a.cpp
Compile [  4.9%]: at24mac_s2lp.cpp
Compile [  5.0%]: NanostackRfPhys2lp.cpp
Compile [  5.1%]: ALT1250_PPP_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.2%]: ALT1250_PPP.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.3%]: ALT1250_PPP_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.4%]: GEMALTO_CINTERION_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.5%]: GEMALTO_CINTERION.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.6%]: GEMALTO_CINTERION_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.7%]: GEMALTO_CINTERION_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.8%]: GENERIC_AT3GPP.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  5.9%]: SARA4_PPP_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.0%]: SARA4_PPP.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.1%]: QUECTEL_BC95.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.2%]: QUECTEL_BC95_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.3%]: QUECTEL_BC95_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.4%]: QUECTEL_BC95_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.5%]: QUECTEL_BC95_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.7%]: QUECTEL_BG96_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.8%]: QUECTEL_BG96.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  6.9%]: QUECTEL_BG96_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.0%]: QUECTEL_BG96_ControlPlane_netif.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.1%]: QUECTEL_BG96_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.2%]: QUECTEL_EC2X.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.3%]: QUECTEL_BG96_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.4%]: QUECTEL_M26.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.5%]: QUECTEL_M26_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.6%]: QUECTEL_M26_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.7%]: QUECTEL_UG96.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.8%]: QUECTEL_M26_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  7.9%]: QUECTEL_UG96_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.0%]: RM1000_AT.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.1%]: RM1000_AT_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.2%]: TELIT_HE910.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.3%]: RM1000_AT_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.4%]: RM1000_AT_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.6%]: TELIT_ME310_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.7%]: TELIT_ME310_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  8.8%]: UBLOX_N2XX_CellularSMS.cpp
Compile [  8.9%]: TELIT_ME310.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  9.0%]: stm32xx_emac.cpp
Compile [  9.1%]: stm32xx_eth_irq_callback.cpp
Compile [  9.2%]: TELIT_ME910.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  9.3%]: TELIT_ME310_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  9.4%]: aes_alt.cpp
Compile [  9.5%]: aes_alt_stm32l4.c
Compile [  9.6%]: cryp_stm32.c
Compile [  9.7%]: TELIT_ME910_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [  9.8%]: ccm_alt.cpp
Compile [  9.9%]: TELIT_ME910_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 10.0%]: UBLOX_AT.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 10.1%]: gcm_alt.cpp
Compile [ 10.2%]: hash_stm32.c
Compile [ 10.3%]: md5_alt.cpp
Compile [ 10.5%]: sha1_alt.cpp
Compile [ 10.6%]: sha256_alt.cpp
Compile [ 10.7%]: PN512TransportDriver.cpp
Compile [ 10.8%]: UBLOX_AT_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 10.9%]: UBLOX_AT_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 11.0%]: pn512_cmd.c
Compile [ 11.1%]: pn512.c
Compile [ 11.2%]: pn512_hw.c
Compile [ 11.3%]: pn512_irq.c
Compile [ 11.4%]: pn512_timer.c
Compile [ 11.5%]: pn512_registers.c
Compile [ 11.6%]: pn512_rf.c
Compile [ 11.7%]: pn512_poll.c
Compile [ 11.8%]: pn512_transceive.c
Compile [ 11.9%]: UBLOX_N2XX.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 12.0%]: UBLOX_AT_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 12.1%]: sn_coap_builder.c
Compile [ 12.2%]: sn_coap_header_check.c
Compile [ 12.4%]: ip_fsc.c
Compile [ 12.5%]: ns_list.c
Compile [ 12.6%]: common_functions.c
Compile [ 12.7%]: sn_coap_parser.c
Compile [ 12.8%]: ip4tos.c
Compile [ 12.9%]: sn_coap_protocol.c
Compile [ 13.0%]: stoip4.c
Compile [ 13.1%]: ip6tos.c
Compile [ 13.2%]: PN512Driver.cpp
Compile [ 13.3%]: stoip6.c
Compile [ 13.4%]: nsdynmem_tracker_lib.c
Compile [ 13.5%]: auth.c
Compile [ 13.6%]: ccp.c
Compile [ 13.7%]: ns_nvm_helper.c
Compile [ 13.8%]: chap-md5.c
Compile [ 13.9%]: chap-new.c
Compile [ 14.0%]: nsdynmemLIB.c
Compile [ 14.1%]: chap_ms.c
Compile [ 14.3%]: demand.c
Compile [ 14.4%]: eap.c
Compile [ 14.5%]: eui64.c
Compile [ 14.6%]: fsm.c
Compile [ 14.7%]: ipcp.c
Compile [ 14.8%]: ipv6cp.c
Compile [ 14.9%]: lcp.c
Compile [ 15.0%]: magic.c
Compile [ 15.1%]: mppe.c
Compile [ 15.2%]: UBLOX_N2XX_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 15.3%]: multilink.c
Compile [ 15.4%]: ppp_arc4.c
Compile [ 15.5%]: ppp_des.c
Compile [ 15.6%]: ppp_md4.c
Compile [ 15.7%]: ppp_sha1.c
Compile [ 15.8%]: ppp_md5.c
Compile [ 15.9%]: ppp_ecp.c
Compile [ 16.1%]: ppp.c
Compile [ 16.2%]: pppapi.c
Compile [ 16.3%]: pppcrypt.c
Compile [ 16.4%]: pppoe.c
Compile [ 16.5%]: pppol2tp.c
Compile [ 16.6%]: upap.c
Compile [ 16.7%]: utils.c
Compile [ 16.8%]: vj.c
Compile [ 16.9%]: pppos.cpp
Compile [ 17.0%]: UBLOX_N2XX_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 17.1%]: UBLOX_PPP.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 17.2%]: UBLOX_N2XX_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
Compile [ 17.3%]: PN512SPITransportDriver.cpp
Compile [ 17.4%]: LoRaMacCrypto.cpp
Compile [ 17.5%]: ESP8266.cpp
Compile [ 17.6%]: ESP8266Interface.cpp
Compile [ 17.7%]: LoRaMacChannelPlan.cpp
Compile [ 17.8%]: LoRaPHYAS923.cpp
Compile [ 18.0%]: LoRaPHYAU915.cpp
Compile [ 18.1%]: LoRaMacCommand.cpp
Compile [ 18.2%]: LoRaPHYCN470.cpp
Compile [ 18.3%]: LoRaPHYCN779.cpp
Compile [ 18.4%]: LoRaPHYEU433.cpp
Compile [ 18.5%]: lwip_checksum.c
Compile [ 18.6%]: lwip_memcpy.c
Compile [ 18.7%]: ppp_service.cpp
Compile [ 18.8%]: ppp_service_if.cpp
Compile [ 18.9%]: LoRaPHYEU868.cpp
Compile [ 19.0%]: LoRaPHY.cpp
Compile [ 19.1%]: LoRaMac.cpp
Compile [ 19.2%]: LoRaPHYIN865.cpp
Compile [ 19.3%]: LoRaPHYKR920.cpp
Compile [ 19.4%]: LoRaWANTimer.cpp
Compile [ 19.5%]: lwip_random.c
Compile [ 19.6%]: lwip_err.c
Compile [ 19.7%]: lwip_if_api.c
Compile [ 19.9%]: lwip_tcp_isn.c
Compile [ 20.0%]: lwip_netdb.c
Compile [ 20.1%]: lwip_netbuf.c
Compile [ 20.2%]: lwip_api_lib.c
Compile [ 20.3%]: lwip_netifapi.c
Compile [ 20.4%]: lwip_sys_arch.c
Compile [ 20.5%]: lwip_api_msg.c
Compile [ 20.6%]: LoRaPHYUS915.cpp
Compile [ 20.7%]: lwip_sockets.c
Compile [ 20.8%]: LoRaWANInterface.cpp
Compile [ 20.9%]: lwip_autoip.c
Compile [ 21.0%]: lwip_tcpip.c
Compile [ 21.1%]: lwip_icmp.c
Compile [ 21.2%]: lwip_igmp.c
Compile [ 21.3%]: lwip_ip4_addr.c
Compile [ 21.4%]: lwip_ip4.c
Compile [ 21.5%]: lwip_dhcp6.c
Compile [ 21.6%]: lwip_etharp.c
Compile [ 21.8%]: lwip_icmp6.c
Compile [ 21.9%]: lwip_dhcp.c
Compile [ 22.0%]: lwip_ethip6.c
Compile [ 22.1%]: lwip_inet6.c
Compile [ 22.2%]: lwip_ip4_frag.c
Compile [ 22.3%]: LoRaWANStack.cpp
[Warning] LoRaWANStack.cpp@742,33: 'call_in' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
[Warning] LoRaWANStack.cpp@742,33: 'call_in<LoRaWANStack, lorawan_status, device_states>' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
Compile [ 22.4%]: lwip_ip6.c
Compile [ 22.5%]: lwip_ip6_addr.c
Compile [ 22.6%]: lwip_ip6_frag.c
Compile [ 22.7%]: lwip_mld6.c
Compile [ 22.8%]: lwip_nd6.c
Compile [ 22.9%]: lwip_altcp_tcp.c
Compile [ 23.0%]: lwip_altcp.c
Compile [ 23.1%]: lwip_altcp_alloc.c
Compile [ 23.2%]: lwip_def.c
Compile [ 23.3%]: lwip_dns.c
Compile [ 23.4%]: lwip_inet_chksum.c
Compile [ 23.5%]: lwip_ip.c
Compile [ 23.7%]: lwip_init.c
Compile [ 23.8%]: lwip_mem.c
Compile [ 23.9%]: lwip_memp.c
Compile [ 24.0%]: lwip_netif.c
Compile [ 24.1%]: lwip_raw.c
Compile [ 24.2%]: lwip_pbuf.c
Compile [ 24.3%]: lwip_stats.c
Compile [ 24.4%]: lwip_sys.c
Compile [ 24.5%]: lwip_timeouts.c
Compile [ 24.6%]: lwip_bridgeif.c
Compile [ 24.7%]: lwip_ethernet.c
Compile [ 24.8%]: lwip_lowpan6.c
Compile [ 24.9%]: lwip_tcp_out.c
Compile [ 25.0%]: lwip_udp.c
Compile [ 25.1%]: lwip_tcp.c
Compile [ 25.2%]: lwip_bridgeif_fdb.c
Compile [ 25.3%]: lwip_tcp_in.c
Compile [ 25.4%]: lwip_lowpan6_ble.c
Compile [ 25.6%]: lwip_lowpan6_common.c
Compile [ 25.7%]: hash_wrappers.c
Compile [ 25.8%]: timing_mbed.cpp
Compile [ 25.9%]: platform_alt.cpp
Compile [ 26.0%]: shared_rng.cpp
Compile [ 26.1%]: aesni.c
Compile [ 26.2%]: arc4.c
Compile [ 26.3%]: aria.c
Compile [ 26.4%]: lwip_zepif.c
Compile [ 26.5%]: blowfish.c
Compile [ 26.6%]: base64.c
Compile [ 26.7%]: aes.c
Compile [ 26.8%]: camellia.c
Compile [ 26.9%]: asn1parse.c
Compile [ 27.0%]: asn1write.c
Compile [ 27.1%]: ccm.c
Compile [ 27.2%]: certs.c
Compile [ 27.3%]: chachapoly.c
Compile [ 27.5%]: chacha20.c
Compile [ 27.6%]: cipher_wrap.c
Compile [ 27.7%]: cmac.c
Compile [ 27.8%]: cipher.c
Compile [ 27.9%]: des.c
Compile [ 28.0%]: ctr_drbg.c
Compile [ 28.1%]: dhm.c
Compile [ 28.2%]: bignum.c
Compile [ 28.3%]: debug.c
Compile [ 28.4%]: ecjpake.c
Compile [ 28.5%]: ecdh.c
Compile [ 28.6%]: ecdsa.c
Compile [ 28.7%]: entropy.c
Compile [ 28.8%]: entropy_poll.c
Compile [ 28.9%]: ecp_curves.c
Compile [ 29.0%]: havege.c
Compile [ 29.1%]: gcm.c
Compile [ 29.3%]: error.c
Compile [ 29.4%]: hkdf.c
Compile [ 29.5%]: hmac_drbg.c
Compile [ 29.6%]: md2.c
Compile [ 29.7%]: md5.c
Compile [ 29.8%]: md4.c
Compile [ 29.9%]: md.c
Compile [ 30.0%]: ecp.c
Compile [ 30.1%]: memory_buffer_alloc.c
Compile [ 30.2%]: net_sockets.c
Compile [ 30.3%]: nist_kw.c
Compile [ 30.4%]: padlock.c
Compile [ 30.5%]: pkcs11.c
Compile [ 30.6%]: pkcs12.c
Compile [ 30.7%]: pk.c
Compile [ 30.8%]: pem.c
Compile [ 30.9%]: pkcs5.c
Compile [ 31.0%]: oid.c
Compile [ 31.2%]: pk_wrap.c
Compile [ 31.3%]: ripemd160.c
Compile [ 31.4%]: platform.c
Compile [ 31.5%]: platform_util.c
Compile [ 31.6%]: pkwrite.c
Compile [ 31.7%]: LWIPInterfaceEMAC.cpp
Compile [ 31.8%]: pkparse.c
Compile [ 31.9%]: LWIPInterface.cpp
Compile [ 32.0%]: poly1305.c
Compile [ 32.1%]: mbed_trng.cpp
Compile [ 32.2%]: rsa_internal.c
Compile [ 32.3%]: sha1.c
Compile [ 32.4%]: LWIPInterfacePPP.cpp
Compile [ 32.5%]: LWIPInterfaceL3IP.cpp
Compile [ 32.6%]: ssl_cache.c
Compile [ 32.7%]: ssl_cookie.c
Compile [ 32.8%]: ssl_ciphersuites.c
Compile [ 32.9%]: sha512.c
Compile [ 33.1%]: rsa.c
Compile [ 33.2%]: sha256.c
Compile [ 33.3%]: ssl_tls13_keys.c
Compile [ 33.4%]: threading.c
Compile [ 33.5%]: ssl_ticket.c
Compile [ 33.6%]: LWIPMemoryManager.cpp
Compile [ 33.7%]: timing.c
Compile [ 33.8%]: lwip_tools.cpp
Compile [ 33.9%]: version.c
Compile [ 34.0%]: version_features.c
Compile [ 34.1%]: x509_create.c
Compile [ 34.2%]: x509_csr.c
Compile [ 34.3%]: x509write_crt.c
Compile [ 34.4%]: ssl_cli.c
Compile [ 34.5%]: LWIPStack.cpp
Compile [ 34.6%]: x509write_csr.c
Compile [ 34.7%]: ssl_srv.c
Compile [ 34.8%]: xtea.c
Compile [ 35.0%]: x509.c
Compile [ 35.1%]: x509_crl.c
Compile [ 35.2%]: ssl_msg.c
Compile [ 35.3%]: coap_message_handler.c
Compile [ 35.4%]: coap_security_handler.c
Compile [ 35.5%]: ssl_tls.c
Compile [ 35.6%]: coap_service_api.c
Compile [ 35.7%]: x509_crt.c
Compile [ 35.8%]: coap_connection_handler.c
Compile [ 35.9%]: ethernet_tasklet.c
Compile [ 36.0%]: mesh_system.c
Compile [ 36.1%]: nd_tasklet.c
Compile [ 36.2%]: thread_tasklet.c
Compile [ 36.3%]: wisun_tasklet.c
Compile [ 36.4%]: arm_hal_interrupt.c
Compile [ 36.5%]: arm_hal_random.c
Compile [ 36.6%]: ns_file_system_api.cpp
Compile [ 36.7%]: ns_event_loop.c
Compile [ 36.9%]: ns_hal_init.c
Compile [ 37.0%]: ns_event_loop_mutex.c
Compile [ 37.1%]: event.c
Compile [ 37.2%]: ns_timeout.c
Compile [ 37.3%]: nvm_ram.c
Compile [ 37.4%]: NanostackMemoryManager.cpp
Compile [ 37.5%]: CallbackHandler.cpp
Compile [ 37.6%]: LoWPANNDInterface.cpp
Compile [ 37.7%]: MeshInterfaceNanostack.cpp
Compile [ 37.8%]: NanostackEthernetInterface.cpp
Compile [ 37.9%]: ns_timer.c
Compile [ 38.0%]: system_timer.c
Compile [ 38.1%]: NanostackEMACInterface.cpp
Compile [ 38.2%]: ThreadInterface.cpp
Compile [ 38.3%]: WisunBorderRouter.cpp
[Warning] WisunBorderRouter.cpp@43,37: 'reinterpret_cast' to class 'WisunInterface *' from its virtual base 'NetworkInterface *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
[Warning] WisunBorderRouter.cpp@90,37: 'reinterpret_cast' to class 'WisunInterface *' from its virtual base 'NetworkInterface *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
Compile [ 38.4%]: NanostackPPPInterface.cpp
[Warning] NanostackPPPInterface.cpp@20,10: non-portable path to file '"ppp.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
Compile [ 38.5%]: ns_event_loop_mbed.cpp
Compile [ 38.6%]: network_lib.c
Compile [ 38.8%]: arm_hal_fhss_timer.cpp
Compile [ 38.9%]: lowpan_context.c
Compile [ 39.0%]: WisunInterface.cpp
Compile [ 39.1%]: cipv6_fragmenter.c
Compile [ 39.2%]: 6lowpan_iphc.c
Compile [ 39.3%]: iphc_compress.c
Compile [ 39.4%]: protocol_6lowpan.c
Compile [ 39.5%]: iphc_decompress.c
Compile [ 39.6%]: mac_ie_lib.c
Compile [ 39.7%]: arm_hal_timer.cpp
Compile [ 39.8%]: beacon_handler.c
Compile [ 39.9%]: protocol_6lowpan_interface.c
Compile [ 40.0%]: mac_data_poll.c
Compile [ 40.1%]: mac_pairwise_key.c
Compile [ 40.2%]: thread_beacon.c
Compile [ 40.3%]: mac_helper.c
Compile [ 40.4%]: mac_response_handler.c
Compile [ 40.5%]: protocol_6lowpan_bootstrap.c
Compile [ 40.7%]: mesh.c
Compile [ 40.8%]: nwk_nvm.c
Compile [ 40.9%]: thread_commissioning_if.c
Compile [ 41.0%]: thread_dhcpv6_server.c
Compile [ 41.1%]: thread_bbr_api.c
Compile [ 41.2%]: thread_border_router_api.c
Compile [ 41.3%]: thread_ccm.c
Compile [ 41.4%]: thread_bbr_commercial.c
Compile [ 41.5%]: thread_commissioning_api.c
Compile [ 41.6%]: nd_router_object.c
Compile [ 41.7%]: thread_lowpower_private_api.c
Compile [ 41.8%]: thread_diagnostic.c
Compile [ 41.9%]: thread_discovery.c
Compile [ 42.0%]: thread_lowpower_api.c
Compile [ 42.1%]: thread_host_bootstrap.c
Compile [ 42.2%]: thread_meshcop_lib.c
Compile [ 42.3%]: thread_net_config_api.c
Compile [ 42.4%]: thread_common.c
Compile [ 42.6%]: thread_management_api.c
Compile [ 42.7%]: thread_leader_service.c
Compile [ 42.8%]: thread_mdns.c
Compile [ 42.9%]: thread_neighbor_class.c
Compile [ 43.0%]: thread_management_client.c
Compile [ 43.1%]: thread_joiner_application.c
Compile [ 43.2%]: thread_bootstrap.c
Compile [ 43.3%]: thread_nd.c
Compile [ 43.4%]: thread_mle_message_handler.c
Compile [ 43.5%]: thread_network_data_lib.c
Compile [ 43.6%]: thread_management_if.c
Compile [ 43.7%]: thread_resolution_server.c
Compile [ 43.8%]: thread_management_server.c
Compile [ 43.9%]: thread_resolution_client.c
Compile [ 44.0%]: thread_network_synch.c
Compile [ 44.1%]: thread_nvm_store.c
Compile [ 44.2%]: thread_routing.c
Compile [ 44.4%]: thread_test_api.c
Compile [ 44.5%]: thread_network_data_storage.c
Compile [ 44.6%]: ws_bbr_api.c
Compile [ 44.7%]: ws_bootstrap_6lbr.c
[Warning] ws_bootstrap_6lbr.c@550,59: cast to smaller integer type 'ws_bootsrap_procedure_t' from 'void *' [-Wvoid-pointer-to-enum-cast]
Compile [ 44.8%]: ws_eapol_auth_relay.c
Compile [ 44.9%]: ws_bootstrap_6ln.c
Compile [ 45.0%]: ws_cfg_settings.c
Compile [ 45.1%]: adaptation_interface.c
Compile [ 45.2%]: ws_bootstrap_ffn.c
Compile [ 45.3%]: ws_eapol_pdu.c
Compile [ 45.4%]: thread_router_bootstrap.c
Compile [ 45.5%]: ws_eapol_relay_lib.c
Compile [ 45.6%]: ws_bootstrap_6lr.c
[Warning] ws_bootstrap_6lr.c@1301,59: cast to smaller integer type 'ws_bootsrap_procedure_t' from 'void *' [-Wvoid-pointer-to-enum-cast]
Compile [ 45.7%]: ws_common.c
Compile [ 45.8%]: ws_eapol_relay.c
Compile [ 45.9%]: ws_empty_functions.c
Compile [ 46.0%]: ws_mpx_header.c
Compile [ 46.1%]: ws_bootstrap.c
Compile [ 46.3%]: ws_pae_nvm_store.c
Compile [ 46.4%]: ws_pae_time.c
Compile [ 46.5%]: ws_neighbor_class.c
Compile [ 46.6%]: ws_ie_lib.c
Compile [ 46.7%]: ws_pae_lib.c
Compile [ 46.8%]: ws_management_api.c
Compile [ 46.9%]: ws_pae_nvm_data.c
Compile [ 47.0%]: ws_phy.c
Compile [ 47.1%]: ws_pae_key_storage.c
Compile [ 47.2%]: ws_pae_timers.c
Compile [ 47.3%]: ws_stats.c
Compile [ 47.4%]: ws_pae_auth.c
Compile [ 47.5%]: icmpv6_prefix.c
Compile [ 47.6%]: ipv6_flow.c
Compile [ 47.7%]: ws_llc_data_service.c
Compile [ 47.8%]: ws_pae_controller.c
Compile [ 47.9%]: ws_test_api.c
Compile [ 48.0%]: ws_pae_supp.c
Compile [ 48.2%]: icmpv6_radv.c
Compile [ 48.3%]: ipv6_resolution.c
Compile [ 48.4%]: ipv6_fragmentation.c
Compile [ 48.5%]: mld.c
Compile [ 48.6%]: buffer_dyn.c
Compile [ 48.7%]: ipv6.c
Compile [ 48.8%]: udp.c
Compile [ 48.9%]: ns_monitor.c
Compile [ 49.0%]: sockbuf.c
Compile [ 49.1%]: border_router.c
Compile [ 49.2%]: icmpv6.c
Compile [ 49.3%]: mac_cca_threshold.c
Compile [ 49.4%]: DHCPv6_Server_service.c
Compile [ 49.5%]: mac_fhss_callbacks.c
Compile [ 49.6%]: tcp.c
Compile [ 49.7%]: mac_filter.c
Compile [ 49.8%]: ns_socket.c
Compile [ 49.9%]: dhcpv6_client_service.c
Compile [ 50.1%]: mac_timer.c
Compile [ 50.2%]: ns_address_internal.c
Compile [ 50.3%]: mac_indirect_data.c
Compile [ 50.4%]: mac_header_helper_functions.c
Compile [ 50.5%]: mac_mode_switch.c
Compile [ 50.6%]: mac_security_mib.c
Compile [ 50.7%]: mac_pd_sap.c
Compile [ 50.8%]: rf_driver_storage.c
Compile [ 50.9%]: sw_mac.c
Compile [ 51.0%]: ethernet_mac_api.c
Compile [ 51.1%]: virtual_rf_driver.c
Compile [ 51.2%]: serial_mac_api.c
Compile [ 51.3%]: mle_tlv.c
Compile [ 51.4%]: virtual_rf_client.c
Compile [ 51.5%]: protocol_stats.c
Compile [ 51.6%]: mac_mlme.c
Compile [ 51.7%]: mac_mcps_sap.c
Compile [ 51.8%]: rpl_objective.c
Compile [ 52.0%]: mle.c
Compile [ 52.1%]: protocol_core_sleep.c
Compile [ 52.2%]: rpl_mrhof.c
Compile [ 52.3%]: protocol_timer.c
Compile [ 52.4%]: rpl_policy.c
Compile [ 52.5%]: pana_avp.c
Compile [ 52.6%]: rpl_of0.c
Compile [ 52.7%]: mpl.c
Compile [ 52.8%]: pana_eap_header.c
Compile [ 52.9%]: pana_header.c
Compile [ 53.0%]: eap_protocol.c
Compile [ 53.1%]: pana_relay_table.c
Compile [ 53.2%]: rpl_data.c
Compile [ 53.3%]: security_lib.c
Compile [ 53.4%]: protocol_core.c
Compile [ 53.5%]: tls_ccm_crypt.c
Compile [ 53.6%]: rpl_control.c
Compile [ 53.7%]: rpl_downward.c
Compile [ 53.9%]: eapol_helper.c
Compile [ 54.0%]: kde_helper.c
Compile [ 54.1%]: rpl_upward.c
Compile [ 54.2%]: pana.c
Compile [ 54.3%]: kmp_addr.c
Compile [ 54.4%]: pana_client.c
Compile [ 54.5%]: kmp_eapol_pdu_if.c
Compile [ 54.6%]: tls_lib.c
Compile [ 54.7%]: kmp_api.c
Compile [ 54.8%]: kmp_socket_if.c
Compile [ 54.9%]: eap_tls_sec_prot_lib.c
Compile [ 55.0%]: auth_eap_tls_sec_prot.c
Compile [ 55.1%]: pana_server.c
Compile [ 55.2%]: radius_eap_tls_sec_prot.c
Compile [ 55.3%]: supp_eap_tls_sec_prot.c
Compile [ 55.4%]: auth_fwh_sec_prot.c
Compile [ 55.5%]: auth_gkh_sec_prot.c
Compile [ 55.6%]: avp_helper.c
Compile [ 55.8%]: supp_fwh_sec_prot.c
Compile [ 55.9%]: supp_gkh_sec_prot.c
Compile [ 56.0%]: key_sec_prot.c
Compile [ 56.1%]: msg_sec_prot.c
Compile [ 56.2%]: aes_mbedtls_adapter.c
Compile [ 56.3%]: ccm_security.c
Compile [ 56.4%]: sec_prot_certs.c
Compile [ 56.5%]: neighbor_cache.c
Compile [ 56.6%]: ns_sha256.c
Compile [ 56.7%]: trickle.c
Compile [ 56.8%]: tls_sec_prot_lib.c
Compile [ 56.9%]: radius_client_sec_prot.c
Compile [ 57.0%]: tls_sec_prot.c
Compile [ 57.1%]: sec_prot_lib.c
Compile [ 57.2%]: shalib.c
Compile [ 57.3%]: sec_prot_keys.c
Compile [ 57.4%]: channel_functions.c
Compile [ 57.6%]: channel_list.c
Compile [ 57.7%]: blacklist.c
Compile [ 57.8%]: fhss_channel.c
Compile [ 57.9%]: fhss_statistics.c
Compile [ 58.0%]: etx.c
Compile [ 58.1%]: fhss_common.c
Compile [ 58.2%]: fhss_test_api.c
Compile [ 58.3%]: fhss_ws_empty_functions.c
Compile [ 58.4%]: fnv_hash.c
Compile [ 58.5%]: fhss_configuration_interface.c
Compile [ 58.6%]: hmac_md.c
Compile [ 58.7%]: fhss.c
Compile [ 58.8%]: ieee_802_11.c
Compile [ 58.9%]: load_balance.c
Compile [ 59.0%]: mac_neighbor_table.c
Compile [ 59.1%]: fnet_poll.c
Compile [ 59.2%]: ns_fnet_events.c
Compile [ 59.3%]: fnet_stdlib.c
Compile [ 59.5%]: fhss_ws.c
Compile [ 59.6%]: mle_service_interface.c
Compile [ 59.7%]: ns_fnet_port.c
Compile [ 59.8%]: ns_mdns_api.c
Compile [ 59.9%]: mle_service_buffer.c
Compile [ 60.0%]: mle_service_frame_counter_table.c
Compile [ 60.1%]: fnet_mdns.c
Compile [ 60.2%]: isqrt.c
Compile [ 60.3%]: mle_service_security.c
Compile [ 60.4%]: random_early_detection.c
Compile [ 60.5%]: ns_crc.c
Compile [ 60.6%]: nist_aes_kw.c
Compile [ 60.7%]: pan_blacklist.c
Compile [ 60.8%]: nd_proxy.c
Compile [ 60.9%]: ns_conf.c
Compile [ 61.0%]: ns_file_system.c
Compile [ 61.1%]: ns_time.c
Compile [ 61.2%]: mle_service.c
Compile [ 61.4%]: whiteboard.c
Compile [ 61.5%]: libDHCPv6_vendordata.c
Compile [ 61.6%]: multicast_api.c
Compile [ 61.7%]: libDHCPv6_server.c
Compile [ 61.8%]: net_6lowpan_parameter_api.c
Compile [ 61.9%]: net_ipv6.c
Compile [ 62.0%]: libDHCPv6.c
Compile [ 62.1%]: net_dns.c
Compile [ 62.2%]: dhcp_service_api.c
Compile [ 62.3%]: protocol_ipv6.c
Compile [ 62.4%]: net_mle.c
Compile [ 62.5%]: ipv6_routing_table.c
Compile [ 62.6%]: net_short_address_extension.c
Compile [ 62.7%]: net_test.c
Compile [ 62.8%]: net_rpl.c
Compile [ 62.9%]: net_load_balance.c
Compile [ 63.0%]: socket_api.c
Compile [ 63.1%]: ns_net.c
Compile [ 63.3%]: NetworkInterfaceDefaults.cpp
Compile [ 63.4%]: NetworkInterface.cpp
Compile [ 63.5%]: NetworkStack.cpp
Compile [ 63.6%]: SocketAddress.cpp
Compile [ 63.7%]: ICMPSocket.cpp
Compile [ 63.8%]: DTLSSocket.cpp
Compile [ 63.9%]: EthernetInterface.cpp
Compile [ 64.0%]: NetStackMemoryManager.cpp
Compile [ 64.1%]: InternetDatagramSocket.cpp
Compile [ 64.2%]: InternetSocket.cpp
Compile [ 64.3%]: EMACInterface.cpp
Compile [ 64.4%]: DTLSSocketWrapper.cpp
Compile [ 64.5%]: L3IPInterface.cpp
Compile [ 64.6%]: WiFiAccessPoint.cpp
Compile [ 64.7%]: CellularNonIPSocket.cpp
Compile [ 64.8%]: ac_buffer.c
Compile [ 64.9%]: ac_buffer_builder.c
Compile [ 65.0%]: ac_stream.c
Compile [ 65.2%]: ac_buffer_reader.c
Compile [ 65.3%]: ndef.c
Compile [ 65.4%]: nfc_scheduler.c
Compile [ 65.5%]: Nanostack.cpp
Compile [ 65.6%]: nfc_transport.c
Compile [ 65.7%]: transceiver.c
Compile [ 65.8%]: iso7816_app.c
Compile [ 65.9%]: iso7816.c
Compile [ 66.0%]: PPPInterface.cpp
Compile [ 66.1%]: type4_target.c
Compile [ 66.2%]: isodep_target.c
Compile [ 66.3%]: SocketStats.cpp
Compile [ 66.4%]: TCPSocket.cpp
Compile [ 66.5%]: NFCControllerDriver.cpp
Compile [ 66.6%]: NFCNDEFCapable.cpp
Compile [ 66.7%]: NFCTarget.cpp
Compile [ 66.8%]: NFCRemoteInitiator.cpp
Compile [ 66.9%]: NFCEEPROMDriver.cpp
Compile [ 67.1%]: TLSSocket.cpp
Compile [ 67.2%]: NFCEEPROM.cpp
Compile [ 67.3%]: TLSSocketWrapper.cpp
Compile [ 67.4%]: MessageBuilder.cpp
Compile [ 67.5%]: UDPSocket.cpp
Compile [ 67.6%]: nsapi_ppp.cpp
Compile [ 67.7%]: MessageParser.cpp
Compile [ 67.8%]: RecordParser.cpp
Compile [ 67.9%]: Mime.cpp
Compile [ 68.0%]: SimpleMessageParser.cpp
Compile [ 68.1%]: Text.cpp
Compile [ 68.2%]: URI.cpp
Compile [ 68.3%]: util.cpp
Compile [ 68.4%]: nsapi_dns.cpp
Compile [ 68.5%]: NFCRemoteEndpoint.cpp
Compile [ 68.6%]: NFCController.cpp
Compile [ 68.7%]: Type4RemoteInitiator.cpp
Compile [ 68.8%]: AnalogOut.cpp
Compile [ 69.0%]: DigitalIn.cpp
Compile [ 69.1%]: DigitalInOut.cpp
Compile [ 69.2%]: DigitalOut.cpp
Compile [ 69.3%]: BusIn.cpp
Compile [ 69.4%]: BusInOut.cpp
Compile [ 69.5%]: BusOut.cpp
Compile [ 69.6%]: DeviceKey.cpp
Compile [ 69.7%]: AnalogIn.cpp
Compile [ 69.8%]: ResetReason.cpp
Compile [ 69.9%]: I2CSlave.cpp
Compile [ 70.0%]: CAN.cpp
Compile [ 70.1%]: BufferedSerial.cpp
Compile [ 70.2%]: FlashIAP.cpp
Compile [ 70.3%]: OSPI.cpp
Compile [ 70.4%]: MbedCRC.cpp
Compile [ 70.5%]: InterruptIn.cpp
Compile [ 70.6%]: PortIn.cpp
Compile [ 70.7%]: I2C.cpp
Compile [ 70.9%]: PortOut.cpp
Compile [ 71.0%]: PortInOut.cpp
Compile [ 71.1%]: PwmOut.cpp
Compile [ 71.2%]: EndpointResolver.cpp
Compile [ 71.3%]: Watchdog.cpp
Compile [ 71.4%]: ByteBuffer.cpp
Compile [ 71.5%]: LinkedListBase.cpp
Compile [ 71.6%]: SPISlave.cpp
Compile [ 71.7%]: SerialWireOutput.cpp
Compile [ 71.8%]: QSPI.cpp
Compile [ 71.9%]: AsyncOp.cpp
Compile [ 72.0%]: Timer.cpp
Compile [ 72.1%]: OperationListBase.cpp
Compile [ 72.2%]: TimerEvent.cpp
Compile [ 72.3%]: SerialBase.cpp
Compile [ 72.4%]: SPI.cpp
Compile [ 72.5%]: Ticker.cpp
Compile [ 72.7%]: Timeout.cpp
Compile [ 72.8%]: USBCDC.cpp
Compile [ 72.9%]: USBAudio.cpp
Compile [ 73.0%]: USBDevice.cpp
Compile [ 73.1%]: UnbufferedSerial.cpp
Compile [ 73.2%]: equeue_posix.c
Compile [ 73.3%]: equeue.c
Compile [ 73.4%]: USBHID.cpp
Compile [ 73.5%]: PolledQueue.cpp
Compile [ 73.6%]: TaskBase.cpp
Compile [ 73.7%]: greentea_test_env.cpp
[Warning] greentea_test_env.cpp@67,5: 'greentea_metrics_setup' is deprecated: Greentea metrics API are deprecated [since mbed-os-6.14] [-Wdeprecated-declarations]
[Warning] greentea_test_env.cpp@464,5: 'greentea_metrics_report' is deprecated: Greentea metrics API are deprecated [since mbed-os-6.14] [-Wdeprecated-declarations]
Compile [ 73.8%]: USBMouse.cpp
Compile [ 73.9%]: USBMIDI.cpp
Compile [ 74.0%]: mbed_io.cpp
Compile [ 74.1%]: USBMSD.cpp
Compile [ 74.2%]: ns_cmdline.c
Compile [ 74.3%]: USBCDC_ECM.cpp
Compile [ 74.4%]: unity.c
Compile [ 74.6%]: utest_stack_trace.cpp
Compile [ 74.7%]: mbed_shared_queues.cpp
Compile [ 74.8%]: greentea_metrics.cpp
Compile [ 74.9%]: utest_print.cpp
Compile [ 75.0%]: EventQueue.cpp
Compile [ 75.1%]: USBKeyboard.cpp
Compile [ 75.2%]: USBMouseKeyboard.cpp
Compile [ 75.3%]: USBSerial.cpp
Compile [ 75.4%]: equeue_mbed.cpp
Compile [ 75.5%]: mbed_critical_section_api.c
Compile [ 75.6%]: mbed_itm_api.c
Compile [ 75.7%]: mbed_compat.c
Compile [ 75.8%]: mbed-utest-shim.cpp
Compile [ 75.9%]: unity_handler.cpp
Compile [ 76.0%]: utest_case.cpp
Compile [ 76.1%]: utest_default_handlers.cpp
Compile [ 76.2%]: utest_greentea_handlers.cpp
Compile [ 76.3%]: mbed_flash_api.c
Compile [ 76.5%]: mbed_gpio.c
Compile [ 76.6%]: utest_harness.cpp
Compile [ 76.7%]: mbed_gpio_irq.c
Compile [ 76.8%]: mbed_usb_phy.cpp
Compile [ 76.9%]: utest_types.cpp
Compile [ 77.0%]: mbed_pinmap_common.c
Compile [ 77.1%]: utest_shim.cpp
Compile [ 77.2%]: LowPowerTickerWrapper.cpp
Compile [ 77.3%]: mbed_lp_ticker_api.c
Compile [ 77.4%]: randLIB.c
Compile [ 77.5%]: CriticalSectionLock.cpp
Compile [ 77.6%]: mbed_trace.c
Compile [ 77.7%]: mbed_pinmap_default.cpp
Compile [ 77.8%]: mbed_us_ticker_api.c
Compile [ 77.9%]: mbed_ticker_api.c
Compile [ 78.0%]: mbed_mpu_v7m.c
Compile [ 78.1%]: mbed_mpu_v8m.c
Compile [ 78.2%]: except.S
Compile [ 78.4%]: mbed_lp_ticker_wrapper.cpp
Compile [ 78.5%]: static_pinmap.cpp
Compile [ 78.6%]: mbed_assert.c
Compile [ 78.7%]: CThunkBase.cpp
Compile [ 78.8%]: LocalFileSystem.cpp
Compile [ 78.9%]: FileHandle.cpp
Compile [ 79.0%]: mbed_fault_handler.c
Compile [ 79.1%]: mbed_application.c
Compile [ 79.2%]: ATCmdParser.cpp
Compile [ 79.3%]: DeepSleepLock.cpp
Compile [ 79.4%]: mbed_atomic_impl.c
Compile [ 79.5%]: mstd_mutex.cpp
Compile [ 79.6%]: FileSystemHandle.cpp
Compile [ 79.7%]: mbed_mktime.c
Compile [ 79.8%]: FilePath.cpp
Compile [ 79.9%]: mbed_critical.c
Compile [ 80.0%]: FileBase.cpp
Compile [ 80.1%]: mbed_board.c
Compile [ 80.3%]: mbed_alloc_wrappers.cpp
Compile [ 80.4%]: Stream.cpp
Compile [ 80.5%]: SysTimer.cpp
Compile [ 80.6%]: mbed_interface.c
Compile [ 80.7%]: mbed_error.c
Compile [ 80.8%]: mbed_mpu_mgmt.c
Compile [ 80.9%]: mbed_error_hist.c
Compile [ 81.0%]: mbed_printf_armlink_overrides.c
Compile [ 81.1%]: newlib_nano_malloc_workaround.c
Compile [ 81.2%]: mbed_printf_wrapper.c
Compile [ 81.3%]: mbed_power_mgmt.c
Compile [ 81.4%]: mbed_printf_implementation.c
Compile [ 81.5%]: mbed_sdk_boot.c
Compile [ 81.6%]: mbed_semihost_api.c
Compile [ 81.7%]: mbed_stats.c
Compile [ 81.8%]: mbed_mem_trace.cpp
Compile [ 81.9%]: ConditionVariable.cpp
Compile [ 82.0%]: mbed_poll.cpp
Compile [ 82.2%]: Mutex.cpp
Compile [ 82.3%]: mbed_wait_api_no_rtos.c
Compile [ 82.4%]: mbed_os_timer.cpp
Compile [ 82.5%]: mbed_rtc_time.cpp
Compile [ 82.6%]: Thread.cpp
Compile [ 82.7%]: mbed_thread.cpp
Compile [ 82.8%]: ProfilingBlockDevice.cpp
Compile [ 82.9%]: mbed_retarget.cpp
Compile [ 83.0%]: ObservingBlockDevice.cpp
Compile [ 83.1%]: Kernel.cpp
Compile [ 83.2%]: EventFlags.cpp
Compile [ 83.3%]: ReadOnlyBlockDevice.cpp
Compile [ 83.4%]: ThisThread.cpp
Compile [ 83.5%]: ffunicode.cpp
Compile [ 83.6%]: Semaphore.cpp
Compile [ 83.7%]: SlicingBlockDevice.cpp
Compile [ 83.8%]: BufferedBlockDevice.cpp
Compile [ 83.9%]: ExhaustibleBlockDevice.cpp
Compile [ 84.1%]: HeapBlockDevice.cpp
Compile [ 84.2%]: ChainingBlockDevice.cpp
Compile [ 84.3%]: FlashSimBlockDevice.cpp
Compile [ 84.4%]: lfs_util.c
Compile [ 84.5%]: FlashIAPBlockDevice.cpp
Compile [ 84.6%]: lfs2_util.c
Compile [ 84.7%]: MBRBlockDevice.cpp
Compile [ 84.8%]: SFDP.cpp
Compile [ 84.9%]: ff.cpp
Compile [ 85.0%]: lfs.c
Compile [ 85.1%]: QSPIFBlockDevice.cpp
Compile [ 85.2%]: lfs2.c
Compile [ 85.3%]: stm32f4xx_hal_can_legacy.c
Compile [ 85.4%]: stm32f4xx_hal.c
Compile [ 85.5%]: Dir.cpp
Compile [ 85.6%]: File.cpp
Compile [ 85.7%]: FileSystem.cpp
Compile [ 85.9%]: FATFileSystem.cpp
[Warning] FATFileSystem.cpp@204,73: format specifies type 'unsigned long' but the argument has type 'LBA_t' (aka 'unsigned int') [-Wformat]
[Warning] FATFileSystem.cpp@214,74: format specifies type 'unsigned long' but the argument has type 'LBA_t' (aka 'unsigned int') [-Wformat]
Compile [ 86.0%]: LittleFileSystem.cpp
Compile [ 86.1%]: LittleFileSystem2.cpp
Compile [ 86.2%]: DirectAccessDevicekey.cpp
Compile [ 86.3%]: FileSystemStore.cpp
Compile [ 86.4%]: KVMap.cpp
Compile [ 86.5%]: kvstore_global_api.cpp
Compile [ 86.6%]: kv_config.cpp
Compile [ 86.7%]: stm32f4xx_hal_adc.c
Compile [ 86.8%]: SecureStore.cpp
[Warning] SecureStore.cpp@53,15: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
Compile [ 86.9%]: stm32f4xx_hal_cec.c
Compile [ 87.0%]: stm32f4xx_hal_can.c
Compile [ 87.1%]: PlatformStorage.cpp
Compile [ 87.2%]: stm32f4xx_hal_cortex.c
Compile [ 87.3%]: stm32f4xx_hal_adc_ex.c
Compile [ 87.4%]: stm32f4xx_hal_crc.c
Compile [ 87.5%]: stm32f4xx_hal_cryp.c
Compile [ 87.6%]: stm32f4xx_hal_cryp_ex.c
Compile [ 87.8%]: TDBStore.cpp
Compile [ 87.9%]: stm32f4xx_hal_dac_ex.c
Compile [ 88.0%]: stm32f4xx_hal_dcmi_ex.c
Compile [ 88.1%]: stm32f4xx_hal_dac.c
Compile [ 88.2%]: stm32f4xx_hal_dcmi.c
Compile [ 88.3%]: stm32f4xx_hal_dfsdm.c
Compile [ 88.4%]: stm32f4xx_hal_dma.c
Compile [ 88.5%]: stm32f4xx_hal_dma_ex.c
Compile [ 88.6%]: stm32f4xx_hal_exti.c
Compile [ 88.7%]: stm32f4xx_hal_dma2d.c
Compile [ 88.8%]: stm32f4xx_hal_flash.c
Compile [ 88.9%]: stm32f4xx_hal_flash_ramfunc.c
Compile [ 89.0%]: stm32f4xx_hal_flash_ex.c
Compile [ 89.1%]: stm32f4xx_hal_eth.c
Compile [ 89.2%]: stm32f4xx_hal_fmpi2c.c
Compile [ 89.3%]: stm32f4xx_hal_dsi.c
Compile [ 89.4%]: stm32f4xx_hal_fmpsmbus_ex.c
Compile [ 89.5%]: stm32f4xx_hal_fmpi2c_ex.c
Compile [ 89.7%]: stm32f4xx_hal_fmpsmbus.c
Compile [ 89.8%]: stm32f4xx_hal_gpio.c
Compile [ 89.9%]: stm32f4xx_hal_hash.c
Compile [ 90.0%]: stm32f4xx_hal_hash_ex.c
Compile [ 90.1%]: stm32f4xx_hal_i2c_ex.c
Compile [ 90.2%]: stm32f4xx_hal_iwdg.c
Compile [ 90.3%]: stm32f4xx_hal_lptim.c
Compile [ 90.4%]: stm32f4xx_hal_i2s_ex.c
Compile [ 90.5%]: stm32f4xx_hal_hcd.c
Compile [ 90.6%]: stm32f4xx_hal_i2s.c
Compile [ 90.7%]: stm32f4xx_hal_irda.c
Compile [ 90.8%]: stm32f4xx_hal_ltdc_ex.c
Compile [ 90.9%]: stm32f4xx_hal_ltdc.c
Compile [ 91.0%]: stm32f4xx_hal_pccard.c
Compile [ 91.1%]: stm32f4xx_hal_nor.c
Compile [ 91.2%]: stm32f4xx_hal_mmc.c
Compile [ 91.3%]: stm32f4xx_hal_nand.c
Compile [ 91.4%]: stm32f4xx_hal_pcd.c
Compile [ 91.6%]: stm32f4xx_hal_i2c.c
Compile [ 91.7%]: stm32f4xx_hal_pcd_ex.c
Compile [ 91.8%]: stm32f4xx_hal_pwr.c
Compile [ 91.9%]: stm32f4xx_hal_pwr_ex.c
Compile [ 92.0%]: stm32f4xx_hal_rcc.c
Compile [ 92.1%]: stm32f4xx_hal_rng.c
Compile [ 92.2%]: stm32f4xx_hal_rcc_ex.c
Compile [ 92.3%]: stm32f4xx_hal_qspi.c
Compile [ 92.4%]: stm32f4xx_hal_rtc.c
Compile [ 92.5%]: stm32f4xx_hal_rtc_ex.c
Compile [ 92.6%]: stm32f4xx_hal_sai_ex.c
Compile [ 92.7%]: stm32f4xx_hal_sai.c
Compile [ 92.8%]: stm32f4xx_hal_sdram.c
Compile [ 92.9%]: stm32f4xx_hal_spdifrx.c
Compile [ 93.0%]: stm32f4xx_hal_sd.c
Compile [ 93.1%]: stm32f4xx_hal_smbus.c
Compile [ 93.2%]: stm32f4xx_hal_smartcard.c
Compile [ 93.3%]: stm32f4xx_hal_sram.c
Compile [ 93.5%]: stm32f4xx_ll_fmpi2c.c
Compile [ 93.6%]: stm32f4xx_hal_spi.c
Compile [ 93.7%]: stm32f4xx_hal_wwdg.c
Compile [ 93.8%]: stm32f4xx_hal_tim_ex.c
Compile [ 93.9%]: stm32f4xx_hal_usart.c
Compile [ 94.0%]: stm32f4xx_ll_crc.c
Compile [ 94.1%]: stm32f4xx_hal_uart.c
Compile [ 94.2%]: stm32f4xx_ll_adc.c
Compile [ 94.3%]: stm32f4xx_ll_dac.c
Compile [ 94.4%]: stm32f4xx_ll_dma.c
Compile [ 94.5%]: stm32f4xx_ll_exti.c
Compile [ 94.6%]: stm32f4xx_ll_dma2d.c
Compile [ 94.7%]: stm32f4xx_hal_tim.c
Compile [ 94.8%]: stm32f4xx_ll_fsmc.c
Compile [ 94.9%]: stm32f4xx_ll_fmc.c
Compile [ 95.0%]: stm32f4xx_ll_gpio.c
Compile [ 95.1%]: stm32f4xx_ll_i2c.c
Compile [ 95.2%]: stm32f4xx_ll_lptim.c
Compile [ 95.4%]: stm32f4xx_ll_pwr.c
Compile [ 95.5%]: startup_stm32f469xx.S
Compile [ 95.6%]: stm32f4xx_ll_rng.c
Compile [ 95.7%]: stm32f4xx_ll_spi.c
Compile [ 95.8%]: stm32f4xx_ll_rcc.c
Compile [ 95.9%]: stm32f4xx_ll_sdmmc.c
Compile [ 96.0%]: stm32f4xx_ll_rtc.c
Compile [ 96.1%]: stm32f4xx_ll_tim.c
Compile [ 96.2%]: stm32f4xx_ll_usart.c
Compile [ 96.3%]: system_stm32f4xx.c
Compile [ 96.4%]: stm32f4xx_ll_utils.c
Compile [ 96.5%]: stm32f4xx_ll_usb.c
Compile [ 96.6%]: system_clock.c
Compile [ 96.7%]: PeripheralPins.c
Compile [ 96.8%]: gpio_irq_device.c
Compile [ 96.9%]: analogout_device.c
Compile [ 97.0%]: flash_api.c
Compile [ 97.1%]: analogin_device.c
Compile [ 97.3%]: pwmout_device.c
Compile [ 97.4%]: ospi_api.c
Compile [ 97.5%]: analogin_api.c
Compile [ 97.6%]: spi_api.c
Compile [ 97.7%]: analogout_api.c
Compile [ 97.8%]: serial_device.c
Compile [ 97.9%]: gpio_api.c
Compile [ 98.0%]: hal_tick_overrides.c
Compile [ 98.1%]: can_api.c
[Warning] can_api.c@1027,31: & has lower precedence than <; < will be evaluated first [-Wparentheses]
Compile [ 98.2%]: gpio_irq_api.c
Compile [ 98.3%]: lp_ticker.c
Compile [ 98.4%]: mbed_crc_api.c
Compile [ 98.5%]: i2c_api.c
Compile [ 98.6%]: pinmap.c
Compile [ 98.7%]: mbed_overrides.c
Compile [ 98.8%]: USBPhy_STM32.cpp
Compile [ 98.9%]: port_api.c
Compile [ 99.0%]: reset_reason.c
Compile [ 99.2%]: pwmout_api.c
Compile [ 99.3%]: qspi_api.c
Compile [ 99.4%]: rtc_api.c
Compile [ 99.5%]: serial_api.c
Compile [ 99.6%]: sleep.c
Compile [ 99.7%]: trng_api.c
Compile [ 99.8%]: us_ticker.c
Compile [ 99.9%]: watchdog_api.c
Compile [100.0%]: stm_spi_api.c
Link: mbed-os-example-blinky
[Warning] @0,0: L3912W: Option 'legacyalign' is deprecated.
Elf2Bin: mbed-os-example-blinky
| Module               |         .text |     .data |        .bss |
|----------------------|---------------|-----------|-------------|
| [lib]\c_w.l          |   4202(+4202) |   16(+16) |   348(+348) |
| [lib]\fz_wm.l        |       26(+26) |     0(+0) |       0(+0) |
| [lib]\libcppabi_w.l  |       44(+44) |     0(+0) |       0(+0) |
| anon$$obj.o          |       32(+32) |     0(+0) | 1024(+1024) |
| main.o               |     160(+160) |     0(+0) |       0(+0) |
| mbed-os\cmsis        |   9708(+9708) | 168(+168) | 6738(+6738) |
| mbed-os\connectivity |     228(+228) |     0(+0) |       0(+0) |
| mbed-os\drivers      |       92(+92) |     0(+0) |       0(+0) |
| mbed-os\hal          |   1438(+1438) |     4(+4) |     58(+58) |
| mbed-os\platform     |   7616(+7616) |   64(+64) |   340(+340) |
| mbed-os\rtos         |     438(+438) |     0(+0) |       0(+0) |
| mbed-os\storage      |       54(+54) |     0(+0) |       4(+4) |
| mbed-os\targets      |   9124(+9124) |     8(+8) |   722(+722) |
| Subtotals            | 33162(+33162) | 260(+260) | 9234(+9234) |
Total Static RAM memory (data + bss): 9494(+9494) bytes
Total Flash memory (text + data): 33422(+33422) bytes
Image: BUILD/DISCO_F469NI/ARMC6\mbed-os-example-blinky.bin

 

근데 빌드 시간 대비로는... 용량이 엄청 적다?

gcc로도 변경이 가능하다는데 arm compiler 6 라서 작은건지 한번 교체후에 봐야할 듯.

 

 

 

C:\Program Files (x86)\Arm\GNU Toolchain mingw-w64-i686-arm-none-eabi

[링크 : https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads]

 

C:\Users\{username}\AppData\Local\Mbed Studio\external-tools.json

{
    "bundled": {
        "gcc": "C:/Program Files (x86)/GNU Arm Embedded Toolchain/9 2020-q2-update/bin"
    },
    "defaultToolchain": "GCC_ARM"
}

[링크 : https://os.mbed.com/docs/mbed-studio/current/installing/switching-to-gcc.html]

 

근데 너무 최신이라 그런가 안되서 버전 다운 다시 시도

 

 

다시보니 json 파일에 슬래시 대신 역슬래시를 넣어서 안되었던 것 같네  -_-

아니.. 윈도우인데 json내 경로에 왜 슬래시가 들어가?!?!?!

 

그 와중에 gcc라서 그런가 윈도우에서 속도가 어우.. 너무 느리다. 체감상 5배 이상 느린 느낌

1분 지났는데 20% 겨우 지나는 중

다시 빌드해보니 15분 걸림.. 어우.. 7배는 차이나네

[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  5.4%]: GEMALTO_CINTERION_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  5.5%]: GEMALTO_CINTERION.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  5.6%]: GEMALTO_CINTERION_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  5.7%]: GENERIC_AT3GPP.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  5.8%]: SARA4_PPP_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  5.9%]: SARA4_PPP.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.0%]: GEMALTO_CINTERION_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] GEMALTO_CINTERION_CellularStack.cpp@462,27: 'port_start' may be used uninitialized in this function [-Wmaybe-uninitialized]
Compile [  6.1%]: QUECTEL_BC95.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.2%]: QUECTEL_BC95_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.3%]: QUECTEL_BC95_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.4%]: QUECTEL_BC95_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.5%]: QUECTEL_BC95_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.7%]: QUECTEL_BG96.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.8%]: QUECTEL_BG96_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  6.9%]: QUECTEL_BG96_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.0%]: QUECTEL_BG96_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.1%]: QUECTEL_BG96_ControlPlane_netif.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.2%]: QUECTEL_EC2X.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.3%]: QUECTEL_M26_CellularInformation.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.4%]: QUECTEL_M26.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.5%]: QUECTEL_M26_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.6%]: QUECTEL_M26_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.7%]: QUECTEL_BG96_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.8%]: QUECTEL_UG96.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  7.9%]: QUECTEL_UG96_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  8.0%]: RM1000_AT.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  8.1%]: RM1000_AT_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  8.2%]: RM1000_AT_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  8.3%]: RM1000_AT_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  8.4%]: UBLOX_N2XX_CellularSMS.cpp
Compile [  8.6%]: TELIT_HE910.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  8.7%]: TELIT_ME310_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  8.8%]: stm32xx_emac.cpp
Compile [  8.9%]: stm32xx_eth_irq_callback.cpp
Compile [  9.0%]: TELIT_ME310.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  9.1%]: TELIT_ME310_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  9.2%]: aes_alt_stm32l4.c
Compile [  9.3%]: TELIT_ME910_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  9.4%]: TELIT_ME910.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  9.5%]: TELIT_ME910_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [  9.6%]: aes_alt.cpp
Compile [  9.7%]: cryp_stm32.c
Compile [  9.8%]: ccm_alt.cpp
Compile [  9.9%]: UBLOX_AT.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 10.0%]: hash_stm32.c
Compile [ 10.1%]: gcm_alt.cpp
Compile [ 10.2%]: TELIT_ME310_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 10.3%]: UBLOX_AT_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 10.5%]: md5_alt.cpp
Compile [ 10.6%]: sha1_alt.cpp
Compile [ 10.7%]: sha256_alt.cpp
Compile [ 10.8%]: UBLOX_AT_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 10.9%]: PN512TransportDriver.cpp
Compile [ 11.0%]: UBLOX_AT_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 11.1%]: pn512_cmd.c
Compile [ 11.2%]: pn512_hw.c
Compile [ 11.3%]: pn512.c
Compile [ 11.4%]: pn512_irq.c
Compile [ 11.5%]: pn512_poll.c
Compile [ 11.6%]: pn512_registers.c
Compile [ 11.7%]: UBLOX_N2XX.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 11.8%]: sn_coap_header_check.c
Compile [ 11.9%]: pn512_timer.c
Compile [ 12.0%]: pn512_rf.c
Compile [ 12.1%]: ip_fsc.c
Compile [ 12.2%]: pn512_transceive.c
Compile [ 12.4%]: sn_coap_builder.c
Compile [ 12.5%]: ns_list.c
Compile [ 12.6%]: common_functions.c
Compile [ 12.7%]: sn_coap_parser.c
[Warning] sn_coap_parser.c@736,55: comparison of integer expressions of different signedness: 'int' and 'uint_fast16_t' {aka 'unsigned int'} [-Wsign-compare]
[Warning] sn_coap_parser.c@803,75: comparison of integer expressions of different signedness: 'uint_fast16_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
Compile [ 12.8%]: sn_coap_protocol.c
Compile [ 12.9%]: stoip4.c
Compile [ 13.0%]: stoip6.c
Compile [ 13.1%]: UBLOX_N2XX_CellularContext.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 13.2%]: ip4tos.c
Compile [ 13.3%]: ip6tos.c
Compile [ 13.4%]: nsdynmemLIB.c
Compile [ 13.5%]: auth.c
Compile [ 13.6%]: ccp.c
Compile [ 13.7%]: ns_nvm_helper.c
Compile [ 13.8%]: nsdynmem_tracker_lib.c
Compile [ 13.9%]: chap-md5.c
Compile [ 14.0%]: chap-new.c
Compile [ 14.1%]: chap_ms.c
Compile [ 14.3%]: demand.c
Compile [ 14.4%]: eap.c
Compile [ 14.5%]: eui64.c
Compile [ 14.6%]: fsm.c
Compile [ 14.7%]: ipcp.c
Compile [ 14.8%]: ipv6cp.c
Compile [ 14.9%]: lcp.c
Compile [ 15.0%]: magic.c
Compile [ 15.1%]: mppe.c
Compile [ 15.2%]: multilink.c
Compile [ 15.3%]: ppp_arc4.c
Compile [ 15.4%]: ppp_des.c
Compile [ 15.5%]: ppp_md4.c
Compile [ 15.6%]: ppp_md5.c
Compile [ 15.7%]: ppp_sha1.c
Compile [ 15.8%]: ppp.c
Compile [ 15.9%]: ppp_ecp.c
Compile [ 16.1%]: pppapi.c
Compile [ 16.2%]: pppcrypt.c
Compile [ 16.3%]: pppoe.c
Compile [ 16.4%]: pppol2tp.c
Compile [ 16.5%]: pppos.cpp
Compile [ 16.6%]: upap.c
Compile [ 16.7%]: utils.c
Compile [ 16.8%]: vj.c
Compile [ 16.9%]: PN512Driver.cpp
Compile [ 17.0%]: UBLOX_N2XX_CellularNetwork.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 17.1%]: UBLOX_PPP.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 17.2%]: UBLOX_N2XX_CellularStack.cpp
[Warning] AT_CellularDevice.h@70,53: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Compile [ 17.3%]: PN512SPITransportDriver.cpp
Compile [ 17.4%]: ESP8266.cpp
Compile [ 17.5%]: ESP8266Interface.cpp
Compile [ 17.6%]: LoRaMacCrypto.cpp
Compile [ 17.7%]: LoRaMacChannelPlan.cpp
Compile [ 17.8%]: LoRaPHYAS923.cpp
Compile [ 18.0%]: LoRaPHY.cpp
Compile [ 18.1%]: lwip_checksum.c
Compile [ 18.2%]: LoRaMac.cpp
Compile [ 18.3%]: LoRaMacCommand.cpp
Compile [ 18.4%]: LoRaPHYAU915.cpp
Compile [ 18.5%]: LoRaPHYCN470.cpp
Compile [ 18.6%]: LoRaPHYCN779.cpp
Compile [ 18.7%]: ppp_service.cpp
Compile [ 18.8%]: lwip_memcpy.c
Compile [ 18.9%]: ppp_service_if.cpp
Compile [ 19.0%]: LoRaPHYEU433.cpp
Compile [ 19.1%]: LoRaPHYEU868.cpp
Compile [ 19.2%]: lwip_random.c
Compile [ 19.3%]: LoRaPHYIN865.cpp
Compile [ 19.4%]: lwip_tcp_isn.c
Compile [ 19.5%]: lwip_if_api.c
Compile [ 19.6%]: lwip_sys_arch.c
Compile [ 19.7%]: lwip_err.c
Compile [ 19.9%]: lwip_api_lib.c
Compile [ 20.0%]: lwip_netbuf.c
Compile [ 20.1%]: lwip_api_msg.c
Compile [ 20.2%]: LoRaPHYKR920.cpp
Compile [ 20.3%]: LoRaPHYUS915.cpp
Compile [ 20.4%]: LoRaWANTimer.cpp
Compile [ 20.5%]: LoRaWANInterface.cpp
Compile [ 20.6%]: lwip_netdb.c
Compile [ 20.7%]: lwip_netifapi.c
Compile [ 20.8%]: lwip_sockets.c
Compile [ 20.9%]: lwip_autoip.c
Compile [ 21.0%]: lwip_tcpip.c
Compile [ 21.1%]: LoRaWANStack.cpp
[Warning] LoRaWANStack.cpp@743,93: 'int events::EventQueue::call_in(int, T*, R (T::*)(ArgTs ...), ArgTs ...) [with T = LoRaWANStack; R = lorawan_status; ArgTs = {device_states}]' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
Compile [ 21.2%]: lwip_dhcp.c
Compile [ 21.3%]: lwip_etharp.c
Compile [ 21.4%]: lwip_icmp.c
Compile [ 21.5%]: lwip_igmp.c
Compile [ 21.6%]: lwip_ip4_addr.c
Compile [ 21.8%]: lwip_ip4.c
Compile [ 21.9%]: lwip_dhcp6.c
Compile [ 22.0%]: lwip_ip4_frag.c
Compile [ 22.1%]: lwip_ethip6.c
Compile [ 22.2%]: lwip_icmp6.c
Compile [ 22.3%]: lwip_inet6.c
Compile [ 22.4%]: lwip_ip6.c
Compile [ 22.5%]: lwip_ip6_addr.c
Compile [ 22.6%]: lwip_mld6.c
Compile [ 22.7%]: lwip_ip6_frag.c
Compile [ 22.8%]: lwip_nd6.c
Compile [ 22.9%]: lwip_altcp.c
Compile [ 23.0%]: lwip_altcp_alloc.c
Compile [ 23.1%]: lwip_altcp_tcp.c
Compile [ 23.2%]: lwip_def.c
Compile [ 23.3%]: lwip_inet_chksum.c
Compile [ 23.4%]: lwip_dns.c
Compile [ 23.5%]: lwip_ip.c
Compile [ 23.7%]: lwip_init.c
Compile [ 23.8%]: lwip_mem.c
Compile [ 23.9%]: lwip_memp.c
Compile [ 24.0%]: lwip_pbuf.c
Compile [ 24.1%]: lwip_netif.c
Compile [ 24.2%]: lwip_raw.c
Compile [ 24.3%]: lwip_stats.c
Compile [ 24.4%]: lwip_sys.c
Compile [ 24.5%]: lwip_tcp.c
Compile [ 24.6%]: lwip_tcp_out.c
Compile [ 24.7%]: lwip_tcp_in.c
Compile [ 24.8%]: lwip_udp.c
Compile [ 24.9%]: lwip_timeouts.c
Compile [ 25.0%]: lwip_bridgeif.c
Compile [ 25.1%]: lwip_lowpan6.c
Compile [ 25.2%]: lwip_bridgeif_fdb.c
Compile [ 25.3%]: lwip_ethernet.c
Compile [ 25.4%]: hash_wrappers.c
Compile [ 25.6%]: lwip_lowpan6_ble.c
Compile [ 25.7%]: shared_rng.cpp
Compile [ 25.8%]: timing_mbed.cpp
Compile [ 25.9%]: aesni.c
Compile [ 26.0%]: arc4.c
Compile [ 26.1%]: lwip_lowpan6_common.c
Compile [ 26.2%]: aria.c
Compile [ 26.3%]: blowfish.c
Compile [ 26.4%]: lwip_zepif.c
Compile [ 26.5%]: base64.c
Compile [ 26.6%]: platform_alt.cpp
Compile [ 26.7%]: camellia.c
Compile [ 26.8%]: certs.c
Compile [ 26.9%]: aes.c
Compile [ 27.0%]: ccm.c
Compile [ 27.1%]: asn1parse.c
Compile [ 27.2%]: asn1write.c
Compile [ 27.3%]: bignum.c
Compile [ 27.5%]: chacha20.c
Compile [ 27.6%]: chachapoly.c
Compile [ 27.7%]: des.c
Compile [ 27.8%]: dhm.c
Compile [ 27.9%]: ctr_drbg.c
Compile [ 28.0%]: ecjpake.c
Compile [ 28.1%]: cipher.c
Compile [ 28.2%]: cipher_wrap.c
Compile [ 28.3%]: ecdh.c
Compile [ 28.4%]: cmac.c
Compile [ 28.5%]: debug.c
Compile [ 28.6%]: ecp_curves.c
Compile [ 28.7%]: entropy.c
Compile [ 28.8%]: entropy_poll.c
Compile [ 28.9%]: havege.c
Compile [ 29.0%]: ecdsa.c
Compile [ 29.1%]: gcm.c
Compile [ 29.3%]: md2.c
Compile [ 29.4%]: ecp.c
Compile [ 29.5%]: md4.c
Compile [ 29.6%]: md5.c
Compile [ 29.7%]: hkdf.c
Compile [ 29.8%]: hmac_drbg.c
Compile [ 29.9%]: memory_buffer_alloc.c
Compile [ 30.0%]: net_sockets.c
Compile [ 30.1%]: nist_kw.c
Compile [ 30.2%]: padlock.c
Compile [ 30.3%]: error.c
Compile [ 30.4%]: pkcs11.c
Compile [ 30.5%]: pk.c
Compile [ 30.6%]: pkcs12.c
Compile [ 30.7%]: pkcs5.c
Compile [ 30.8%]: md.c
Compile [ 30.9%]: oid.c
Compile [ 31.0%]: pem.c
Compile [ 31.2%]: pk_wrap.c
Compile [ 31.3%]: poly1305.c
Compile [ 31.4%]: ripemd160.c
Compile [ 31.5%]: platform_util.c
Compile [ 31.6%]: mbed_trng.cpp
Compile [ 31.7%]: platform.c
Compile [ 31.8%]: sha1.c
Compile [ 31.9%]: pkparse.c
Compile [ 32.0%]: rsa_internal.c
Compile [ 32.1%]: pkwrite.c
Compile [ 32.2%]: sha256.c
Compile [ 32.3%]: sha512.c
Compile [ 32.4%]: rsa.c
Compile [ 32.5%]: LWIPInterface.cpp
Compile [ 32.6%]: LWIPInterfaceEMAC.cpp
Compile [ 32.7%]: ssl_tls13_keys.c
Compile [ 32.8%]: ssl_ciphersuites.c
Compile [ 32.9%]: ssl_cache.c
Compile [ 33.1%]: threading.c
Compile [ 33.2%]: ssl_cookie.c
Compile [ 33.3%]: LWIPInterfaceL3IP.cpp
Compile [ 33.4%]: ssl_cli.c
Compile [ 33.5%]: x509_create.c
Compile [ 33.6%]: LWIPMemoryManager.cpp
Compile [ 33.7%]: ssl_msg.c
Compile [ 33.8%]: ssl_srv.c
Compile [ 33.9%]: x509_csr.c
Compile [ 34.0%]: LWIPInterfacePPP.cpp
Compile [ 34.1%]: version.c
Compile [ 34.2%]: version_features.c
Compile [ 34.3%]: ssl_ticket.c
Compile [ 34.4%]: x509write_crt.c
Compile [ 34.5%]: x509write_csr.c
Compile [ 34.6%]: xtea.c
Compile [ 34.7%]: timing.c
Compile [ 34.8%]: ssl_tls.c
Compile [ 35.0%]: lwip_tools.cpp
Compile [ 35.1%]: x509.c
Compile [ 35.2%]: coap_message_handler.c
Compile [ 35.3%]: LWIPStack.cpp
Compile [ 35.4%]: x509_crl.c
Compile [ 35.5%]: x509_crt.c
Compile [ 35.6%]: coap_connection_handler.c
Compile [ 35.7%]: coap_service_api.c
Compile [ 35.8%]: coap_security_handler.c
Compile [ 35.9%]: ethernet_tasklet.c
Compile [ 36.0%]: nd_tasklet.c
Compile [ 36.1%]: thread_tasklet.c
Compile [ 36.2%]: arm_hal_interrupt.c
Compile [ 36.3%]: wisun_tasklet.c
Compile [ 36.4%]: mesh_system.c
Compile [ 36.5%]: arm_hal_random.c
Compile [ 36.6%]: ns_event_loop.c
Compile [ 36.7%]: ns_event_loop_mutex.c
Compile [ 36.9%]: ns_file_system_api.cpp
Compile [ 37.0%]: ns_hal_init.c
Compile [ 37.1%]: nvm_ram.c
Compile [ 37.2%]: event.c
Compile [ 37.3%]: ns_timeout.c
Compile [ 37.4%]: ns_timer.c
Compile [ 37.5%]: system_timer.c
Compile [ 37.6%]: network_lib.c
Compile [ 37.7%]: protocol_6lowpan_bootstrap.c
Compile [ 37.8%]: protocol_6lowpan.c
Compile [ 37.9%]: NanostackMemoryManager.cpp
Compile [ 38.0%]: CallbackHandler.cpp
Compile [ 38.1%]: NanostackEthernetInterface.cpp
Compile [ 38.2%]: MeshInterfaceNanostack.cpp
Compile [ 38.3%]: LoWPANNDInterface.cpp
Compile [ 38.4%]: NanostackEMACInterface.cpp
Compile [ 38.5%]: NanostackPPPInterface.cpp
Compile [ 38.6%]: protocol_6lowpan_interface.c
Compile [ 38.8%]: arm_hal_fhss_timer.cpp
Compile [ 38.9%]: cipv6_fragmenter.c
Compile [ 39.0%]: iphc_compress.c
Compile [ 39.1%]: 6lowpan_iphc.c
Compile [ 39.2%]: WisunBorderRouter.cpp
Compile [ 39.3%]: ThreadInterface.cpp
Compile [ 39.4%]: lowpan_context.c
Compile [ 39.5%]: ns_event_loop_mbed.cpp
Compile [ 39.6%]: iphc_decompress.c
Compile [ 39.7%]: WisunInterface.cpp
Compile [ 39.8%]: mac_ie_lib.c
Compile [ 39.9%]: beacon_handler.c
Compile [ 40.0%]: mac_helper.c
Compile [ 40.1%]: mac_data_poll.c
Compile [ 40.2%]: arm_hal_timer.cpp
Compile [ 40.3%]: mac_pairwise_key.c
Compile [ 40.4%]: mesh.c
Compile [ 40.5%]: thread_beacon.c
Compile [ 40.7%]: mac_response_handler.c
Compile [ 40.8%]: nwk_nvm.c
Compile [ 40.9%]: nd_router_object.c
Compile [ 41.0%]: thread_border_router_api.c
Compile [ 41.1%]: thread_bbr_commercial.c
Compile [ 41.2%]: thread_bbr_api.c
Compile [ 41.3%]: thread_commissioning_if.c
Compile [ 41.4%]: thread_commissioning_api.c
Compile [ 41.5%]: thread_dhcpv6_server.c
Compile [ 41.6%]: thread_lowpower_private_api.c
Compile [ 41.7%]: thread_diagnostic.c
Compile [ 41.8%]: thread_ccm.c
Compile [ 41.9%]: thread_discovery.c
Compile [ 42.0%]: thread_host_bootstrap.c
Compile [ 42.1%]: thread_lowpower_api.c
Compile [ 42.2%]: thread_meshcop_lib.c
Compile [ 42.3%]: thread_bootstrap.c
Compile [ 42.4%]: thread_common.c
Compile [ 42.6%]: thread_net_config_api.c
Compile [ 42.7%]: thread_management_api.c
Compile [ 42.8%]: thread_joiner_application.c
Compile [ 42.9%]: thread_management_client.c
Compile [ 43.0%]: thread_mdns.c
Compile [ 43.1%]: thread_leader_service.c
Compile [ 43.2%]: thread_neighbor_class.c
Compile [ 43.3%]: thread_mle_message_handler.c
Compile [ 43.4%]: thread_nd.c
Compile [ 43.5%]: thread_resolution_client.c
Compile [ 43.6%]: thread_management_server.c
Compile [ 43.7%]: thread_resolution_server.c
Compile [ 43.8%]: thread_network_data_lib.c
Compile [ 43.9%]: thread_management_if.c
Compile [ 44.0%]: thread_network_data_storage.c
Compile [ 44.1%]: thread_network_synch.c
Compile [ 44.2%]: thread_nvm_store.c
Compile [ 44.4%]: thread_routing.c
Compile [ 44.5%]: adaptation_interface.c
[Warning] adaptation_interface.c@1663,8: 'active_direct_confirm' may be used uninitialized in this function [-Wmaybe-uninitialized]
Compile [ 44.6%]: ws_bbr_api.c
Compile [ 44.7%]: thread_test_api.c
Compile [ 44.8%]: ws_cfg_settings.c
Compile [ 44.9%]: ws_eapol_auth_relay.c
Compile [ 45.0%]: thread_router_bootstrap.c
Compile [ 45.1%]: ws_eapol_relay_lib.c
Compile [ 45.2%]: ws_eapol_pdu.c
Compile [ 45.3%]: ws_bootstrap_6lbr.c
Compile [ 45.4%]: ws_bootstrap.c
Compile [ 45.5%]: ws_eapol_relay.c
Compile [ 45.6%]: ws_bootstrap_6ln.c
Compile [ 45.7%]: ws_common.c
Compile [ 45.8%]: ws_empty_functions.c
Compile [ 45.9%]: ws_bootstrap_6lr.c
Compile [ 46.0%]: ws_bootstrap_ffn.c
Compile [ 46.1%]: ws_ie_lib.c
Compile [ 46.3%]: ws_mpx_header.c
Compile [ 46.4%]: ws_management_api.c
Compile [ 46.5%]: ws_pae_nvm_store.c
Compile [ 46.6%]: ws_neighbor_class.c
Compile [ 46.7%]: ws_pae_time.c
Compile [ 46.8%]: ws_llc_data_service.c
Compile [ 46.9%]: ws_phy.c
Compile [ 47.0%]: ws_stats.c
Compile [ 47.1%]: ws_pae_nvm_data.c
Compile [ 47.2%]: ws_pae_lib.c
Compile [ 47.3%]: ws_pae_key_storage.c
Compile [ 47.4%]: ws_pae_auth.c
Compile [ 47.5%]: ws_pae_timers.c
Compile [ 47.6%]: ws_pae_controller.c
Compile [ 47.7%]: ipv6_flow.c
Compile [ 47.8%]: ws_pae_supp.c
Compile [ 47.9%]: ws_test_api.c
Compile [ 48.0%]: icmpv6_prefix.c
Compile [ 48.2%]: icmpv6_radv.c
Compile [ 48.3%]: ns_monitor.c
Compile [ 48.4%]: ipv6.c
Compile [ 48.5%]: ipv6_fragmentation.c
Compile [ 48.6%]: buffer_dyn.c
Compile [ 48.7%]: mld.c
Compile [ 48.8%]: border_router.c
Compile [ 48.9%]: udp.c
Compile [ 49.0%]: icmpv6.c
Compile [ 49.1%]: ipv6_resolution.c
Compile [ 49.2%]: sockbuf.c
Compile [ 49.3%]: tcp.c
Compile [ 49.4%]: ns_address_internal.c
Compile [ 49.5%]: DHCPv6_Server_service.c
Compile [ 49.6%]: dhcpv6_client_service.c
Compile [ 49.7%]: mac_cca_threshold.c
Compile [ 49.8%]: mac_fhss_callbacks.c
Compile [ 49.9%]: ns_socket.c
Compile [ 50.1%]: mac_timer.c
Compile [ 50.2%]: mac_filter.c
Compile [ 50.3%]: mac_header_helper_functions.c
Compile [ 50.4%]: mac_indirect_data.c
Compile [ 50.5%]: mac_mode_switch.c
Compile [ 50.6%]: mac_security_mib.c
Compile [ 50.7%]: mac_pd_sap.c
Compile [ 50.8%]: mac_mlme.c
Compile [ 50.9%]: sw_mac.c
Compile [ 51.0%]: mac_mcps_sap.c
Compile [ 51.1%]: ethernet_mac_api.c
Compile [ 51.2%]: rf_driver_storage.c
Compile [ 51.3%]: serial_mac_api.c
Compile [ 51.4%]: mle_tlv.c
Compile [ 51.5%]: protocol_stats.c
Compile [ 51.6%]: rpl_objective.c
Compile [ 51.7%]: protocol_timer.c
Compile [ 51.8%]: virtual_rf_driver.c
Compile [ 52.0%]: virtual_rf_client.c
Compile [ 52.1%]: rpl_mrhof.c
Compile [ 52.2%]: rpl_of0.c
Compile [ 52.3%]: rpl_policy.c
Compile [ 52.4%]: mle.c
Compile [ 52.5%]: protocol_core_sleep.c
Compile [ 52.6%]: mpl.c
Compile [ 52.7%]: rpl_downward.c
Compile [ 52.8%]: rpl_data.c
Compile [ 52.9%]: rpl_control.c
Compile [ 53.0%]: pana_header.c
Compile [ 53.1%]: pana_avp.c
Compile [ 53.2%]: pana_eap_header.c
Compile [ 53.3%]: rpl_upward.c
Compile [ 53.4%]: pana_relay_table.c
Compile [ 53.5%]: protocol_core.c
Compile [ 53.6%]: tls_ccm_crypt.c
Compile [ 53.7%]: eap_protocol.c
Compile [ 53.9%]: security_lib.c
Compile [ 54.0%]: pana.c
Compile [ 54.1%]: eapol_helper.c
Compile [ 54.2%]: kde_helper.c
Compile [ 54.3%]: tls_lib.c
Compile [ 54.4%]: pana_client.c
Compile [ 54.5%]: kmp_addr.c
Compile [ 54.6%]: kmp_api.c
Compile [ 54.7%]: pana_server.c
Compile [ 54.8%]: kmp_eapol_pdu_if.c
Compile [ 54.9%]: kmp_socket_if.c
Compile [ 55.0%]: auth_eap_tls_sec_prot.c
Compile [ 55.1%]: eap_tls_sec_prot_lib.c
Compile [ 55.2%]: radius_eap_tls_sec_prot.c
Compile [ 55.3%]: supp_eap_tls_sec_prot.c
Compile [ 55.4%]: auth_fwh_sec_prot.c
Compile [ 55.5%]: supp_fwh_sec_prot.c
Compile [ 55.6%]: avp_helper.c
Compile [ 55.8%]: supp_gkh_sec_prot.c
Compile [ 55.9%]: auth_gkh_sec_prot.c
Compile [ 56.0%]: key_sec_prot.c
Compile [ 56.1%]: msg_sec_prot.c
Compile [ 56.2%]: aes_mbedtls_adapter.c
Compile [ 56.3%]: sec_prot_certs.c
Compile [ 56.4%]: ccm_security.c
Compile [ 56.5%]: sec_prot_keys.c
Compile [ 56.6%]: trickle.c
Compile [ 56.7%]: radius_client_sec_prot.c
Compile [ 56.8%]: channel_functions.c
Compile [ 56.9%]: neighbor_cache.c
Compile [ 57.0%]: tls_sec_prot.c
[Warning] tls_sec_prot.c@514,22: unused variable 'remote_eui_64' [-Wunused-variable]
Compile [ 57.1%]: ns_sha256.c
Compile [ 57.2%]: shalib.c
Compile [ 57.3%]: sec_prot_lib.c
Compile [ 57.4%]: fhss_channel.c
Compile [ 57.6%]: fhss_statistics.c
Compile [ 57.7%]: channel_list.c
Compile [ 57.8%]: blacklist.c
Compile [ 57.9%]: fnv_hash.c
Compile [ 58.0%]: etx.c
Compile [ 58.1%]: fhss_common.c
Compile [ 58.2%]: fhss.c
Compile [ 58.3%]: tls_sec_prot_lib.c
Compile [ 58.4%]: fhss_test_api.c
Compile [ 58.5%]: fhss_configuration_interface.c
Compile [ 58.6%]: fhss_ws_empty_functions.c
Compile [ 58.7%]: fhss_ws.c
Compile [ 58.8%]: hmac_md.c
Compile [ 58.9%]: load_balance.c
Compile [ 59.0%]: ieee_802_11.c
Compile [ 59.1%]: mac_neighbor_table.c
Compile [ 59.2%]: fnet_poll.c
Compile [ 59.3%]: fnet_stdlib.c
Compile [ 59.5%]: ns_fnet_events.c
Compile [ 59.6%]: ns_mdns_api.c
Compile [ 59.7%]: ns_crc.c
Compile [ 59.8%]: ns_fnet_port.c
Compile [ 59.9%]: mle_service_interface.c
Compile [ 60.0%]: isqrt.c
Compile [ 60.1%]: mle_service_buffer.c
Compile [ 60.2%]: mle_service_frame_counter_table.c
Compile [ 60.3%]: mle_service_security.c
Compile [ 60.4%]: nd_proxy.c
Compile [ 60.5%]: fnet_mdns.c
Compile [ 60.6%]: pan_blacklist.c
Compile [ 60.7%]: ns_conf.c
Compile [ 60.8%]: random_early_detection.c
Compile [ 60.9%]: nist_aes_kw.c
Compile [ 61.0%]: mle_service.c
Compile [ 61.1%]: whiteboard.c
Compile [ 61.2%]: libDHCPv6_vendordata.c
Compile [ 61.4%]: libDHCPv6.c
Compile [ 61.5%]: libDHCPv6_server.c
Compile [ 61.6%]: ns_file_system.c
Compile [ 61.7%]: multicast_api.c
Compile [ 61.8%]: ns_time.c
Compile [ 61.9%]: net_6lowpan_parameter_api.c
Compile [ 62.0%]: dhcp_service_api.c
Compile [ 62.1%]: net_dns.c
Compile [ 62.2%]: net_ipv6.c
Compile [ 62.3%]: net_mle.c
Compile [ 62.4%]: net_rpl.c
Compile [ 62.5%]: protocol_ipv6.c
Compile [ 62.6%]: ipv6_routing_table.c
Compile [ 62.7%]: net_short_address_extension.c
Compile [ 62.8%]: net_load_balance.c
Compile [ 62.9%]: net_test.c
Compile [ 63.0%]: socket_api.c
Compile [ 63.1%]: ns_net.c
Compile [ 63.3%]: NetworkInterfaceDefaults.cpp
Compile [ 63.4%]: NetworkInterface.cpp
Compile [ 63.5%]: NetworkStack.cpp
Compile [ 63.6%]: SocketAddress.cpp
Compile [ 63.7%]: ICMPSocket.cpp
Compile [ 63.8%]: InternetSocket.cpp
Compile [ 63.9%]: DTLSSocket.cpp
Compile [ 64.0%]: InternetDatagramSocket.cpp
Compile [ 64.1%]: DTLSSocketWrapper.cpp
Compile [ 64.2%]: NetStackMemoryManager.cpp
Compile [ 64.3%]: WiFiAccessPoint.cpp
Compile [ 64.4%]: CellularNonIPSocket.cpp
Compile [ 64.5%]: EthernetInterface.cpp
Compile [ 64.6%]: EMACInterface.cpp
Compile [ 64.7%]: L3IPInterface.cpp
Compile [ 64.8%]: Nanostack.cpp
Compile [ 64.9%]: ac_stream.c
Compile [ 65.0%]: ac_buffer_builder.c
Compile [ 65.2%]: ac_buffer_reader.c
Compile [ 65.3%]: ac_buffer.c
Compile [ 65.4%]: ndef.c
Compile [ 65.5%]: nfc_scheduler.c
Compile [ 65.6%]: PPPInterface.cpp
Compile [ 65.7%]: nfc_transport.c
Compile [ 65.8%]: iso7816.c
Compile [ 65.9%]: iso7816_app.c
Compile [ 66.0%]: transceiver.c
Compile [ 66.1%]: isodep_target.c
Compile [ 66.2%]: type4_target.c
Compile [ 66.3%]: SocketStats.cpp
Compile [ 66.4%]: TCPSocket.cpp
Compile [ 66.5%]: NFCNDEFCapable.cpp
Compile [ 66.6%]: TLSSocket.cpp
Compile [ 66.7%]: NFCTarget.cpp
Compile [ 66.8%]: NFCRemoteInitiator.cpp
Compile [ 66.9%]: NFCEEPROMDriver.cpp
Compile [ 67.1%]: NFCControllerDriver.cpp
Compile [ 67.2%]: TLSSocketWrapper.cpp
Compile [ 67.3%]: NFCEEPROM.cpp
Compile [ 67.4%]: UDPSocket.cpp
Compile [ 67.5%]: nsapi_ppp.cpp
Compile [ 67.6%]: nsapi_dns.cpp
Compile [ 67.7%]: MessageBuilder.cpp
Compile [ 67.8%]: MessageParser.cpp
Compile [ 67.9%]: NFCController.cpp
Compile [ 68.0%]: NFCRemoteEndpoint.cpp
Compile [ 68.1%]: RecordParser.cpp
Compile [ 68.2%]: Type4RemoteInitiator.cpp
Compile [ 68.3%]: Mime.cpp
Compile [ 68.4%]: Text.cpp
Compile [ 68.5%]: SimpleMessageParser.cpp
Compile [ 68.6%]: URI.cpp
Compile [ 68.7%]: util.cpp
Compile [ 68.8%]: AnalogOut.cpp
Compile [ 69.0%]: BusIn.cpp
Compile [ 69.1%]: AnalogIn.cpp
Compile [ 69.2%]: BusInOut.cpp
Compile [ 69.3%]: DigitalIn.cpp
Compile [ 69.4%]: BusOut.cpp
Compile [ 69.5%]: DigitalInOut.cpp
Compile [ 69.6%]: ResetReason.cpp
Compile [ 69.7%]: DigitalOut.cpp
Compile [ 69.8%]: I2CSlave.cpp
Compile [ 69.9%]: DeviceKey.cpp
Compile [ 70.0%]: OSPI.cpp
Compile [ 70.1%]: MbedCRC.cpp
Compile [ 70.2%]: BufferedSerial.cpp
Compile [ 70.3%]: PortIn.cpp
Compile [ 70.4%]: FlashIAP.cpp
Compile [ 70.5%]: PortInOut.cpp
Compile [ 70.6%]: CAN.cpp
Compile [ 70.7%]: PortOut.cpp
Compile [ 70.9%]: PwmOut.cpp
Compile [ 71.0%]: EndpointResolver.cpp
Compile [ 71.1%]: InterruptIn.cpp
Compile [ 71.2%]: ByteBuffer.cpp
Compile [ 71.3%]: SPISlave.cpp
Compile [ 71.4%]: LinkedListBase.cpp
Compile [ 71.5%]: I2C.cpp
Compile [ 71.6%]: Watchdog.cpp
Compile [ 71.7%]: SerialWireOutput.cpp
Compile [ 71.8%]: TimerEvent.cpp
Compile [ 71.9%]: QSPI.cpp
Compile [ 72.0%]: Timer.cpp
Compile [ 72.1%]: SerialBase.cpp
Compile [ 72.2%]: SPI.cpp
Compile [ 72.3%]: AsyncOp.cpp
Compile [ 72.4%]: Ticker.cpp
Compile [ 72.5%]: OperationListBase.cpp
Compile [ 72.7%]: USBAudio.cpp
Compile [ 72.8%]: Timeout.cpp
Compile [ 72.9%]: USBCDC.cpp
Compile [ 73.0%]: USBDevice.cpp
Compile [ 73.1%]: UnbufferedSerial.cpp
Compile [ 73.2%]: equeue_posix.c
Compile [ 73.3%]: equeue.c
Compile [ 73.4%]: PolledQueue.cpp
Compile [ 73.5%]: TaskBase.cpp
Compile [ 73.6%]: USBHID.cpp
Compile [ 73.7%]: greentea_test_env.cpp
[Warning] greentea_test_env.cpp@67,28: 'void greentea_metrics_setup()' is deprecated: Greentea metrics API are deprecated [since mbed-os-6.14] [-Wdeprecated-declarations]
[Warning] greentea_test_env.cpp@67,28: 'void greentea_metrics_setup()' is deprecated: Greentea metrics API are deprecated [since mbed-os-6.14] [-Wdeprecated-declarations]
[Warning] greentea_test_env.cpp@464,29: 'void greentea_metrics_report()' is deprecated: Greentea metrics API are deprecated [since mbed-os-6.14] [-Wdeprecated-declarations]
[Warning] greentea_test_env.cpp@464,29: 'void greentea_metrics_report()' is deprecated: Greentea metrics API are deprecated [since mbed-os-6.14] [-Wdeprecated-declarations]
Compile [ 73.8%]: ns_cmdline.c
Compile [ 73.9%]: USBMIDI.cpp
Compile [ 74.0%]: USBCDC_ECM.cpp
Compile [ 74.1%]: unity.c
Compile [ 74.2%]: mbed_io.cpp
Compile [ 74.3%]: greentea_metrics.cpp
Compile [ 74.4%]: USBMouse.cpp
Compile [ 74.6%]: utest_stack_trace.cpp
Compile [ 74.7%]: USBMSD.cpp
Compile [ 74.8%]: utest_print.cpp
Compile [ 74.9%]: USBKeyboard.cpp
Compile [ 75.0%]: mbed_shared_queues.cpp
Compile [ 75.1%]: mbed_critical_section_api.c
Compile [ 75.2%]: USBMouseKeyboard.cpp
Compile [ 75.3%]: EventQueue.cpp
Compile [ 75.4%]: mbed_itm_api.c
Compile [ 75.5%]: mbed_compat.c
Compile [ 75.6%]: USBSerial.cpp
Compile [ 75.7%]: mbed-utest-shim.cpp
Compile [ 75.8%]: utest_case.cpp
Compile [ 75.9%]: equeue_mbed.cpp
Compile [ 76.0%]: utest_default_handlers.cpp
Compile [ 76.1%]: unity_handler.cpp
Compile [ 76.2%]: utest_greentea_handlers.cpp
Compile [ 76.3%]: mbed_flash_api.c
Compile [ 76.5%]: utest_harness.cpp
Compile [ 76.6%]: mbed_gpio.c
Compile [ 76.7%]: mbed_gpio_irq.c
Compile [ 76.8%]: mbed_lp_ticker_api.c
Compile [ 76.9%]: randLIB.c
Compile [ 77.0%]: utest_types.cpp
Compile [ 77.1%]: CriticalSectionLock.cpp
Compile [ 77.2%]: mbed_usb_phy.cpp
Compile [ 77.3%]: mbed_pinmap_common.c
Compile [ 77.4%]: mbed_trace.c
Compile [ 77.5%]: mbed_us_ticker_api.c
Compile [ 77.6%]: mbed_pinmap_default.cpp
Compile [ 77.7%]: mbed_mpu_v7m.c
Compile [ 77.8%]: mbed_mpu_v8m.c
Compile [ 77.9%]: mbed_ticker_api.c
Compile [ 78.0%]: utest_shim.cpp
Compile [ 78.1%]: except.S
Compile [ 78.2%]: LowPowerTickerWrapper.cpp
Compile [ 78.4%]: static_pinmap.cpp
Compile [ 78.5%]: mbed_assert.c
Compile [ 78.6%]: CThunkBase.cpp
Compile [ 78.7%]: mbed_application.c
Compile [ 78.8%]: LocalFileSystem.cpp
Compile [ 78.9%]: mbed_lp_ticker_wrapper.cpp
Compile [ 79.0%]: mbed_fault_handler.c
Compile [ 79.1%]: mbed_atomic_impl.c
Compile [ 79.2%]: mstd_mutex.cpp
Compile [ 79.3%]: DeepSleepLock.cpp
Compile [ 79.4%]: mbed_critical.c
Compile [ 79.5%]: mbed_mktime.c
Compile [ 79.6%]: ATCmdParser.cpp
Compile [ 79.7%]: SysTimer.cpp
Compile [ 79.8%]: mbed_board.c
Compile [ 79.9%]: FileHandle.cpp
Compile [ 80.0%]: mbed_alloc_wrappers.cpp
Compile [ 80.1%]: FileBase.cpp
Compile [ 80.3%]: FileSystemHandle.cpp
Compile [ 80.4%]: mbed_error_hist.c
Compile [ 80.5%]: mbed_interface.c
Compile [ 80.6%]: mbed_printf_armlink_overrides.c
Compile [ 80.7%]: FilePath.cpp
Compile [ 80.8%]: mbed_error.c
Compile [ 80.9%]: newlib_nano_malloc_workaround.c
Compile [ 81.0%]: Stream.cpp
Compile [ 81.1%]: mbed_mpu_mgmt.c
Compile [ 81.2%]: mbed_printf_wrapper.c
Compile [ 81.3%]: mbed_printf_implementation.c
Compile [ 81.4%]: mbed_sdk_boot.c
Compile [ 81.5%]: mbed_semihost_api.c
Compile [ 81.6%]: ConditionVariable.cpp
Compile [ 81.7%]: mbed_power_mgmt.c
Compile [ 81.8%]: mbed_wait_api_no_rtos.c
Compile [ 81.9%]: mbed_stats.c
Compile [ 82.0%]: Mutex.cpp
Compile [ 82.2%]: mbed_mem_trace.cpp
Compile [ 82.3%]: mbed_os_timer.cpp
Compile [ 82.4%]: mbed_rtc_time.cpp
Compile [ 82.5%]: mbed_poll.cpp
Compile [ 82.6%]: mbed_thread.cpp
Compile [ 82.7%]: ProfilingBlockDevice.cpp
Compile [ 82.8%]: Kernel.cpp
Compile [ 82.9%]: EventFlags.cpp
Compile [ 83.0%]: Semaphore.cpp
Compile [ 83.1%]: mbed_retarget.cpp
[Warning] mbed_retarget.cpp@1942,14: 'void validate_errno_values(int)' defined but not used [-Wunused-function]
Compile [ 83.2%]: Thread.cpp
Compile [ 83.3%]: ffunicode.cpp
Compile [ 83.4%]: SlicingBlockDevice.cpp
Compile [ 83.5%]: ChainingBlockDevice.cpp
Compile [ 83.6%]: BufferedBlockDevice.cpp
Compile [ 83.7%]: ReadOnlyBlockDevice.cpp
Compile [ 83.8%]: ExhaustibleBlockDevice.cpp
Compile [ 83.9%]: ThisThread.cpp
Compile [ 84.1%]: ff.cpp
Compile [ 84.2%]: FlashSimBlockDevice.cpp
Compile [ 84.3%]: FlashIAPBlockDevice.cpp
Compile [ 84.4%]: lfs_util.c
Compile [ 84.5%]: lfs.c
Compile [ 84.6%]: lfs2_util.c
Compile [ 84.7%]: lfs2.c
Compile [ 84.8%]: HeapBlockDevice.cpp
Compile [ 84.9%]: QSPIFBlockDevice.cpp
Compile [ 85.0%]: MBRBlockDevice.cpp
Compile [ 85.1%]: ObservingBlockDevice.cpp
Compile [ 85.2%]: SFDP.cpp
Compile [ 85.3%]: stm32f4xx_hal_can_legacy.c
Compile [ 85.4%]: stm32f4xx_hal.c
Compile [ 85.5%]: stm32f4xx_hal_adc.c
Compile [ 85.6%]: stm32f4xx_hal_adc_ex.c
Compile [ 85.7%]: DirectAccessDevicekey.cpp
Compile [ 85.9%]: FATFileSystem.cpp
Compile [ 86.0%]: Dir.cpp
Compile [ 86.1%]: File.cpp
Compile [ 86.2%]: LittleFileSystem.cpp
Compile [ 86.3%]: stm32f4xx_hal_can.c
Compile [ 86.4%]: LittleFileSystem2.cpp
Compile [ 86.5%]: FileSystem.cpp
Compile [ 86.6%]: SecureStore.cpp
Compile [ 86.7%]: TDBStore.cpp
[Warning] TDBStore.cpp@1488,13: unused variable 'ret' [-Wunused-variable]
Compile [ 86.8%]: FileSystemStore.cpp
Compile [ 86.9%]: KVMap.cpp
Compile [ 87.0%]: kvstore_global_api.cpp
Compile [ 87.1%]: stm32f4xx_hal_cec.c
Compile [ 87.2%]: stm32f4xx_hal_cortex.c
Compile [ 87.3%]: stm32f4xx_hal_crc.c
Compile [ 87.4%]: kv_config.cpp
Compile [ 87.5%]: stm32f4xx_hal_cryp.c
Compile [ 87.6%]: stm32f4xx_hal_cryp_ex.c
Compile [ 87.8%]: stm32f4xx_hal_dac.c
Compile [ 87.9%]: stm32f4xx_hal_dac_ex.c
Compile [ 88.0%]: stm32f4xx_hal_dcmi.c
Compile [ 88.1%]: stm32f4xx_hal_dcmi_ex.c
Compile [ 88.2%]: stm32f4xx_hal_dfsdm.c
Compile [ 88.3%]: stm32f4xx_hal_dma.c
Compile [ 88.4%]: stm32f4xx_hal_dma2d.c
Compile [ 88.5%]: PlatformStorage.cpp
Compile [ 88.6%]: stm32f4xx_hal_dma_ex.c
Compile [ 88.7%]: stm32f4xx_hal_dsi.c
Compile [ 88.8%]: stm32f4xx_hal_eth.c
Compile [ 88.9%]: stm32f4xx_hal_exti.c
Compile [ 89.0%]: stm32f4xx_hal_flash.c
Compile [ 89.1%]: stm32f4xx_hal_flash_ex.c
Compile [ 89.2%]: stm32f4xx_hal_flash_ramfunc.c
Compile [ 89.3%]: stm32f4xx_hal_fmpi2c.c
Compile [ 89.4%]: stm32f4xx_hal_fmpi2c_ex.c
Compile [ 89.5%]: stm32f4xx_hal_fmpsmbus.c
Compile [ 89.7%]: stm32f4xx_hal_fmpsmbus_ex.c
Compile [ 89.8%]: stm32f4xx_hal_gpio.c
Compile [ 89.9%]: stm32f4xx_hal_hash.c
Compile [ 90.0%]: stm32f4xx_hal_hash_ex.c
Compile [ 90.1%]: stm32f4xx_hal_hcd.c
Compile [ 90.2%]: stm32f4xx_hal_i2c_ex.c
Compile [ 90.3%]: stm32f4xx_hal_i2c.c
Compile [ 90.4%]: stm32f4xx_hal_i2s.c
Compile [ 90.5%]: stm32f4xx_hal_i2s_ex.c
Compile [ 90.6%]: stm32f4xx_hal_irda.c
Compile [ 90.7%]: stm32f4xx_hal_iwdg.c
Compile [ 90.8%]: stm32f4xx_hal_lptim.c
Compile [ 90.9%]: stm32f4xx_hal_ltdc.c
Compile [ 91.0%]: stm32f4xx_hal_ltdc_ex.c
Compile [ 91.1%]: stm32f4xx_hal_mmc.c
Compile [ 91.2%]: stm32f4xx_hal_nand.c
Compile [ 91.3%]: stm32f4xx_hal_nor.c
Compile [ 91.4%]: stm32f4xx_hal_pccard.c
Compile [ 91.6%]: stm32f4xx_hal_pcd.c
Compile [ 91.7%]: stm32f4xx_hal_pcd_ex.c
Compile [ 91.8%]: stm32f4xx_hal_pwr.c
Compile [ 91.9%]: stm32f4xx_hal_pwr_ex.c
Compile [ 92.0%]: stm32f4xx_hal_qspi.c
Compile [ 92.1%]: stm32f4xx_hal_rcc.c
Compile [ 92.2%]: stm32f4xx_hal_rcc_ex.c
Compile [ 92.3%]: stm32f4xx_hal_rng.c
Compile [ 92.4%]: stm32f4xx_hal_rtc.c
Compile [ 92.5%]: stm32f4xx_hal_rtc_ex.c
Compile [ 92.6%]: stm32f4xx_hal_sai.c
Compile [ 92.7%]: stm32f4xx_hal_sai_ex.c
Compile [ 92.8%]: stm32f4xx_hal_sd.c
Compile [ 92.9%]: stm32f4xx_hal_sdram.c
Compile [ 93.0%]: stm32f4xx_hal_smartcard.c
Compile [ 93.1%]: stm32f4xx_hal_smbus.c
Compile [ 93.2%]: stm32f4xx_ll_fmpi2c.c
Compile [ 93.3%]: stm32f4xx_hal_spdifrx.c
Compile [ 93.5%]: stm32f4xx_hal_spi.c
Compile [ 93.6%]: stm32f4xx_hal_sram.c
Compile [ 93.7%]: stm32f4xx_hal_tim_ex.c
Compile [ 93.8%]: stm32f4xx_hal_uart.c
Compile [ 93.9%]: stm32f4xx_hal_tim.c
Compile [ 94.0%]: stm32f4xx_hal_usart.c
Compile [ 94.1%]: stm32f4xx_hal_wwdg.c
Compile [ 94.2%]: stm32f4xx_ll_adc.c
Compile [ 94.3%]: stm32f4xx_ll_crc.c
Compile [ 94.4%]: stm32f4xx_ll_dac.c
Compile [ 94.5%]: stm32f4xx_ll_dma.c
Compile [ 94.6%]: stm32f4xx_ll_dma2d.c
Compile [ 94.7%]: stm32f4xx_ll_exti.c
Compile [ 94.8%]: stm32f4xx_ll_fmc.c
Compile [ 94.9%]: stm32f4xx_ll_fsmc.c
Compile [ 95.0%]: stm32f4xx_ll_gpio.c
Compile [ 95.1%]: startup_stm32f469xx.S
Compile [ 95.2%]: stm32f4xx_ll_i2c.c
Compile [ 95.4%]: stm32f4xx_ll_lptim.c
Compile [ 95.5%]: stm32f4xx_ll_rng.c
Compile [ 95.6%]: stm32f4xx_ll_pwr.c
Compile [ 95.7%]: stm32f4xx_ll_rcc.c
Compile [ 95.8%]: stm32f4xx_ll_rtc.c
Compile [ 95.9%]: stm32f4xx_ll_sdmmc.c
Compile [ 96.0%]: stm32f4xx_ll_spi.c
Compile [ 96.1%]: stm32f4xx_ll_tim.c
Compile [ 96.2%]: stm32f4xx_ll_usart.c
Compile [ 96.3%]: stm32f4xx_ll_usb.c
Compile [ 96.4%]: stm32f4xx_ll_utils.c
Compile [ 96.5%]: system_stm32f4xx.c
Compile [ 96.6%]: PeripheralPins.c
Compile [ 96.7%]: gpio_irq_device.c
Compile [ 96.8%]: system_clock.c
Compile [ 96.9%]: pwmout_device.c
Compile [ 97.0%]: flash_api.c
Compile [ 97.1%]: ospi_api.c
Compile [ 97.3%]: analogin_device.c
Compile [ 97.4%]: analogin_api.c
Compile [ 97.5%]: analogout_device.c
Compile [ 97.6%]: serial_device.c
Compile [ 97.7%]: hal_tick_overrides.c
Compile [ 97.8%]: spi_api.c
Compile [ 97.9%]: analogout_api.c
Compile [ 98.0%]: gpio_api.c
Compile [ 98.1%]: can_api.c
[Warning] can_api.c@1027,72: suggest parentheses around comparison in operand of '&' [-Wparentheses]
Compile [ 98.2%]: gpio_irq_api.c
Compile [ 98.3%]: mbed_crc_api.c
Compile [ 98.4%]: i2c_api.c
Compile [ 98.5%]: lp_ticker.c
Compile [ 98.6%]: pinmap.c
Compile [ 98.7%]: mbed_overrides.c
Compile [ 98.8%]: reset_reason.c
Compile [ 98.9%]: port_api.c
Compile [ 99.0%]: USBPhy_STM32.cpp
Compile [ 99.2%]: pwmout_api.c
Compile [ 99.3%]: us_ticker.c
Compile [ 99.4%]: qspi_api.c
[Warning] qspi_api.c@237,150: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'uint32_t' {aka 'const long unsigned int'} [-Wformat=]
[Warning] qspi_api.c@375,76: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
[Warning] qspi_api.c@375,91: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
[Warning] qspi_api.c@375,106: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
[Warning] qspi_api.c@375,121: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
[Warning] qspi_api.c@375,132: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
[Warning] qspi_api.c@375,144: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
Compile [ 99.5%]: rtc_api.c
Compile [ 99.6%]: serial_api.c
Compile [ 99.7%]: sleep.c
Compile [ 99.8%]: trng_api.c
Compile [ 99.9%]: watchdog_api.c
Compile [100.0%]: stm_spi_api.c
Link: mbed-os-example-blinky
Elf2Bin: mbed-os-example-blinky
| Module           |         .text |       .data |        .bss |
|------------------|---------------|-------------|-------------|
| [fill]           |       40(+40) |       0(+0) |     22(+22) |
| [lib]\c.a        |   4852(+4852) | 2108(+2108) |     89(+89) |
| [lib]\gcc.a      |     760(+760) |       0(+0) |       0(+0) |
| [lib]\misc       |     188(+188) |       4(+4) |     28(+28) |
| main.o           |       60(+60) |       0(+0) |       0(+0) |
| mbed-os\cmsis    |   7526(+7526) |   168(+168) | 6085(+6085) |
| mbed-os\drivers  |       78(+78) |       0(+0) |       0(+0) |
| mbed-os\hal      |   1038(+1038) |       4(+4) |     58(+58) |
| mbed-os\platform |   5160(+5160) |   260(+260) |   348(+348) |
| mbed-os\rtos     |       32(+32) |       0(+0) |       0(+0) |
| mbed-os\storage  |       74(+74) |       0(+0) |       4(+4) |
| mbed-os\targets  |   8752(+8752) |       8(+8) |   734(+734) |
| Subtotals        | 28560(+28560) | 2552(+2552) | 7368(+7368) |
Total Static RAM memory (data + bss): 9920(+9920) bytes
Total Flash memory (text + data): 31112(+31112) bytes
Image: BUILD/DISCO_F469NI/GCC_ARM\mbed-os-example-blinky.bin

 

음.. 일단은 윈도우에서는 arm compiler 6이 빌드속도로 인해 판정승

arm compiler 6 gcc arm
Total Static RAM memory (data + bss): 9494(+9494) bytes
Total Flash memory (text + data): 33422(+33422) bytes
Total Static RAM memory (data + bss): 9920(+9920) bytes
Total Flash memory (text + data): 31112(+31112) bytes

[링크 : https://os.mbed.com/docs/mbed-studio/current/getting-started/index.html]

'embeded > ARM' 카테고리의 다른 글

mbed studio / cli  (0) 2026.02.20
Ethos-U85  (0) 2026.02.06
SVE(Scalable Vector Extension)  (0) 2025.08.28
emmc 파티션 정렬  (0) 2024.02.07
arm asm rev  (0) 2023.09.14
Posted by 구차니
embeded/ARM2026. 2. 20. 15:14

'embeded > ARM' 카테고리의 다른 글

mbed studio with 32f469idiscovery  (0) 2026.02.21
Ethos-U85  (0) 2026.02.06
SVE(Scalable Vector Extension)  (0) 2025.08.28
emmc 파티션 정렬  (0) 2024.02.07
arm asm rev  (0) 2023.09.14
Posted by 구차니
embeded/Cortex-M3 STM2026. 2. 18. 22:14

아래코드까진 문제가 없는데

class my_class
{
public:
	int i_var;
	int f();
};

int my_class::f()
{
	return ++i_var;
}

int main(void)
{
	my_class *p_my_class = new my_class();
	p_my_class->f();
}

 

iostream을 추가해서 (아직 uart 출력을 연결하진 않고 빌드만 했지만)

std::cout을 통해 출력만 해보려고 했는데

#include <iostream>

class my_class
{
public:
	int i_var;
	int f();
};

int my_class::f()
{
	return ++i_var;
}

int main(void)
{
	my_class *p_my_class = new my_class();
	std::cout << p_my_class->f();
}

 

플래시 용량이 터져나가 버렸다.

cout을 쓰려면 최소 192KB 이상의 flash는 되어야 한다는건가?

22:05:02 **** Incremental Build of configuration Debug for project cpp_test ****
make -j4 all 
arm-none-eabi-g++ "../Core/Src/main.cpp" -mcpu=cortex-m3 -std=gnu++14 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F103xB -c -I../Core/Inc -I../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I../Drivers/STM32F1xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Core/Src/main.o"
arm-none-eabi-g++ -o "cpp_test.elf" @"objects.list"   -mcpu=cortex-m3 -T"/home/minimonk/STM32CubeIDE/workspace_1.19.0_cpp/cpp_test/STM32F103C8TX_FLASH.ld" --specs=nosys.specs -Wl,-Map="cpp_test.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
/home/minimonk/st/stm32cubeide_1.19.0/plugins/cohttp://m.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld: /home/minimonk/st/stm32cubeide_1.19.0/plugins/cohttp://m.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(libc_a-getentropyr.o): in function `_getentropy_r':
(.text._getentropy_r+0xe): warning: _getentropy is not implemented and will always fail
/home/minimonk/st/stm32cubeide_1.19.0/plugins/cohttp://m.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld: /home/minimonk/st/stm32cubeide_1.19.0/plugins/cohttp://m.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(libc_a-getentropyr.o): note: the message above does not take linker garbage collection into account
/home/minimonk/st/stm32cubeide_1.19.0/plugins/cohttp://m.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld: cpp_test.elf section `.text' will not fit in region `FLASH'
/home/minimonk/st/stm32cubeide_1.19.0/plugins/cohttp://m.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 109220 bytes
collect2: error: ld returned 1 exit status
make: *** [makefile:88: cpp_test.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.

22:05:04 Build Failed. 4 errors, 1 warnings. (took 2s.252ms)

[링크 : https://igotit.tistory.com/entry/STM32CubeIDE-임베디드-코드에서-C-클래스-활용]

 


gpt 말로는 아래를 설정해주라는데, std::cout 하면 버퍼부터 하위시스템 다 끌려온다는거 치고는 너무 큰디..

데드 코드 삭제
-ffunction-sections
-fdata-sections

링커옵션
-Wl,--gc-sections


예외/RTTI 끄기
-fno-exceptions
-fno-rtti

newlib nano
--specs=nano.specs

 

그래서 설정을 보는데, 기본으로 부동소수점 출력/입력은 안하게 되어있고

 

g++ 쪽은 기본적으로 아래의 4개 플래그가 설정되어 있다.

-ffunctions-sections

-fdata-sections

-fno-exceptions

-fno-rtti

 

링커도 -Wl,--gc-sections 되어 있어서 더 옵션으로 먼가 줄일수 있는 상태는 아닌데..

[링크 : https://vuzwa.tistory.com/entry/STM32CubeIDE에서-개발환경-C-or-C로-전환하기]

 

그래서 std::cout 은 포기하고 printf나 쓰라고 하는건가?

그런데 rtti 까지 사용하지 않으면 cpp를 쓰는 이유가 머가 남지 -ㅁ-?

'embeded > Cortex-M3 STM' 카테고리의 다른 글

mbed + stm32cube hal...?  (0) 2026.02.23
Mbed studio on ubuntu 22.04  (0) 2026.02.23
stm32 rtc tamper  (0) 2026.01.29
stm32f103 rtc backup register  (0) 2026.01.29
stm32 hal rcc flag  (0) 2026.01.27
Posted by 구차니
embeded/esp322026. 2. 18. 18:08

platform.io ide

2026.02.18 기준 6.4M 오호..

 

다운로드 눌러서 가보면 ㅋㅋㅋㅋ

vscode 받고 플러그인 받아서 하란다 ㅋㅋㅋㅋ

아니 먼가 독립 ide인척 하더니 이게 머야 ㅋㅋㅋㅋ

[링크 : https://platformio.org/install/ide?install=vscode]

[링크 : https://platformio.org/platformio-ide]

 

[링크 : https://oesnuj.tistory.com/entry/VS-Code에서-아두이노-개발-PlatformIO로-쉽게-시작하는-방법]

[링크 : https://epictrave.tistory.com/13]

[링크 : https://wikidocs.net/252665]

'embeded > esp32' 카테고리의 다른 글

esp32 on arduino ide  (0) 2026.02.18
esp component 와 idf.py create-project-from-example  (0) 2026.02.10
idf.py help  (0) 2026.02.10
idf 프로젝트 생성하기  (0) 2026.02.08
esp-idf on windows  (0) 2026.02.05
Posted by 구차니
embeded/esp322026. 2. 18. 18:02

오랫만에 설치하려니 헷갈리고 이상하네

일단은 먼가 다운로드 관련 timeout 문제가 있어서 손을 봐야하고

조금 고민하면 당연한거긴 한데.. esp32를 사용하는 아두이노 보드를 손보려는게 아니니

espressif system에서 제공한 보드 매니저를 쓰는게 맞긴하..겠지?

 

아두이노 설치는 스킵

tools - board - boards manager

 

esp32 검색

 

"esp32 by espressif systems" 를 설치(2026.02.18 기준 3.3.7 버전)

 

에러가 발생하면

 

아래 파일을 열어서 아래 내용을 추가. 300초 이상은 접속을 못하게 해놔서 용량 큰 걸 받을수가 없는 듯?

C:\Users\<username>\.arduinoIDE\arduino-cli.yaml 

[링크 : https://github.com/espressif/arduino-esp32/issues/12161#issuecomment-3680101494]

[링크 : https://github.com/espressif/arduino-esp32/issues/12354]

 

 

[링크 : https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html]

[링크 : https://www.bneware.com/blogPost/esp32_arduino_ide]

[링크 : https://fishpoint.tistory.com/9967]

[링크 : https://m.blog.naver.com/mapes_khkim/222901956974]

'embeded > esp32' 카테고리의 다른 글

platform.io + vscode + esp32  (0) 2026.02.18
esp component 와 idf.py create-project-from-example  (0) 2026.02.10
idf.py help  (0) 2026.02.10
idf 프로젝트 생성하기  (0) 2026.02.08
esp-idf on windows  (0) 2026.02.05
Posted by 구차니
embeded/esp322026. 2. 10. 23:01

idf.py 보다보니 예제로 부터 바로 생성하는게 있어서 시도!

C:\src\esp>idf.py create-project-from-example --help
Usage: idf.py create-project-from-example [OPTIONS] EXAMPLE

  Create a project from an example in the ESP Component Registry.

  You can specify EXAMPLE in the format like: namespace/name=1.0.0:example

  where "=1.0.0" is a version specification.

  An example command:

  idf.py create-project-from-example example/cmp^3.3.8:cmp_ex

  Namespace and version are optional in the EXAMPLE argument.

Options:
  -C, --project-dir PATH          Project directory.
  --profile, --service-profile TEXT
                                  Specifies the profile to use for this command. By default profile named "default"
                                  will be used. Alias "--service-profile" is deprecated and will be removed. The
                                  default value can be set with the IDF_COMPONENT_PROFILE environment variable.
  -p, --path TEXT                 Set the path for the new project. The project will be created directly in the given
                                  folder if it does not contain anything
  --help                          Show this message and exit.

[링크 : https://components.espressif.com/components/example/cmp/versions/3.3.9~1/readme]

 

안이.. 예제는 ^ 로 버전하라면서 왜 =로 해야해?!?!?!?

C:\src\esp>idf.py create-project-from-example example/cmp=3.3.9:cmp_ex
Executing action: create-project-from-example
Example "cmp_ex" successfully downloaded to C:\src\esp\cmp_ex
Done

 

C:\src\esp\cmp_ex>idf.py build
Executing action: all (aliases: build)
Running cmake in directory C:\src\esp\cmp_ex\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 C:\src\esp\cmp_ex"...
-- IDF_TARGET not set, using default target: esp32
-- Found Git: C:/Espressif/tools/idf-git/2.44.0/cmd/git.exe (found version "2.44.0.windows.1")
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
...NOTICE: Updating lock file at C:\src\esp\cmp_ex\dependencies.lock
Processing 2 dependencies:
[1/2] example/cmp (3.3.9~1)
[2/2] idf (5.3.1)
-- Project sdkconfig file C:/src/esp/cmp_ex/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- Found Python3: C:/Espressif/python_env/idf5.3_py3.11_env/Scripts/python.exe (found version "3.11.2") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "cmp_ex" version: 1
-- Adding linker script C:/src/esp/cmp_ex/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script C:/src/esp/cmp_ex/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-data.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.syscalls.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_coex esp_common esp_driver_ana_cmpr esp_driver_cam esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_isp esp_driver_jpeg esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_ppa esp_driver_rmt esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_touch_sens esp_driver_tsens esp_driver_uart esp_driver_usb_serial_jtag esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_vfs_console esp_wifi espcoredump esptool_py example__cmp fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: C:/Espressif/frameworks/esp-idf-v5.3.1/components/app_trace C:/Espressif/frameworks/esp-idf-v5.3.1/components/app_update C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader_support C:/Espressif/frameworks/esp-idf-v5.3.1/components/bt C:/Espressif/frameworks/esp-idf-v5.3.1/components/cmock C:/Espressif/frameworks/esp-idf-v5.3.1/components/console C:/Espressif/frameworks/esp-idf-v5.3.1/components/cxx C:/Espressif/frameworks/esp-idf-v5.3.1/components/driver C:/Espressif/frameworks/esp-idf-v5.3.1/components/efuse C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp-tls C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_adc C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_app_format C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_bootloader_format C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_coex C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_common C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_ana_cmpr C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_cam C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_dac C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_gpio C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_gptimer C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_i2c C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_i2s C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_isp C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_jpeg C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_ledc C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_mcpwm C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_parlio C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_pcnt C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_ppa C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_rmt C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_sdio C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_sdm C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_sdmmc C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_sdspi C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_spi C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_touch_sens C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_tsens C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_uart C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_driver_usb_serial_jtag C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_eth C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_event C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_gdbstub C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_hid C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_http_client C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_http_server C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_https_ota C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_https_server C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_hw_support C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_lcd C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_local_ctrl C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_mm C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_netif C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_netif_stack C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_partition C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_phy C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_pm C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_psram C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_ringbuf C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_system C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_timer C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_vfs_console C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_wifi C:/Espressif/frameworks/esp-idf-v5.3.1/components/espcoredump C:/Espressif/frameworks/esp-idf-v5.3.1/components/esptool_py C:/src/esp/cmp_ex/managed_components/example__cmp C:/Espressif/frameworks/esp-idf-v5.3.1/components/fatfs C:/Espressif/frameworks/esp-idf-v5.3.1/components/freertos C:/Espressif/frameworks/esp-idf-v5.3.1/components/hal C:/Espressif/frameworks/esp-idf-v5.3.1/components/heap C:/Espressif/frameworks/esp-idf-v5.3.1/components/http_parser C:/Espressif/frameworks/esp-idf-v5.3.1/components/idf_test C:/Espressif/frameworks/esp-idf-v5.3.1/components/ieee802154 C:/Espressif/frameworks/esp-idf-v5.3.1/components/json C:/Espressif/frameworks/esp-idf-v5.3.1/components/log C:/Espressif/frameworks/esp-idf-v5.3.1/components/lwip C:/src/esp/cmp_ex/main C:/Espressif/frameworks/esp-idf-v5.3.1/components/mbedtls C:/Espressif/frameworks/esp-idf-v5.3.1/components/mqtt C:/Espressif/frameworks/esp-idf-v5.3.1/components/newlib C:/Espressif/frameworks/esp-idf-v5.3.1/components/nvs_flash C:/Espressif/frameworks/esp-idf-v5.3.1/components/nvs_sec_provider C:/Espressif/frameworks/esp-idf-v5.3.1/components/openthread C:/Espressif/frameworks/esp-idf-v5.3.1/components/partition_table C:/Espressif/frameworks/esp-idf-v5.3.1/components/perfmon C:/Espressif/frameworks/esp-idf-v5.3.1/components/protobuf-c C:/Espressif/frameworks/esp-idf-v5.3.1/components/protocomm C:/Espressif/frameworks/esp-idf-v5.3.1/components/pthread C:/Espressif/frameworks/esp-idf-v5.3.1/components/sdmmc C:/Espressif/frameworks/esp-idf-v5.3.1/components/soc C:/Espressif/frameworks/esp-idf-v5.3.1/components/spi_flash C:/Espressif/frameworks/esp-idf-v5.3.1/components/spiffs C:/Espressif/frameworks/esp-idf-v5.3.1/components/tcp_transport C:/Espressif/frameworks/esp-idf-v5.3.1/components/ulp C:/Espressif/frameworks/esp-idf-v5.3.1/components/unity C:/Espressif/frameworks/esp-idf-v5.3.1/components/usb C:/Espressif/frameworks/esp-idf-v5.3.1/components/vfs C:/Espressif/frameworks/esp-idf-v5.3.1/components/wear_levelling C:/Espressif/frameworks/esp-idf-v5.3.1/components/wifi_provisioning C:/Espressif/frameworks/esp-idf-v5.3.1/components/wpa_supplicant C:/Espressif/frameworks/esp-idf-v5.3.1/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/src/esp/cmp_ex/build
Running ninja in directory C:\src\esp\cmp_ex\build
Executing "ninja all"...
[4/968] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[454/968] Performing configure step for 'bootloader'
-- Found Git: C:/Espressif/tools/idf-git/2.44.0/cmd/git.exe (found version "2.44.0.windows.1")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file C:/src/esp/cmp_ex/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/soc/esp32/ld/esp32.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom/esp32/ld/esp32.rohttp://m.newlib-funcs.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader/subproject/main/ld/esp32/bootloader.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader/subproject/main/ld/esp32/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader_support C:/Espressif/frameworks/esp-idf-v5.3.1/components/efuse C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_app_format C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_bootloader_format C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_common C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_hw_support C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_rom C:/Espressif/frameworks/esp-idf-v5.3.1/components/esp_system C:/Espressif/frameworks/esp-idf-v5.3.1/components/esptool_py C:/Espressif/frameworks/esp-idf-v5.3.1/components/freertos C:/Espressif/frameworks/esp-idf-v5.3.1/components/hal C:/Espressif/frameworks/esp-idf-v5.3.1/components/log C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader/subproject/main C:/Espressif/frameworks/esp-idf-v5.3.1/components/bootloader/subproject/components/micro-ecc C:/Espressif/frameworks/esp-idf-v5.3.1/components/newlib C:/Espressif/frameworks/esp-idf-v5.3.1/components/partition_table C:/Espressif/frameworks/esp-idf-v5.3.1/components/soc C:/Espressif/frameworks/esp-idf-v5.3.1/components/spi_flash C:/Espressif/frameworks/esp-idf-v5.3.1/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/src/esp/cmp_ex/build/bootloader
[107/108] Generating binary image from built executable
esptool.py v4.8.1
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/src/esp/cmp_ex/build/bootloader/bootloader.bin
[108/108] cmd.exe /C "cd /D C:\src\esp\cmp_ex\build\bootlo... 0x1000 C:/src/esp/cmp_ex/build/bootloader/bootloader.bin"
Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free.
[967/968] Generating binary image from built executable
esptool.py v4.8.1
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
Generated C:/src/esp/cmp_ex/build/cmp_ex.bin
[968/968] cmd.exe /C "cd /D C:\src\esp\cmp_ex\build\esp-id...le/partition-table.bin C:/src/esp/cmp_ex/build/cmp_ex.bin"
cmp_ex.bin binary size 0x2b740 bytes. Smallest app partition is 0x100000 bytes. 0xd48c0 bytes (83%) free.

Project build complete. To flash, run:
 idf.py flash
or
 idf.py -p PORT flash
or
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\cmp_ex.bin
or from the "C:\src\esp\cmp_ex\build" directory
 python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"

 

빌드 하고 나서 보면 managed_components 아래에 example_cmp 라는 컴포넌트가 받아져있다.

 

아마도(?) 저 cmp_hello()가 호출되는 듯.

 

example 탭에 있어야 쓸 수 있는 것 같은데

 

lvgl은 example이 없어서 아래처럼 의존성만 추가가 가능한 듯.

idf.py add-dependency "lvgl/lvgl^9.4.0"

[링크 : https://components.espressif.com/components/lvgl/lvgl/versions/9.4.0/readme]

[링크 : https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/tools/idf-component-manager.html]

[링크 : https://components.espressif.com/]

'embeded > esp32' 카테고리의 다른 글

platform.io + vscode + esp32  (0) 2026.02.18
esp32 on arduino ide  (0) 2026.02.18
idf.py help  (0) 2026.02.10
idf 프로젝트 생성하기  (0) 2026.02.08
esp-idf on windows  (0) 2026.02.05
Posted by 구차니