Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

SX-ULPGN wifi driver DEBUGLOG to 0 issue #2

Open
HirokiIshiguro opened this issue Nov 30, 2019 · 0 comments
Open

SX-ULPGN wifi driver DEBUGLOG to 0 issue #2

HirokiIshiguro opened this issue Nov 30, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HirokiIshiguro
Copy link
Collaborator

Describe the bug
If user would choose SX-ULPGN wifi driver DEBUGLOG to 0, wifi initialization would be completed.

Now, DEBUGLOG outputs to e2 studio virtual console, so user must open virtual console.

System information

  • Which hardware board or part numbers? -> RX65N Cloud Kit
  • IDE used -> e2 studio v7.6
  • Operating System [Windows|Linux|MacOS] -> Windows
  • Version of Amazon FreeRTOS (run git describe --tags to find it) -> 201910.00
  • Project [Custom Application|MQTT|Shadow|Greengrass|OTA|Device Defender|TCP Echo|Sub pub Demo|Simple TCP Server] ->OTA
  • If your project is a Custom Application, please add the relevant code snippet in the section Code to reproduce the bug. -> none

Expected behavior
DEBUGLOG 0 -> initialization will be completed.
DEBUGLOG 2 -> initialization will be completed without virtual console open

Screenshots or console output
none

To reproduce
always happen

Code to reproduce the bug
none

Additional context
none

Thank you!

@HirokiIshiguro HirokiIshiguro added the bug Something isn't working label Nov 30, 2019
@HirokiIshiguro HirokiIshiguro self-assigned this Nov 30, 2019
VanNamDinh pushed a commit that referenced this issue Sep 9, 2020
[RX72N EnvisionKit] Added MQTT demo project
VanNamDinh added a commit that referenced this issue Jan 22, 2021
* [UPDATED] RX65N-envision-kit CCRX with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-envision-kit GCC with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-gr-rose CCRX MQTT demo with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-gr-rose GCC MQTT demo with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-rsk-uart-sx-ulpgn CCRX with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-rsk-uart-sx-ulpgn GCC with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-rsk-uart-esp32 CCRX with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-rsk-uart-esp32 GCC with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-rsk-uart-esp32 GCC with FIT v122

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] RX65N-rsk CCRX  OTA type1,2 and 4 with FIT v122.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] scfg file

Signed-off-by: vannam.dinh.xt <[email protected]>

* [ADDED] RX72M RSK GCC e2 studio with E2 Emulator Lite

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Folder name of RX72M-RSK GCC project

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] RTOS option setting

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] Updated to BSP v5.40

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATE] Implemented SHA256-ECDSA OTA transfer (signature verification is confirmed)

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED]RX72M RSK CC-RX e2 studio with E2 Emulator Lite
Fixed Debugger setting

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [ADDED] boot loader message for integrity check scheme information. (boot_loader.c)
[FIXED] bug when compiling optimization would be ON. (aws_ota_pal.c)

Signed-off-by: HirokiIshiguro <[email protected]>

* [UPDATE] Updated the test project so that OTA works in the device tester (test has not passed yet)

Signed-off-by: KosukeFunabashi <[email protected]>

* [UPDATE] same configuration conditions in demo and test

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Fixed the data flash size handled by the boot loader from 32KB to 16KB.

Signed-off-by: KosukeFunabashi <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [UPDATED] bsp version

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED] Random algorithm

Signed-off-by: vannam.dinh.xt <[email protected]>

* [FIXED]boot loader code

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED] OTA PAL Semaphore

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED] OTA Test MQTT configuration value

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED]OTA test section
       Debug setting
       Printf output port

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [UPDATE]OTA GUI tool

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [UPDATE] boot loader code

Signed-off-by: KosukeFunabashi <[email protected]>

* [UPDATE]Added OTA batch file for devicetester.

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED]Folder name

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED]Bootloader output mot file.

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [UPDATE] Add dummy write project.

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED] GUI tool binary setting switch.

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [UPDATED] aws_tests flashing project (for Renesas Flash Programmer) file path.

