This repository contains the firmware implementation for our own board. The toolchain
is built in a way so it may also run on other boards, like the FRDM-K82F
or the FRDM-KL82Z*.
You will have to select the specific board when running cmake
(see below).
See the board specific, including pin settings found here:
The firmware project contains some tests that check that the required implementation
for the different boards is working as expected. Check the directory test and flash
the test_firmware
target.
Test output will be displayed on the serial debug console and should look like this:
Testing Board and Firmware: FRDM-KL82Z
- I2C: 0x1c: unknown device detected
I2C : OK
TIMER : OK
RTC : OK
Test finished.
The default is that tests display TEST: OK
or, if failed, just ASSERT ERROR
with some
additional information what went wrong. Informational messages are prefixed with a -
.
Please allow for a little time as some tests require waiting for events to happen. An example is the RTC test, that schedules an interrupt 2s in the future and waits for three seconds to check it has happened.
If not otherwise noted in the individual files, the code in this repository is
Copyright © 2016 ubirch GmbH, Author: Matthias L. Jugel
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.