Signed-off-by: HirokiIshiguro <[email protected]>

* [UPDATE]Motorola Converter tool

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED]Motorola Converter tools

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [UPDATE]Supports fragment data for OTA PAL.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Fixed OTA PAL code.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Supported OTA PAL test.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED]Pass file lock check.

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED] Supported OTA PAL test.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Secure Sockets Code

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Ether config and FreeRTOS config files.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] wrong section setting for aws_tests.

Signed-off-by: HirokiIshiguro <[email protected]>

* [REVERTED] aws_tests optimize level from 2 to 0.
[REVERTED] aws_demos buffer pool size.

Signed-off-by: HirokiIshiguro <[email protected]>

* [FIXED] Fixed to work with IoT Device Tester.
 - Updated demo and test FIT module
 - Revised configuration conditions
 - Fixed OTA Pal code

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] mot file converter Initial firm tabControl1

Signed-off-by: HiroakiHashiguchi <[email protected]>

* [FIXED] Fixed to work with IoT Device Tester.
 - Supported the OTA agent test named prvParseJobDocFromJSONandPrvOTA_Close().
 - Changed boot loader project optimization level to 2.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Supports reset during firmware update. The operating environment has been revised.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Deleted old file (aws_demos_build_path_check_and_make.bat)

Signed-off-by: KosukeFunabashi <[email protected]>

* [REVERT] Use mqtt demo for default
This reverts commit 594bfe4.

Signed-off-by: KosukeFunabashi <[email protected]>

* [REVERT] Revert the Motorola conversion tool to the previous commit.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Fixed configuration file to AWS default condition.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Fixed fragment data write process.

Signed-off-by: KosukeFunabashi <[email protected]>

* [FIXED] Fixed fragment data write process.

Signed-off-by: KosukeFunabashi <[email protected]>

* [RZ/A2M] Added SX-SDMAC projects, and OTA feature

* [RZ/A2M] Modified OTA bootloader

* [RZ/A2M] Renamed python script

* CY8CKIT-064S0S2-4343W: Add back OTA

Signed-off-by: Raymond Ngun <[email protected]>

* nrf52 spi w/ new loopback tests -- disabled by default

* Add board specific configuration. Currently only SPI 1 supported

* uncrustify

* Merge error. Meant to remove callback installation

* Fix remaining warnings and make transfer atomics instance-specific

* Address remaining PR requests. sOpenend --> ucState and reset config to default at close

* PSoC64: force reprov_helper.py to use cm0 DAP for flash erase ops

Re-provision helper script uses pyocd to erase Flash. By default,
pyocd uses sys_ap port which is not available if the board runs TFM.
This causes a failure when attempting to re-provision a board that
was previously programmed with TFM CM0P image.

- force pyocd to use cm0_ap for Flash erase operations
- also update acq_win to 100ms to be inline with the default policies

Signed-off-by: Andrei Narkevitch <[email protected]>

* Add check for token to be true when generating a public key. (aws#2178)

* Add test case for the token property on a public key when generating a key pair (aws#2177)

* OTA: Handle new job document after resuming while previous job is in progress

* FreeRTOS+TCP : print resource statistics routine (aws#2164)

Co-authored-by: Hein Tibosch <[email protected]>

* Sync Single Echo Client demo tasks (aws#2181)

* Allow child tasks to finish before Parent

* Safely increment the variable

* Use semaphores for sync

* minor correction

* Allow task to delete itself + minor modifications

* Remove unused variables.

* uncrustify

* Changes after Cobus's comments

* Renable encrypt then MAC for CBC now that CBC is renabled. (aws#2174)

* Fix: Cypress PSoC64 Cmake warning.

* Fix: PSoC64 BLE is missing in AFR_METADATA_MODE.

* Formatting Spaces vs Tabs

* PSoC64: fix application version parameters

- fixed version variables related warnings in all supported apps
- fixed aws_demo and wifi_scanner version parameters specified
  via env variables

aws_demo
--------
cmake build:
uses definitions in aws_application_version.h
MTB make build:
uses env variables if specified, otherwise - from
mtb/aws_demos/include/aws_application_version.h

ota, wifi_scanner and jitp apps
--------------------------
MTB make build:
uses env variables if specified, otherwise the values from
aws_application_version.h in the app's dir

Signed-off-by: Andrei Narkevitch <[email protected]>

* PSoC64: fixing INCLUDE_xTaskIsTaskFinished implicit declaration warning

the warning (gcc make and cmake):

vendors/cypress/bluetooth/psoc6/cyosal/src/cybt_osal_amzn_freertos.c:
  In function 'wiced_rtos_join_thread':
vendors/cypress/bluetooth/psoc6/cyosal/src/cybt_osal_amzn_freertos.c:312:13:
   warning: implicit declaration of function 'xTaskIsTaskFinished'; did you mean
   'INCLUDE_xTaskIsTaskFinished'? [-Wimplicit-function-declaration]
     while ( xTaskIsTaskFinished( thread->_thread ) != pdTRUE )
             ^~~~~~~~~~~~~~~~~~~
             INCLUDE_xTaskIsTaskFinished

Signed-off-by: Andrei Narkevitch <[email protected]>

* PSoC64: fixing 'struct flash_area' warning

A forward declaration of 'struct flash_area' is needed for the
psoc6_smif_read and psoc6_smif_write prototypes.
Full structure declaration is in flash_map_backend.h.

The warning:

In file included from
vendors/cypress/boards/CY8CKIT_064S0S2_4343W/aws_demos/application_code/main.c:36:
vendors/cypress/common/mcuboot/cy_flash_pal/include/cy_smif_psoc6.h:62:34:
warning: 'struct flash_area' declared inside parameter list will not be visible
outside of this definition or declaration
int psoc6_smif_read(const struct flash_area *fap, off_t addr, void *data, size_t len);

Signed-off-by: Andrei Narkevitch <[email protected]>

* PSoC64: supressing ARM CLang linker warnings 6329, 6314 and 6304

Not being able to fix these in code, supressing CLang linker
warnings that is safe to ignore:

- L6304W - Duplicate input file <filename> ignored.
  The specified filename occurred more than once in the list of
  input files. GCC linker ignores this and gives no warning.
- L6314W - No section matches pattern <module>(<section>).
  There is no data/code to place in the section defined in scatter
  file. Ignored by GCC linker.
- L6329W - Pattern <module>(<section>) only matches removed unused
  sections. Some code is not used and was optimized out thus living
  the section empty (i.e. cy_ramfunc)

Signed-off-by: Andrei Narkevitch <[email protected]>

* PSoC64: warning in iot_pkcs11_psa_object_management.c

cmake, IAR:

mbedtls_pk_type_t uxPrivateKeyTypePKCS11 = 0;
                                           ^
vendors/cypress/boards/CY8CKIT_064S0S2_4343W/ports/pkcs11/psa/
iot_pkcs11_psa_object_management.c",85  Warning[Pe188]:
enumerated type mixed with another type

Signed-off-by: Andrei Narkevitch <[email protected]>

* PSoC64: warning in flash_qspi.c

cmake, IAR, aws_demos:

stat = -1;
       ^
vendors/cypress/common/mcuboot/cy_flash_pal/flash_qspi/flash_qspi.c,401
Warning[Pe188]: enumerated type mixed with another type

Signed-off-by: Andrei Narkevitch <[email protected]>

* CY8CKIT-064S0S2-4343W: Allow for OTA builds

Updates to projects to allow for successful OTA build when
enabled.

Signed-off-by: Raymond Ngun <[email protected]>

* Update PKCS #11 unit tests to account for x509 parsing in C_GetAttributeValue.

* Refactor Key Size Macros (aws#2196)

* Refactor Key Size Macros
Fix TODO for writing a key to DER.
Added size specific macros for the keys currently supported by the stack.
Use smallest possible buffer for converting keys to DER.

* Fix: Support for lwip getip with espressif (aws#2135)

* Fix: Support for lwip getip with espressif

* Update iot_wifi.c

* Update iot_test_wifi.c

* Update iot_wifi.c

Co-authored-by: Alfred Gedeon <[email protected]>
Co-authored-by: Archit Aggarwal <[email protected]>

* Enable RPA for ESP32 NimBLE (aws#2193)

* Fix: Enable BLE in Cypress PSoC64 MTB demo project.

* OTA: Support force cancel of in progress job

* OTA: Cleanup data interface when closing the file

* Feature/update mbedtls (aws#2219)

* Update Mbed TLS submodule pointer to v2.16.7
* Update aws_mbedtls_config.h for Mbed TLS v2.16.7
* Update README.md to include information on Mbed TLS

* DNS lookup: warn if ipconfigDNS_CACHE_NAME_LENGTH is too small (v2) (aws#2207)

* FreeRTOS+TCP : DNS look-up: warn if buffer length is too short

* Corrected indentation in function prvPrepareLookup()

Co-authored-by: Hein Tibosch <[email protected]>

* Make each config of a CBMC proof have unique name

Some CBMC proofs are built in several different 'configurations'. Prior
to this commit, the name of each of these configurations was the same as
the name of the original proof. This meant that CI would sometimes write
the proof artifacts of each of these configurations on top of each
other, since the artifacts are saved under a folder whose name is based
on the name of the proof.

This commit fixes this so that each configuration of each proof has a
unique name, formed by joining the name of the configuration to the name
of the proof with a double underscore---for example,
TaskIncrementTick__config_default.

* Update aws_mbedtls_config.h header file (aws#2233)

* Increase the logging queue size for Xilinx Microzed (aws#2129)

This is for the "Demo completed successfully" text to print for the CI.

* PKCS #11 TODOs (aws#2213)

This commit addresses the last of the TODOs in iot_pkcs11_mbedtls.c
* Removed a TODO refactor comment as it was vague.
* Added a variable to track whether the sign and verify key is the same as the last operation, saving key parse operations.

* Reintroduce MBT to CMake and the windows test project. (aws#2222)

* Reintroduce MBT to CMake and the windows test project.

* UDP: Add ipconfigUDP_PASS_ZERO_CHECKSUM_PACKETS compile time constant (aws#2225)

* UDP: Add ipconfigUDP_PASS_ZERO_CHECKSUM_PACKETS compile time constant

* Revert "UDP: Add ipconfigUDP_PASS_ZERO_CHECKSUM_PACKETS compile time constant"

This reverts commit df9b39d.

* UDP: Add ipconfigUDP_PASS_ZERO_CHECKSUM_PACKETS compile time constant

* Added same check in case the driver takes care of the RX checksum calculations

* Some changes after comments of Gary and Aniruddha

* Removed an erroneous "#if( ipconfigIP_PASS_PACKETS_WITH_IP_OPTIONS != 0 )"

* Just a commit to trigger CBMB checks

Co-authored-by: Hein Tibosch <[email protected]>

* Add ipconfigIP_PASS_PACKETS_WITH_IP_OPTIONS compile time constant (aws#2226)

* Add ipconfigIP_PASS_PACKETS_WITH_IP_OPTIONS compile time constant

* Some changes after Gary's review

Co-authored-by: Hein Tibosch <[email protected]>
Co-authored-by: Aniruddha Kanhere <[email protected]>

* Count only A records in DNS resolution logic (aws#2241)

* Added amazon_freertos_common, boards, rx_driver_package (v125) (aws#2246)

Signed-off-by: Dinh Van Nam <[email protected]>

* Add additional length check when checksum offloading is used (aws#2227)

* Add additional length check when checksum offloading is used

* Some changes after Gary's review

* Removed an erroneous "#if( ipconfigIP_PASS_PACKETS_WITH_IP_OPTIONS != 0 )" ( belonged to another PR )

* FreeRTOSIPConfigDefaults.h wasn't up-to-date with earlier PR's 2225, and 2226

* Change after Gary's comments

Co-authored-by: Hein Tibosch <[email protected]>
Co-authored-by: Aniruddha Kanhere <[email protected]>

* Fix GreenGrass Discovery demo failure in Nuvoton Ethernet board (aws#2242) (aws#2249)

* Fix mapping of configPRINTF to vLoggingPrintf to fix message mangling

* Fix incorrect mapping of FreeRTOS_debug_printf

* Fix incorrect mapping of FreeRTOS_debug_printf for aws_tests

* Enable ipconfigINCLUDE_FULL_INET_ADDR for Nuvoton Ethernet GreenGrass demo

* Add logs GGD_SecureConnect_Connect for improving debuggability

* Hygiene improvements

* Add error log for SOCKETS_GetHostByName failure

* Increase logging message length in aws_demo config to avoid truncated message causing CI failure in

* Initial iteration. Now testing

* Re-use existing CommonIO loopback tests. All tests passing. Now Polishing...

* Disable tests by default. Set CIO macros to default values. Uncrustify

* OTA: Self-test rollback in case the job in self-test is forced cancelled (aws#2257)

* OTA: Use platform get state function in processjobhandler instead of agent state (aws#2260)

* Address PR feedback. Return to default values on close as well, move iot_gpio_config.h, single return line

* Define state-set with enums. Report pin number when pin already opened

* Correct error reporting in demo (aws#2270)

* Correct error reporting in demo

* Remove unwanted comments

* uncrustify

* Hygiene changes for new macros in FreeRTOS+TCP config defaults (aws#2267) (aws#2273)

* Remove duplication of code and add documentation for new macros in FreeRTOSIPConfigDefaults.h

* Updates to macro documentation based on review comments

* Update flash offset align check (aws#2254)

* Update flash offset align check

* Make the offset align check simpler and add block size check.

* Check the flash size, block size, sector size and page size are the power of 2.

* MISRA related changes in FreeRTOS_DNS.c (aws#2256)

* DNS MISRA changes

* ulDNSHandlePacket #defines removed

* Correct formatting in FreeRTOS_DNS.c

* Changes after Hein's comments.

* revert changes in vcxproj file

* Corrections after review comments

* TLS Shim Layer DRBG (aws#2274)

* TLS Shim Layer DRBG

Use PKCS #11 to seed a DRBG instead of calling PKCS #11 for all random numbers needed by TLS.
This reduces the load on secure elements significantly when creating many random numbers.

* Added TI IAR test project and NXP MCUXpresso test project support (aws#2281)

* add nxp mcuxpresso aws_tests project

* add ti iar aws_tests project

* fix: Added #ifdef in FreeRTOSConfig.h of TI

The change is to pass the IAR compilation of assembled files

* temporary changes of test project file

* Added TI predefined macro

* fix: change to use FLEXCOMM for debug output

* [nxp-mcuxpresso] add related macros in aws_tests project

* fix: Incread minimal stack size to 256 from 90

* Remove temparary changes

Co-authored-by: Daniel Wen <[email protected]>

* Fix precompiler if should be ifdef in ota agent

* Address some PKCS #11 TODOs (aws#2200)

* Address some PKCS #11 TODOs

* Added check to see if the parsed buffer was a certificate.
* Added macro for magic number for the EC point used in EC public keys.
* Determined byte size of an EC signature on the prime256v1 curve.

* changed test name from OTA_incorrect_wifi_password to OtaTestRollbackIfUnableToConnectAfterUpdate (aws#2279)

Co-authored-by: Yeh <[email protected]>

* PR #2: Fix demo, test project after updating device driver (aws#2236)

* MISRA changes in FreeRTOS_IP.c + Misc. changes (aws#2280)

* FreeRTOP_IP.c changes

* missed a file

* Some More changes

* correction after PR 2236

* PR# 3: Update boot loader for RX65N-RSK (aws#2237)

* Added amazon_freertos_common, boards, rx_driver_package (v125)

Signed-off-by: Dinh Van Nam <[email protected]>

* Update iot_pkcs11_pal.c

Signed-off-by: Dinh Van Nam <[email protected]>

* Updated NetworkInterface.c

Signed-off-by: Dinh Van Nam <[email protected]>

* Fixed aws_demos, aws_tests

Signed-off-by: Dinh Van Nam <[email protected]>

* Removed amazon_freertos_common, boards, FIT, tools in vendors/renesas

Signed-off-by: Dinh Van Nam <[email protected]>

* Added boot loader project for RX65N-RSK

Signed-off-by: Dinh Van Nam <[email protected]>

* PR #4 : Update OTA PAL (aws#2238)

* Added amazon_freertos_common, boards, rx_driver_package (v125)

Signed-off-by: Dinh Van Nam <[email protected]>

* Update iot_pkcs11_pal.c

Signed-off-by: Dinh Van Nam <[email protected]>

* Updated NetworkInterface.c

Signed-off-by: Dinh Van Nam <[email protected]>

* Fixed aws_demos, aws_tests

Signed-off-by: Dinh Van Nam <[email protected]>

* Removed amazon_freertos_common, boards, FIT, tools in vendors/renesas

Signed-off-by: Dinh Van Nam <[email protected]>

* Added boot loader project for RX65N-RSK

Signed-off-by: Dinh Van Nam <[email protected]>

* Added unsupported device for OTA feature in aws_ota_pal.c

Signed-off-by: Dinh Van Nam <[email protected]>

* PR #5: aws_demos and aws_tests for OTA (aws#2239)

* Added amazon_freertos_common, boards, rx_driver_package (v125)

Signed-off-by: Dinh Van Nam <[email protected]>

* Update iot_pkcs11_pal.c

Signed-off-by: Dinh Van Nam <[email protected]>

* Updated NetworkInterface.c

Signed-off-by: Dinh Van Nam <[email protected]>

* Fixed aws_demos, aws_tests

Signed-off-by: Dinh Van Nam <[email protected]>

* Removed amazon_freertos_common, boards, FIT, tools in vendors/renesas

Signed-off-by: Dinh Van Nam <[email protected]>

* Added boot loader project for RX65N-RSK

Signed-off-by: Dinh Van Nam <[email protected]>

* Added unsupported device for OTA feature in aws_ota_pal.c

Signed-off-by: Dinh Van Nam <[email protected]>

* Fixed aws_demos and aws_tests with OTA feature

Signed-off-by: Dinh Van Nam <[email protected]>

* Fix memory leak in pkcs11 implementation. (aws#2302)

* Add warning message to help user debug environment variable related build issues with Espressif CMake. (aws#2304)

* Fix CMake Board Path's Command (aws#2309)

The Renesas manifest file is not in the root of the vendor directory, and causes an error when earching for vendor paths.

To reproduce:
Before merging this commit
` cmake -P tools/cmake/afr_board_paths.cmake`

Expected Output:
cmake_supported_boards.yml created

Actual Output:
CMake Error at tools/cmake/afr_board_paths.cmake:19 (include):
  include could not find load file:

/Users/lundinc/Documents/amazon-freertos/vendors/renesas/manifest.cmake

* Add Mbed TLS macros to the LPC54018 bootloader project (aws#2317)

* Add the MBEDTLS_CONFIG_FILE and CONFIG_MEDTLS_USE_AFR_MEMORY macros
* Add the directory of the AWS Mbed TLS config file to the include path
* Add the Mbed TLS utility directory to the include path

* Add OTA port for rx65n-rsk to CMake files (aws#2315)

* Update the rx65n-rsk CMake files to include a port for the OTA library

* Correct some type defination of battery info and comments (aws#2275)

* Add all common-io peripherals to CMake build system (aws#2308)

* Add all common-io peripherals to CMake build system.

* Arrange tests in order of their dependencies.

* parent 1e3ae78
author David Chalco <[email protected]> 1595882030 -0700
committer David Chalco <[email protected]> 1595965008 -0700

24/24 tests passing. Had to remove a single incorrect test assertion

* Test w/ soft-device disabled and move test address much further past used flash

* Address PR feedback

* Retain perfcounter tests

* Update rx65n CMake file to match folder structure (aws#2321)

Previous commits changed and moved files in the renesas vendor
directory. The paths in the CMakeLists.txt file for renesas was
not updated alongside the file shuffle. This aligns the CMake file
with the current folder structure so that the metadata can build.

* Update iot_test_freertos_tcp.c (aws#2293)

* NimBLE AFR: Set flags for only advertisement data and not for scan response data (aws#2314)

* Removed unnecessary check now that prvMbedTLS_Initialize has a static scope. Added additional guard to prevent freeing the sha256 mbedtls context if an operation was never initialized. (aws#2300)

* Fix non-conformance to mbed TLS pk.h API when hashing a signature. (aws#2311)

* Fix non-conformance to mbed TLS pk.h API when hashing a signature.

* PKCS #11 Doxygen (aws#2326)

* PKCS #11 Doxygen

Fix macros not being included in the doxygen. Add dependency graphs. Various formatting fixes

* Fix/renesas folder structure (aws#2333)

* Move Renesas vendor directory content
* Update rx65n CMakeLists.txt for new folder structure
* Update the board directory in the Renesas manifest
* Fix paths in Renesas demo and test project files

* OTA bug fix (aws#2329)

* Separate OTA control and data cleanup

* Remove an unused variable in OTA agent

* Fix a crash in OTA

* Removes unnecessary checks of OTA agent

* Quarantine part of WiFi tests (aws#2337)

* Quarantine part of wifi tests

* solve the reset issue by return error if the WINC driver is closed (aws#2334)

* Refactor PKCS #11 tests for boards that cannot create new credentials. Eg. for multi-acc registration. (aws#2338)

PKCS 11 Multi Acc Auth

*Removed stdio includes

* Update configurations.xml to fix build errors for MPLABX 5.40 (aws#2346)

* fix: Update configurations.xml to work with MPLABX 5.40

* fix: Update configurations.xml by opening in MPLABX 5.40

* fix: Update all mchp projects to use DFP version 1.2.51

* Change ioctl test case for ADC to use greater than equal. (aws#2354)

* Fix logging issue that is causing start markers to be mangled in Microchip boards

The issue is addressed by defining WDRV_STUB_Print to be configPRINTF rather than SYS_CONSOLE_PRINT.

* Remove wifi dependency from lwip Secure Sockets implementation (aws#2359)

* Proper lwip DNS resolution

* Adding Advertise Tx Power defines (aws#2352)

* Tx Power defines which would be an index to Power values to be set by platforms.

* Update IotThreads_Free/Malloc defaults (aws#2357)

* Fix public key deletion and PKCS #11 tests on Optiga X. (aws#2358)

* Fix public key deletion and PKCS #11 tests on Optiga X.

* Fix: Mediatek wifi_ping fail on zero (aws#2102)

Co-authored-by: Alfred Gedeon <[email protected]>

* Update PSA submodule pointer. (aws#2364)

* Update OTA_AgentShutdown function comment (aws#2377)

* Minor iot_adc.h documentation update. (aws#2368)

* Created sequence diagrams for the PKCS #11 demos. (aws#2362)

They cover the following workflows:
* RNG
* Message Digest Creation
* Importing an object
* Generating a key pair

* OTA E2E test fix (aws#2372)

* Fix some OTA E2E tests

We should start the first OTA update only after we build everything.
Sometimes it takes long time to build and first OTA update could already
finish before we finish the second build and proceed to cancel it.

* Switch to junitparser for OTA E2E

* Add OtaTest2UpdatesCancel1st test case

* Save firmware to afr root folder

When rebuilding, the whole build folder might get deleted. To preserve
the previous build image, copy it to AFR root dir

* Improve demo comment related to IotSdk_Init (aws#2378)

* Added some features to RZ/A2M EBK

- added demos\renesas\rza2m-ebk-uart-esp32.
- added OTA test to tests\renesas\rza2m-ebk.
- added tests\renesas\rza2m-ebk-sx-sdmac.

* Modifed 2 files for not using OTA function.

* modified OTA test settings.

* Modified test settings

* Moved Flash API to lib/third_party/mcu_vendor/renesas/rz_mcu_boards/amazon_freertos_common/Flash.

* Updated drivers.

* Modified RZ/A2M Wi-Fi test.

* Deleted unused files.

* Added GR-MANGO.

* Deleted unused files.

* Switched GR-MANGO project to normal environment (not using ota boot).

* Added GR-MANGO + Wi-Fi(SX-SDMAC) demo project

* Modifed compilation options of GR-MANGO SX-SDMAC demos

* Deleted Debug folders. Added a script to generate bootloader for GR-MANGO.

* [Added] projects for RZ/A2M EBK.

* [Modified] modified projects to avoid compilation errors.

* Modified the return value of PKCS11_PAL_Initialize function.

* Added boot loader to RZ/A2M EBK aws_demos project.

* Added GR-MANGO aws_demos project.

Co-authored-by: vannam.dinh.xt <[email protected]>
Co-authored-by: KosukeFunabashi <[email protected]>
Co-authored-by: HiroakiHashiguchi <[email protected]>
Co-authored-by: HirokiIshiguro <[email protected]>
Co-authored-by: Raymond Ngun <[email protected]>
Co-authored-by: David Chalco <[email protected]>
Co-authored-by: Andrei Narkevitch <[email protected]>
Co-authored-by: Carl Lundin <[email protected]>
Co-authored-by: Prasad Vyawahare <[email protected]>
Co-authored-by: David Chalco <[email protected]>
Co-authored-by: Hein Tibosch <[email protected]>
Co-authored-by: Hein Tibosch <[email protected]>
Co-authored-by: Aniruddha Kanhere <[email protected]>
Co-authored-by: Ming Yue <[email protected]>
Co-authored-by: Carl Lundin <[email protected]>
Co-authored-by: alfred gedeon <[email protected]>
Co-authored-by: Alfred Gedeon <[email protected]>
Co-authored-by: Archit Aggarwal <[email protected]>
Co-authored-by: Ravishankar Bhagavandas <[email protected]>
Co-authored-by: Joshua Yan <[email protected]>
Co-authored-by: Kareem Khazem <[email protected]>
Co-authored-by: SarenaAWS <[email protected]>
Co-authored-by: Gary Wicker <[email protected]>
Co-authored-by: Dinh Van Nam <[email protected]>
Co-authored-by: Jae Young Choi <[email protected]>
Co-authored-by: xuelix <[email protected]>
Co-authored-by: Daniel Wen <[email protected]>
Co-authored-by: Bjoern Lichtblau <[email protected]>
Co-authored-by: Eric Yeh <[email protected]>
Co-authored-by: Yeh <[email protected]>
Co-authored-by: Hex Ren <[email protected]>
Co-authored-by: Prasad Alatkar <[email protected]>
Co-authored-by: Tiangang Song <[email protected]>
Co-authored-by: benpoon-microchip <[email protected]>
Co-authored-by: Oscar Michael Abrina <[email protected]>
Co-authored-by: mohaveen <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant